Jump to content

How to set Form width?


Recommended Posts

Hi all.

Can some tell me how can I from Js set some

properties for my form?

For example:


myform.width = 100;



But not in delphi code, I will do this

in some ExtEvents ... directly from Js.


In ExdtJs documentation I not find some

methods for forms :(




Link to comment
Share on other sites

  • Administrators

Client side window property of UniForm is defined by uniGUI not Ext JS. It is an Ext JS Ext.Window object.


Some of uniGUI controls are associated with more than one Ext JS objects.


You can open ClientEvents->ExtEvents to see them.


In attached pics UniForm wraps two Ext JS objects: window and form


window = Ext.Window

form = Ext.form.FormPanel


You can refer to Sencha Ext JS docs to see what methods and properties Ext.Window and Ext.form.FormPanel have.





Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...