Changes between Version 69 and Version 70 of Docs/825gen2/Dev/DeveloperNews
- Timestamp:
- 07/01/25 10:13:36 (4 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/825gen2/Dev/DeveloperNews
v69 v70 3 3 == 2025-06-05 Popup selection lists and keypads == 4 4 5 The arm825beta lib825ev has updated CForm features to improve input forms. CFormInput items have new flag FORM_FLAG_POPUP that can be OR'd with FORM_UINT8_SEL and FORM_UINTx_YESNOfields to provide popup selection lists. This allows selecting items without presenting the main on-screen keypad and going out of zoom mode.5 The arm825beta //lib825ev// has updated //CForm// features to improve input forms. //CFormInput// items have new flag //FORM_FLAG_POPUP// that can be OR'd with //FORM_UINT8_SEL// and //FORM_UINTx_YESNO// fields to provide popup selection lists. This allows selecting items without presenting the main on-screen keypad and going out of zoom mode. 6 6 7 FORM_FLAG_POPUP can also be used for inputs FORM_UINTx, FORM_FLOAT, and FORM_DOUBLE to present a popup number pad keypad for numeric entry. FORM_FLAG_POPUP can be used for FORM_STR inputs to present a popup alphanumeric keypad for string input. FORM_FLAG_POPUP can be used with FORM_UINTx_HEXinputs to present a popup hexadecimal keypad for hexadecimal numeric entry.7 //FORM_FLAG_POPUP// can also be used for inputs //FORM_UINTx//, //FORM_FLOAT//, and //FORM_DOUBLE// to present a popup number pad keypad for numeric entry. //FORM_FLAG_POPUP// can be used for //FORM_STR// inputs to present a popup alphanumeric keypad for string input. //FORM_FLAG_POPUP// can be used with //FORM_UINTx_HEX// inputs to present a popup hexadecimal keypad for hexadecimal numeric entry. 8 8 9 Inputs with FORM_FLAG_POPUP will appear similar to CFormButton with the shadow button outline. The default is for the prompt label to show above data item. The flag FORM_FLAG_POPUP_LEFT_PROMPT may be added to specify the prompt text to be left of the data item. The second CFormRect coordinate parameter can be CFormRect::zero for the popup keypad to automatically popup below the input field. The second CFormRect coordinate may be specified to designate where the keypad appears. A helper FORM_POPUP_LEFT_PROMPT combines both (FORM_FLAG_POPUP | FORM_FLAG_POPUP_LEFT_PROMPT).9 Inputs with //FORM_FLAG_POPUP// will appear similar to //CFormButton// with the shadow button outline. The default is for the prompt label to show above data item. The flag //FORM_FLAG_POPUP_LEFT_PROMPT// may be added to specify the prompt text to be left of the data item. The second //CFormRect// coordinate parameter can be //CFormRect::zero// for the popup keypad to automatically popup below the input field. The second //CFormRect// coordinate may be specified to designate where the keypad appears. A helper //FORM_POPUP_LEFT_PROMPT// combines both (//FORM_FLAG_POPUP | FORM_FLAG_POPUP_LEFT_PROMPT//). 10 10 11 11 When a popup selection list or keypad is presented the display items will be slightly grayed except for the selected item and popup. Any touch outside of the popup will dismiss the popup and redraw the form.