Navigation:  Reference > Functions >

GetFormName()

Print this Topic Previous pageReturn to chapter overviewNext page

GET_FORM_NAME()

PURPOSE

This function returns the name of the currently active form/screen.

NO OTHER PARTS

RETURN TYPE - A

If the receiving field is too short, the remaining characters will be truncated.

COMMENTS

To access an object on the screen during runtime you must have the name of the object.  In all other cases you know what the name is during design.  However, the name of the form itself is determined when it is loaded.  Use this function to get the name of the active form.  For properties on the form that can be accessed during runtime refer to TTASForm.

EXAMPLE

define x type a size 20

x = GET_FORM_NAME()

// x = 'EditForm1'

 

 

SEE ALSO

FORM_PTR()

 

 


Page url: http://www.cassoftware.com/tas/manual/getformname().htm