Search found 12 matches
- Mon Dec 01, 2025 4:53 am
- Forum: General Discussion
- Topic: SpiderBasicIDE + TabBarGadget
- Replies: 2
- Views: 39723
Re: SpiderBasicIDE + TabBarGadget
Due to the fact that the source code is open, I compiled SpiderBasic with black tabs and made changes to the Language.pb file to make the window menu and compiler settings in my native language. See here
My standard files were always picked up automatically, I just needed to adjust a few things ...
- Wed Nov 26, 2025 10:55 pm
- Forum: Feature Requests and Wishlists
- Topic: About the new native notification library for mobile apps...
- Replies: 9
- Views: 30931
Re: About the new native notification library for mobile apps...
Notifications seems to be a dead thing on browser, in firefox even their example here https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API requiers to change an hidden setting to allow notification. I didn't seen one for like years now
According to the ...
- Tue Nov 25, 2025 11:37 pm
- Forum: Coding Questions
- Topic: LibraryMaker.exe?
- Replies: 10
- Views: 7828
Re: LibraryMaker.exe?
LibraryMaker is a good tool for creating libraries.
I just can’t find anywhere how to create constants associated with the library so that the user can use these constants. For example:
I just can’t find anywhere how to create constants associated with the library so that the user can use these constants. For example:
Code: Select all
CreatePerson(0, "Paul", #Person_Group_Developer)- Sun Nov 23, 2025 3:20 am
- Forum: Bugs Reports
- Topic: [Done] SB3.10 The #PB_EventType_Resize event for ScrollAreaGadget does not work
- Replies: 2
- Views: 945
Re: SB3.10 The #PB_EventType_Resize event for ScrollAreaGadget does not work
Temporary patch until this is resolved:
Define PB_EventType_Resize = #PB_EventType_Resize
Define ScrollAreaGadgetType = #PB_GadgetType_ScrollArea
!var orig_BindGadgetEvent = window.spider_BindGadgetEvent;
!window.spider_BindGadgetEvent = function(gadgetID, callback, eventType) {
! orig ...
Define PB_EventType_Resize = #PB_EventType_Resize
Define ScrollAreaGadgetType = #PB_GadgetType_ScrollArea
!var orig_BindGadgetEvent = window.spider_BindGadgetEvent;
!window.spider_BindGadgetEvent = function(gadgetID, callback, eventType) {
! orig ...
- Sun Nov 23, 2025 2:40 am
- Forum: Feature Requests and Wishlists
- Topic: Getting parent object information in the GUI
- Replies: 0
- Views: 1227
Getting parent object information in the GUI
The lack of parent object information for gadgets is really frustrating. For instance, having functions like:
GetGadgetParent(#Gadget)
GetGadgetParentType(#Gadget)
This additional data would greatly help in developing extra features. Right now, I have to hook into some functions to track and log ...
GetGadgetParent(#Gadget)
GetGadgetParentType(#Gadget)
This additional data would greatly help in developing extra features. Right now, I have to hook into some functions to track and log ...
- Sun Nov 23, 2025 2:20 am
- Forum: Bugs Reports
- Topic: [Done] SB3.10 The #PB_EventType_Resize event for ScrollAreaGadget does not work
- Replies: 2
- Views: 945
[Done] SB3.10 The #PB_EventType_Resize event for ScrollAreaGadget does not work
For other container gadgets, this has been fixed, but still does not work for ScrollAreaGadget:
Debug "#PB_EventType_Resize = " + #PB_EventType_Resize
Procedure _EventGadget()
Debug "EventType " + EventType()
EndProcedure
Procedure _EventWindow()
ResizeGadget( 0, 10, 10, WindowWidth(0)-20 ...
Debug "#PB_EventType_Resize = " + #PB_EventType_Resize
Procedure _EventGadget()
Debug "EventType " + EventType()
EndProcedure
Procedure _EventWindow()
ResizeGadget( 0, 10, 10, WindowWidth(0)-20 ...
- Wed Mar 20, 2024 1:37 pm
- Forum: Coding Questions
- Topic: Disable Zooming
- Replies: 5
- Views: 7087
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: 6040
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: 13701
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: 6040
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 ...