Table of Contents

The CTRLMAP Property (Functions/Subroutines/Programs)

Created at 15 SEP 1997 03:42PM

The CTRLMAP is a property of the window, which returns an @FM delimited list of all the control identifiers for the specified window, including the menu.  What is also useful about this property is the list that is returned orders its contents by the tab order, allowing the user another way to manipulate controls in conjunction with using the tab order.

 

You can also use the values you get from the CTRLMAP function in calls to Get and Set_Property.

 

EXAMPLE:

(in some stored procedure, like a button click)

Declare Function Get_Property, Set_Property

 

                Map = Get_Property(@WINDOW,  CTRLMAP )

               

* assuming the first control in the tab order has a TEXT property

rslt = Set_Property(Map<1>,  TEXT ,  Change Me )

 

RETURN 0