Jump to content
uniGUI Discussion Forums

[question] how to get the JsId of a UniForm ?

Recommended Posts

I am testing something in scene of dynamic create Frame/Form .

As a rule,  in one From or Form , we can call jscode  ajaxRequest(sender,"method",[{Params}] ); ,

and respond to delphi procedure AjaxEvent(Sender: TComponent;  EventName: string; Params: TUniStrings); .

sender ==>  Ext.getCmp("id"),     id ==> sender.id  (jscode) .

id of Frame ==> frame.FormRegion.JsId; (pascalcode) .

if we pass id  of target Frame to source Form ,  then we can call  target frame's method  by 




 in source Form .

same thing with Frame and Frame.

id of Form ,I can't get , (but we have form.show(callbackproc) and form.showmodal(callbackproc) ).

So, how to get the JsId of a UniForm ?


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now