Search found 884 matches

by Peter
Thu Jan 04, 2024 2:59 pm
Forum: Coding Questions
Topic: Question about using Events.
Replies: 5
Views: 1706

Re: Question about using Events.

Code: Select all

BindEvent(#PB_Event_Gadget, @Handler2())

;)

// Edit: munfraid has won the race :)
by Peter
Thu Dec 21, 2023 9:52 pm
Forum: Feature Requests and Wishlists
Topic: Tauri support
Replies: 5
Views: 2244

Re: Tauri support

I will have a look into Neutralinojs, but don't want to install another build system. Already have plenty of them :-/ Yes, of course that's your decision. I just wanted to point out that NeutralinoJs is, in my humble opinion, a simpler system than Tauri. Here are the file sizes with a HelloWord sam...
by Peter
Thu Dec 21, 2023 6:32 pm
Forum: Feature Requests and Wishlists
Topic: Tauri support
Replies: 5
Views: 2244

Re: Tauri support

Tauri requires Rust to be installed. I don't like that very much. The system also seems to me to be more extensive and complicated than it should be.

I would rather recommend the lightweight Neutralinojs.
by Peter
Fri Oct 13, 2023 10:21 am
Forum: Javascript
Topic: Babylon.js
Replies: 67
Views: 311506

Re: Babylon.js

Do you have an idea what I need to adjust? so that it also runs under 2.5? change line 4 in particle.sbi from: !var particleSystem = new BABYLON.ParticleSystem(v_name, v_maxnumberparticles, v_scene); to: !var particleSystem = new BABYLON.ParticleSystem(v_name, v_maxnumberparticles, g_scene); and ch...
by Peter
Wed Oct 11, 2023 10:56 am
Forum: Javascript
Topic: Babylon.js
Replies: 67
Views: 311506

Re: Babylon.js

Norbert wrote: Wed Oct 11, 2023 4:23 amWhat would I have to adjust so that the examples also run under spiderbasic 2.5?
change line 8 in engine.sbi from:

Code: Select all

  !require([bjs$v_bjsenginepath + "/babylon.custom.js"], 
to:

Code: Select all

  !require([bjs$g_bjsenginepath + "/babylon.custom.js"], 
by Peter
Sat Sep 30, 2023 9:01 am
Forum: General Discussion
Topic: SpiderBasic 2.51 is available
Replies: 17
Views: 46743

Re: SpiderBasic 2.51 is available

Oh, that was unexpected. Thanks for the update! Image
by Peter
Fri Sep 29, 2023 5:54 pm
Forum: Coding Questions
Topic: Mouse over gadget
Replies: 14
Views: 18735

Re: Mouse over gadget

Did you really test it with an imagegadget? I don't see it. It should be clear that I don't test all gadget types in order to offer you a free solution. To be honest, I don't find your expectations reasonable. For this reason, this is my last post in this thread. Procedure AddMouseOverAndMouseLeave...
by Peter
Fri Sep 29, 2023 2:45 pm
Forum: Coding Questions
Topic: Mouse over gadget
Replies: 14
Views: 18735

Re: Mouse over gadget

I have since discovered that it is due to the command: "usegadgetlist(#window)" and "closegadgetlist()" that I use. you mean Open GadgetList() and CloseGadgetList()? But anyway. No matter if OpenGadgetList() or CloseGadgetList() or UseGadgetList(): It works Enumeration Windows #...
by Peter
Fri Sep 29, 2023 11:44 am
Forum: Coding Questions
Topic: Mouse over gadget
Replies: 14
Views: 18735

Re: Mouse over gadget

For individual gadgets: Enumeration Windows #Window1 #Window2 EndEnumeration Enumeration Gadgets #Window1_Button1 #Window1_Button2 #Window2_Button1 #Window2_Button2 EndEnumeration Procedure MouseOver(Element) Protected GadgetID ! v_gadgetid = v_element.target.GadgetID Debug "MouseOver GadgetID:...
by Peter
Fri Sep 29, 2023 9:25 am
Forum: Coding Questions
Topic: Mouse over gadget
Replies: 14
Views: 18735

Re: Mouse over gadget

Where do I have to put this? The forEach loop iterates over all created gadgets that SpiderBasic stores in an internal list. You can run it whenever you have opened a window and added all gadgets to it. Enumeration Windows #Window1 #Window2 EndEnumeration Enumeration Gadgets #Window1_Button1 #Windo...