In the case of websites, the vertical mobile version usually features touch orientation, the horizontal desktop version features mouse support.
No wonder Microsoft had to do something with Windows 8 - just to have it rebuild to mouse conditions again.
A good app should feature both versions - a high res mouse studio and a zoomed touch environment alike. On desktops the orientation will always be square/widescreen, so the gui has to be rethough for touch primitivity.
In SpiderBasic the screen orientation can decide for the input method to support.
I am looking for examples or excerpts on apps created with that kind-of thought. Did you create bi-orientation apps on PB or SB?
Touch or Mouse
-
- Addict
- Posts: 1060
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Re: Touch or Mouse
No examples That I can provide except little windows created from PB help as this sample taken directly from help.es_91 wrote: Fri Aug 23, 2024 9:22 pm In the case of websites, the vertical mobile version usually features touch orientation, the horizontal desktop version features mouse support.
I am looking for examples or excerpts on apps created with that kind-of thought. Did you create bi-orientation apps on PB or SB?
Code: Select all
#Main = 0
#MDIChild = 1
If OpenWindow(#Main, 0, 0, 400, 300, "MDIGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered | #PB_Window_SizeGadget | #PB_Window_MaximizeGadget)
If CreateMenu(#Main, WindowID(#Main))
MenuTitle("Menu index 0")
MenuTitle("MDI windows menu")
MenuItem(0, "self created item")
MenuItem(1, "self created item")
MDIGadget(0, 0, 0, 0, 0, 1, 2, #PB_MDI_AutoSize)
AddGadgetItem(0, #MDIChild, "child window")
; add gadgets here...
UseGadgetList(WindowID(#Main)) ; go back to the main window gadgetlist
EndIf
Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow
EndIf
Maybe older or cheaper machines have hardware issues to prevent operation.
Portrait or landscape should not be a factor of operation.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.