jahlxx Posted October 14, 2016 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. Quote
Sherzod Posted October 14, 2016 Posted October 14, 2016 Hi, MainForm -> onScreenResize event ..? Quote
jahlxx Posted October 14, 2016 Author Posted October 14, 2016 Yes, I'm trying, but can't control when a screen in changes from portrait to landscape. Quote
jahlxx Posted October 14, 2016 Author 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? Quote
Sherzod Posted October 14, 2016 Posted October 14, 2016 For mobile.. ? If so, can you try this?: MainmForm -> ClienEvents -> ExtEvents -> function window.orientationchange: function window.orientationchange(eOpts) { } Quote
jahlxx Posted October 14, 2016 Author 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? Quote
jahlxx Posted October 17, 2016 Author Posted October 17, 2016 Any way to force form border and caption when form is mfpage? Thanks. Quote
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.