www.icetips.com  Icetips Utilities Documentation 5/9/2015    

Windows Class: GetControlName

Previous  Top  Next  


Prototype: (Long pFEQ),String

 

pFEQThe Field EQuate label of a control to get the name for.

 

ReturnsReturns a string containing the label of the control.

 

This method uses an undocumented function in the Clarion Runtime Library that returns the label of a control, for example '?String1' or '?MYF:Field1' as a string rather than a numeric value. 

 

Example:

 

ITW  ITWindowsClass

Code

 

LoadControlQ            ROUTINE

Data

Long

Code

 

Loop I = FirstField() To LastField()

  Loc:CQ.Loc:CQName     = ITW.GetControlName(I)

  Loc:CQ.Loc:CQBaseName = ITW.GetBaseControlName(I)

  Add(Loc:CQ)

End

 

 

See also:

GetBaseControlName

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/getcontrolname_window.htm