Top  >  Lycia reference  >  Querix 4GL  >  Classes and Methods  >  ui classes and methods  >  ui.Form methods  >  ui.Form.getWidth()

ui.Form.getWidth()

variable.GetWidth()

This method is used with a variable of the FORM data type to retrieve the width of the form in columns. It takes no parameters and returns the information about the form associated with the variable.

To be able to use this method, you need to use the same variable with the ui.Form.Open() or ui.Window.GetForm() methods first. It returns an integer specifying the number of columns in the form SCREEN section.

CALL form_v.GetWidth()

The method will work only if

 

QX_COMPAT=Informix4GL