Mobile UI can be showed in a window?
Mobile UI can be showed in a window?
I want to use MobileUI, but not at fullscreen. It's possible?
Re: Mobile UI can be showed in a window?
This should work:
Code: Select all
[HereIsYourMobileUICode]
Procedure moveMobileToWindow(WindowId)
! $("body").children().each(function() {
! if (this.tagName.toLowerCase().startsWith("ons")) {
! $(spider_WindowID(v_windowid).contentFrame).append($(this));
! }
! });
EndProcedure
OpenWindow(99, #PB_Ignore, #PB_Ignore, 600, 800, "Look, i'm a window with mobile content!", #PB_Window_ScreenCentered | #PB_Window_SystemMenu)
moveMobileToWindow(99)
Re: Mobile UI can be showed in a window?
Wow! 
I'm learning a lot of things!
Thnaks!

I'm learning a lot of things!
Thnaks!

-
- Posts: 332
- Joined: Fri Sep 22, 2017 7:02 am
Re: Mobile UI can be showed in a window?






Peter! How can you find out such internal information? Great!
Re: Mobile UI can be showed in a window?
Probably an insane amount of reading the generated javascript, plus general intelligence. Regardless, it's incredibly impressive.Dirk Geppert wrote: Sun Oct 13, 2024 9:56 am![]()
![]()
![]()
![]()
![]()
![]()
Peter! How can you find out such internal information? Great!