Thanks John for your answer.

 I have supposed that when we informe the area " DataSource" and "DataField" of the 
dListBox or DropListBox the list was informed automaticaly. I was wrong, I did an essay quickly this morning, 
the list is empty. But I am reading in the pdf' tutoral the section about  "Populating the Client 
List".
I think that is exactly that I look after  and in the day I am going to follow 
this exemple. If I don't understand I'll come back in the dabo-users 's list.

Write you soon,

Regards

Bruno

Listboxes (dDropdownlist is the easiest) work differently than the other
controls.  You can't simply provide a datasource and a field name and
see the results. You have to populate the "Choices" paramenter.

Something like this.

dabo.ui.dDropdownList(self, ValueMode = 'string',  Choices =
['one','two','three'] , Keys = [1,2,3], RegID = 'someID')

Of course you would normally retrieve the data from a datasource.

Note.  Try looking a script dDropdownList.py

Normally I would provide you with a link to the wiki - but it appears to
be down.

Johnf



--- StripMime Report -- processed MIME parts ---
multipart/alternative
 text/plain (text body -- kept)
 text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to