Search found 10 matches

by Webarion
Mon Dec 01, 2025 4:53 am
Forum: General Discussion
Topic: SpiderBasicIDE + TabBarGadget
Replies: 2
Views: 61201

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 ...
by Webarion
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: 55050

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 ...
by Webarion
Tue Nov 25, 2025 11:37 pm
Forum: Coding Questions
Topic: LibraryMaker.exe?
Replies: 10
Views: 22707

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:

Code: Select all

CreatePerson(0, "Paul", #Person_Group_Developer)
by Webarion
Sun Nov 23, 2025 2:40 am
Forum: Feature Requests and Wishlists
Topic: Getting parent object information in the GUI
Replies: 0
Views: 17905

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 ...
by Webarion
Wed Mar 20, 2024 1:37 pm
Forum: Coding Questions
Topic: Disable Zooming
Replies: 5
Views: 7523

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 ...
by Webarion
Sun Mar 10, 2024 1:39 am
Forum: Coding Questions
Topic: Resize event in container gadgets
Replies: 4
Views: 6916

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 ...
by Webarion
Sat Mar 09, 2024 12:36 am
Forum: Coding Questions
Topic: Parent child, previous, next gui object.
Replies: 0
Views: 15705

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 ...
by Webarion
Sat Mar 09, 2024 12:22 am
Forum: Coding Questions
Topic: Resize event in container gadgets
Replies: 4
Views: 6916

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 ...
by Webarion
Fri Mar 08, 2024 11:52 pm
Forum: Feature Requests and Wishlists
Topic: [Implemented] Resize event in container gadgets
Replies: 0
Views: 17572

[Implemented] 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 ...
by Webarion
Mon Mar 04, 2024 11:08 pm
Forum: Coding Questions
Topic: Resize event in container gadgets
Replies: 4
Views: 6916

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 ...