Changes between Version 20 and Version 21 of Docs/825gen2/Dev/UpdatingLegacyAppsToNewLook
- Timestamp:
- 02/08/24 15:22:16 (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/825gen2/Dev/UpdatingLegacyAppsToNewLook
v20 v21 215 215 }}} 216 216 217 In the above example notice after FORM_INIT the function SetupInputFormToUseFontSet. This gives the form a pointer to the fonts that were initialized previously. The function also sets the starting positions of the rect, and rectInp rectangles that are used to define where to show the prompts and input fields. The final parameter is a string that to used to determine the width of the prompts. This should be the longest prompt text in the form. The AdvanceInputRects function call is used between FORM_ADD_INPUTS to move the rect and rectInp down an appropriate amount for the next input. 217 218 218 219 {{{