delagoutte Posted July 11, 2017 Share Posted July 11, 2017 for sample , if i add on my mainform the extevent mainform.ClientEvents.ExtEvents Ext.window.Window : function window.activate(sender, eOpts) { alert('activated'); } if i am in mode mfWindow i have the messagebox but if i am not in mode mfPage i do'net have the messagebox. How can i do for having the messagebox in mfpage when my mainform is activate ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 11, 2017 Share Posted July 11, 2017 Hi, And what if you will use MainForm -> OnActivate ? Best regards, Quote Link to comment Share on other sites More sharing options...
delagoutte Posted July 11, 2017 Author Share Posted July 11, 2017 it is not specially for the activate event but for all extevent. I have a problem in this ticket : http://forums.unigui.com/index.php?/topic/4154-azzurra-theme-from-unigui/&do=findComment&comment=44737 And i try to understand why it is not working in mfpage mode. I think the reason is that the mainform is not a Ext.window object but what does the ext.window object replace in mfpage? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 11, 2017 Administrators Share Posted July 11, 2017 Windows object is not visible in page mode. You need to use the form object instead. Quote Link to comment Share on other sites More sharing options...
delagoutte Posted July 12, 2017 Author Share Posted July 12, 2017 i tried to use clientevent->extevents->Ext.form.Panel function form.activate(sender, eOpts) { alert('Formactivated'); } But nothing : no message box Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.