Hi again Ed, > How did a dropdown list get a Name like 'dTextBox6'? ;-)
It does if you copy the declaration of a dTextBox and forget to change it :-D I'm using class designer to generate the initial mockup of the forms and changing/editing the cdxml and -code.py files by hand..., i have lots of similar forms so i find this method faster, it also gives me a greater grip of what is going on behind.... ClassDesigner is great...but nothing beats good old vim, sorry :-P As for the combobox problem, i eventually figured it out, with the help of the wiki link you gave me.... I suggest a change in the wiki referring the fact you must add code to the afterInit method... It is obvious now how it works, but i was looking for a way to let the combobox do the "dirty work", something like this: dCombobox.Query = "SELECT id, name FROM mytable" dCombobox.BoundColumn = 0 or dCombobox.listDataSet = listDataSet dCombobox.BoundColumn = 0 so i found it quite strange to have to load Choices and Keys by hand.... when i saw that getAvailableTypes was not an overwritten method as i initially considered it was quite obvious how things should work, sorry for wasting your time... BTW, i used the form's afterInitAll method, not the combobox afterInit, works like a charm.... Once again thanks for your time, and consider that wiki change if you will :P Pedro Vale de Gato _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
