jahlxx Posted October 14, 2016 Share Posted October 14, 2016 Hi. How can I control the screen resize in run-time? I can't find a sample that can clarify me the usage of onscreen resize. Thanks. Link to comment Share on other sites More sharing options...
Sherzod Posted October 14, 2016 Share Posted October 14, 2016 Hi, MainForm -> onScreenResize event ..? Link to comment Share on other sites More sharing options...
jahlxx Posted October 14, 2016 Author Share Posted October 14, 2016 Yes, I'm trying, but can't control when a screen in changes from portrait to landscape. Link to comment Share on other sites More sharing options...
jahlxx Posted October 14, 2016 Author Share Posted October 14, 2016 maybe in uniservermodule, set mainform to mfpage? I'm trying too, but get the error: O0.el is undefined. any idea? Link to comment Share on other sites More sharing options...
Sherzod Posted October 14, 2016 Share Posted October 14, 2016 For mobile.. ? If so, can you try this?: MainmForm -> ClienEvents -> ExtEvents -> function window.orientationchange: function window.orientationchange(eOpts) { } Link to comment Share on other sites More sharing options...
jahlxx Posted October 14, 2016 Author Share Posted October 14, 2016 Ok. DD, I'll test your solution later, thanks. Changing mainform to mfpage, the error was for this, in the onshow of the mainform. UniSession.AddJS(WebForm.JSName + '.el.setStyle({"border": "solid 5px #2B3610"});'); Removing this line, it works as I need, but I lose the form border, it's caption, etc. Any Idea? Link to comment Share on other sites More sharing options...
jahlxx Posted October 17, 2016 Author Share Posted October 17, 2016 Any way to force form border and caption when form is mfpage? Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now