Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Code Samples
  New Posts New Posts RSS Feed - Performance for Grids and Moves
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedPerformance for Grids and Moves

 Post Reply Post Reply
Author
Message
SeanC View Drop Down
Newbie
Newbie


Joined: July 06 2021
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote SeanC Quote  Post ReplyReply Direct Link To This Post Topic: Performance for Grids and Moves
    Posted: October 08 2021 at 2:52pm
TLDR: Formatted like an included AT feature, A subroutine to set Grid properties and set values in the same subroutine call and another to move or resize multiple controls in one call.

For a complicated form, the performance difference is significant. These are modified versions of the built in functions

ATGUISETGRIDPROPS - the ATGUISETPROPS subroutine with col and row optional parameters added; able to set grid colors and values with the same call for example; brings the same capability as ATGUISETPROP to a multi property call.

ATGUIMOVES - the ATGUISETMOVE subroutine with multi property call ability added.

Demo of the above:
GRID.TUTOR.MULTI - the GRID.TUTOR demo modified to support form and control resizing/reposition via a single ATGUIMOVES call; All values and properties (color etc) set with a single call to ATGUISETGRIDPROPS; middle grid (GRID2) inverts the grid row if clicked as an example of a way to indicate the selected row to a user (I use that as an indicator when one grid controls another)

DEMOBP -> DEMOMENU and DEMOMENU.GUI - The demo menu with the above grid demo added

uploads/1657/AT_subs_MOVES_GRIDPROPS_demo_GRID_TUTOR_MULTI.zip
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.