Combobox difference in newer versions of nsbase
NSBase is a database management system.
Brought to you by:
neuts-jl
Dear surfvite,
It seems to be that putting a combobox on a form in the latest versions has another behavior then before.
They are always greyed-out and filling it with data from another table (using loadComponentListFromTable) will not work.
So I decided to remove the new combobox, make a copy of one from an older form and paste it in the new form, that was the trick, it works like a charm.
Has this been noticed by more people?
Looking forward to hear.
Kind regards
Jan
Anonymous
The component is the same, you have to act on the style of the property, set it to csSimple, then csDropdown to find a previous situation
I take this bug into account
Where is the loadComponentListFromTable function ???
Dear surfvite,
Thanks for your reply on my question
I'd make a little test program with your recommandations and that is working.
The loadComponentListFromTable function is a function in the form, created by the wizard.
Filling the combobox with the earlier selected data is only working after the procedure csSimple and then csDropdown.
Regards,
Jan
I forgot to send a screenshot of the code, please find herewith.
Hello
There is only one type of "combobox" component
Copy / paste does not bring back an old component, because there is none.
The "ReadOnly" property is now activated by default, you just have to deactivate it and everything should go back to normal.
I will see to set it by default to false (and why) in the next version.
Cordially