Changes between Version 20 and Version 21 of Docs/825gen2/Dev/UpdatingLegacyAppsToNewLook


Ignore:
Timestamp:
02/08/24 15:22:16 (10 months ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/825gen2/Dev/UpdatingLegacyAppsToNewLook

    v20 v21  
    215215}}}
    216216
     217In 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.
    217218
    218219{{{