As of the release of Clarion 6, the PD Drops will provide a collection of drop list libraries:
File Drop and Drop Combo
Lookup control templates and libraries.
AltDown button activates the drop list.
Scroll the list in the field with the Up or CtrlUp and Down or CtrlDown keys. The Drop Combo fills out the entry field with the closest matching record as the user types. Related hot fields may be displayed with each record change.
Allows not in file entries.
Allows add, change, or delete ith a popup menu or hot keys.
Variable message caption and text in an update message.
Drop From Class Library (Source Code)
Adds fixed values to items in a C5 or C55 drop list using a string FROM attribute. Like a Radio Buttons in an Option control, values returned by the drop may differ from what is displayed. When applications are internationalized, it extends the value element now available in C55.
Benefits Include:
- Screen Space. A drop use less screen space than an OPTION with RADIO buttons with VALUEs.
- Numeric and Abbreviated Values. Drops can have abbreviated string or numeric values different from their what is displayed.
- Retain String Dependent Code. You can retain string dependent code even if drops are translated.
- Limit Translation to Display String Only. Translation can be limited to the display string without including the value in the translation file. This both safer and requires fewer translations.