Search found 6 matches
- Wed Mar 20, 2024 1:37 pm
- Forum: Coding Questions
- Topic: Disable Zooming
- Replies: 5
- Views: 6422
Re: Disable Zooming
I will add this in for all mobile app, as it makes no sens to zoom/pan an app
And now this is a big pain in applications that need scaling.
You need to make it possible to both enable scaling and disable it. Now we need to implement hacks and this does not work in the Android application on ...
- Sun Mar 10, 2024 1:39 am
- Forum: Coding Questions
- Topic: Resize event in container gadgets
- Replies: 4
- Views: 4980
Re: Resize event in container gadgets
After some thought, I managed to bind #PB_EventType_Resize to the container gadgets. Generic example:
CompilerIf Not Defined(WBN_Handler_Canvas_Container, #PB_Constant)
#WBN_Handler_Canvas_Container = #True
!window.spider_CanvasGadget = new Proxy( window.spider_CanvasGadget, {
! apply(target ...
CompilerIf Not Defined(WBN_Handler_Canvas_Container, #PB_Constant)
#WBN_Handler_Canvas_Container = #True
!window.spider_CanvasGadget = new Proxy( window.spider_CanvasGadget, {
! apply(target ...
- Sat Mar 09, 2024 12:36 am
- Forum: Coding Questions
- Topic: Parent child, previous, next gui object.
- Replies: 0
- Views: 10944
Parent child, previous, next gui object.
For SpiderBasic, I'm creating an algorithm similar to Dock positioning. And here I need GetParent, SetParent(Object). And also PrevObject and NextObject.
The question is how to understand the structure of parent and child objects, because the spider.window and spider.gadget objects are parallel in ...
The question is how to understand the structure of parent and child objects, because the spider.window and spider.gadget objects are parallel in ...
- Sat Mar 09, 2024 12:22 am
- Forum: Coding Questions
- Topic: Resize event in container gadgets
- Replies: 4
- Views: 4980
Re: Resize event in container gadgets
Looks like a SB bug.
The following event is supported through EventType():
#PB_EventType_Resize: The gadget has been resized.
But the constant is missing:
Debug #PB_EventType_Resize
Tested on SB 2.51 arm64
In the SpiderBasic documentation, #PB_EventType_Resize only exists for ...
- Fri Mar 08, 2024 11:52 pm
- Forum: Feature Requests and Wishlists
- Topic: Resize event in container gadgets
- Replies: 0
- Views: 13306
Resize event in container gadgets
It is not clear to me why the #PB_EventType_Resize event was removed from ContainerGadget, PanelGadget, ScrollAreaGadget, CanvasGadget?
This is very necessary!
Enumeration
#Container1
#Container2
#Button
#Splitter
EndEnumeration
Procedure _EventResizeContainer()
Protected EvType = EventType ...
This is very necessary!
Enumeration
#Container1
#Container2
#Button
#Splitter
EndEnumeration
Procedure _EventResizeContainer()
Protected EvType = EventType ...
- Mon Mar 04, 2024 11:08 pm
- Forum: Coding Questions
- Topic: Resize event in container gadgets
- Replies: 4
- Views: 4980
Resize event in container gadgets
It is not clear to me why the #PB_EventType_Resize event was removed from ContainerGadget, PanelGadget, ScrollAreaGadget, CanvasGadget?
This is very necessary!
Enumeration
#Container1
#Container2
#Button
#Splitter
EndEnumeration
Procedure _EventResizeContainer()
Protected EvType = EventType ...
This is very necessary!
Enumeration
#Container1
#Container2
#Button
#Splitter
EndEnumeration
Procedure _EventResizeContainer()
Protected EvType = EventType ...