By default, unigui does not have a control of values associated with DBComboBox items.


We can then use a RadCORE attribute:


sintax: cbbx:{v1,v2...vn}


Any screen inherited from "frmBaseCRUD" will be able to use this feature.


HOW TO USE


This parameter will be dynamically created, just fill in the dbcombobox items as follows:


Item|Value


Ex:


Física|F

Jurídica|J


The loading and updating process is the responsibility of the function "rc_UpdateDBComboBox"***




Originally the update is linked to the BEFORE POST Event, so this option is to be used, if you wish, in exchange for the "btnSaveRegClick"


for more details, see the "frmCadCLIENTS" example.





*** function originally developed and provided by mr. Josaurus ( RadCORE user )

Created with the Personal Edition of HelpNDoc: Easily create Qt Help files