MultiValue Tools

 View Only
  • 1.  Accuterm Whole Hog

    Posted 01-25-2023 15:46
    I've reached the point of presenting a list of maintenance schedule
    option check boxes for constructing a work order for a vehicle. I would
    like to present the user with a window sized to the number of scheduled
    items for the vehicle which may range up to 20. The only way I see to
    do this is to ATGUICREATEFORM or ATGUICREATEFRAME2 within the program to
    control HEIGHT. Does it make any difference which or is there a way to
    do this from a GUI created form?
    Dale


  • 2.  RE: Accuterm Whole Hog

    Posted 01-25-2023 17:42
    Hi Dale,
    You can do virtually anything at runtime - you just have to use your imagination a bit. For example, I allow users to resize forms (including a maximise option). So, that runs the resize event, and then you need to resize all the controls within the form so the form doesn't look silly.

    In this case, I think the best way to present a variable number of checkboxes is either within a grid (2 columns - name and checkbox); or within a list control (where AccuTerm provides the checkbox alongside each list item). Both of those allow scrolling of the active area - or you can resize the form and stretch the controls to match.

    Hope that helps.

    Brian

    ------------------------------
    Brian Speirs
    Senior Analyst - Information Systems
    Self Registered
    Wellington NZ
    ------------------------------