Platform drop-down selection setting item
Add drop-down list options for drop-down selection parts and set whether option content is read-only.
In Event Management--Load Events for the form, set drop-down options for drop-down selection parts:
Then add the following code to the event management--control--drop-down selection value change event: (Get key value of drop-down option, display value)
Operation effect:
Note: Through the application of this example, we find that if you use the drop-down selection component method "Setting Item" packaged in the platform to set the option content for the drop-down selection component, then the key value of the drop-down option is: 0... n-1, the display value is: the corresponding value of the setting.
Description: If you use the drop-down selection component method "Set Data Source" packaged in the platform to set the option content for the drop-down selection component, the key value of the drop-down option is: Column 1 queried by SQL statement, and the display value is: Column 2 queried by SQL statement.
Original address: http://bbs.delit.cn/thread-1082-1-1.html
Please indicate the source:
Written by Metrology www.delit.cn