ui.Window.CreateForm()

The method is used to create an empty form. This form is then displayed in the associated window. If the window had a form before that, the old form is replaced with the new empty one. The methods accepts a single parameter of a character data type that is the name of the created form. It returns a variable of the ui.Form type. If the form name set as a parameter is already used for another form in this application, the method returns NULL and does not create anything.

DEFINE wo ui.Window,

DEFINE fo ui.Form

OPEN WINDOW w1 AT 2,2 WITH 10 ROWS, 50 COLUMNS

LET wo = ui.Window.ForName("w1")

LET fo = wo.createForm("newform")

All the file names you use in your 4gl development must be platform-independent.

If you use platform-dependent names (e.g., combine upper and lower case, use colons, finish names with a full stop, etc.), please remember that they might cause different problems when you move your project to another platform.

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.