Get the App
SLTechnology News&Howtos  ›  Database  › 

Platform drop-down selection setting item

Shulou Source: shulou.com Published: 2022-06-01 08:08:56 09月30日 Update

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

Tags: Drop-down selection part event key content platform method statement Encapsulation query Management Code Source original text address instance Control effect data Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology MySQL vpn NVidia Linux