_ Dan _ wrote:
>         for record in result:
>            
> self.text_ctrl_listar.AppendText(record[0])
> 
> The results are shown in the text window as:
> Name1Name2
> 
> And what I really want to do is something like this:
> Name1
> Name2

Looks like you need some newlines:
  self.text_ctrl_listar.AppendText(record[0])
  self.text_ctrl_listar.AppendText('\n')

Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to