RobYost Posted November 22, 2017 Share Posted November 22, 2017 Could you add a parameter you could pass when calling a UniGUI program that will force Desktop or Mobile when soAutoPlatformSwitch is set to True? I would like to set soAutoPlatformSwitch to true, but in the mobile app, I would like a way to be able to ForceDesktop, because the mobile version does not have all the features that the desktop version does, so the user may want to switch to the desktop version for a while on the mobile. I tried doing this myself with a "?ForceDesktop" parameter and it does work, but if I use URLRedirect in the loginFormCreate I get an error. So I have to put a timer in the login form and do the redirect after a few milliseconds. This pops up the login form, and I don't like using timers this way. Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted November 23, 2017 Share Posted November 23, 2017 Hello RobYost, "...be able to ForceDesktop, because the mobile version does not have all the features that the desktop version does...." Here is in attachment a testCase, very simple. Just put sAutoPlatform = False Best regards Hybrid.zip Quote Link to comment Share on other sites More sharing options...
RobYost Posted November 23, 2017 Author Share Posted November 23, 2017 Thanks, I've tried it this way, but with this solution, if you click login from my website and you are on a phone you will get the desktop version, from there you would have to click phone version. I wanted a solution that could both auto platform switch and allow the user to switch to a different platform. Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted November 24, 2017 Share Posted November 24, 2017 Hello, Can you try this : http://forums.unigui.com/index.php?/topic/9564-soautoplatformswitch-demo/&do=findComment&comment=49601 Best regards 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.