HANDLE_FORM()

HANDLE_FORM(T)

RETURNS THE HANDLE OF A FORM (PANORAMIC OR NOT) THE TITLE (CAPTION) OF WHICH IS KNOWN

  • Type: Function
  • Parameter: 1
  • Group: System

ACTION

The function HANDLE_FORM(T) returns the handle of a FORM (PANORAMIC or not) the title T (caption) of which is known.

If the FORM does not exist, or if there is no FORM with T as caption, the result is 0.

The handle is the number given by the operating system (Windows) to an object.

SYNTAX: Result=HANDLE_FORM(T)

  • T = string

USE

  • The function HANDLE_FORM() is used to know the handle of a FORM the title T of which is known

ERROR

  • If T is not a correct string expression.

EXAMPLE

form 1

left 1,100

caption 1,"Form 1"

caption 0,handle_form("Form 1")

SEE ALSO

FORM

CAPTION