Search found 67 matches

by Danilo
Wed May 27, 2026 5:09 pm
Forum: General Discussion
Topic: SpiderBasic 3.30 beta 2 is out !
Replies: 15
Views: 377

Re: SpiderBasic 3.30 beta 2 is out !


It's a regression, will be fixed in beta 2. Thanks !


Thank you very much for beta2 - that was fast! 🙏🏻👍

Here the 2 examples for OpenFileRequester from the help file, modified for SB 3.30:
Procedure ButtonEvent()
Filename$ = OpenFileRequester("", #PB_Requester_MultiSelection)

; Process all ...
by Danilo
Wed May 27, 2026 7:17 am
Forum: General Discussion
Topic: SpiderBasic 3.30 beta 2 is out !
Replies: 15
Views: 377

Re: SpiderBasic 3.30 beta 1 is out !

Thanks! All interface examples crash now. It says compiler crash.
Did interfaces change internally, or is it really a compiler crash with interfaces?

Any access to an interface member says compiler crash: txt1\Get()
by Danilo
Tue May 26, 2026 6:23 am
Forum: General Discussion
Topic: SpiderBasic 3.30 beta 2 is out !
Replies: 15
Views: 377

Re: SpiderBasic 3.30 beta 1 is out !

Sounds good, and will make SpiderBasic easier to use! 🙏🏻
by Danilo
Mon May 11, 2026 12:48 am
Forum: Coding Questions
Topic: [Editor Tool] Set Help Colors for PureBasic & SpiderBasic on macOS
Replies: 1
Views: 108

[Editor Tool] Set Help Colors for PureBasic & SpiderBasic on macOS

Small IDE tool for changing the help colors of the PureBasic & SpiderBasic HTML help on macOS. Because I needed dark colors.

https://i.imgur.com/vDDJXvz.png

https://i.imgur.com/aVzcZCi.png

The IDE tool requires PureBasic on macOS for compilation, and can be used with the SpiderBasic IDE on ...
by Danilo
Tue May 05, 2026 8:16 am
Forum: Coding Questions
Topic: Text Input on Mobile
Replies: 3
Views: 266

Re: Text Input on Mobile


HtmlMobile("<textarea id='txt1' name='txt1' rows='4' cols='50'></textarea>")
but then how to get the text from it like GetMobileText(#Mobile) command?


You can set and get the text using the .value property:
Procedure SetTextAreaText(id.s, text.s)
!var textarea = document.getElementById(v_id ...
by Danilo
Mon Apr 27, 2026 4:27 pm
Forum: Coding Questions
Topic: TreeGadget Font & Color
Replies: 4
Views: 7248

Re: TreeGadget Font & Color

This seems to work a little bit, but i don‘t know why:
; modify the theme by code
;
; https://forums.spiderbasic.com/viewtopic.php?f=6&t=1405
Procedure SetNewStyle()

! var elHead = document.getElementsByTagName('head')[0];
! var elStyle = document.createElement('style');
! elStyle.type= 'text/css ...
by Danilo
Sun Apr 26, 2026 11:27 am
Forum: Tricks 'n' Tips
Topic: Load JS library before SB libs
Replies: 4
Views: 389

Re: Load JS library before SB libs

There is a more direct way of loading Babylon.js and other libs, by hiding define:
Global nLoaded
Global nImports = 1

Procedure BabylonAvailable()
Protected result=0
!try {
! var testingBabylonNamespace = new BABYLON.NullEngine();
result = #True
!} catch {
result = #False ...
by Danilo
Sun Apr 26, 2026 11:22 am
Forum: Coding Questions
Topic: How to embed a Babylon.js+HtmlProcessor view inside a SpiderBasic window/container?
Replies: 2
Views: 713

Re: How to embed a Babylon.js+HtmlProcessor view inside a SpiderBasic window/container?

There is a direct way of using Babylon.js:
Global nLoaded
Global nImports = 1

Enumeration
#Janela
#Container3D
#BotaoInfo
EndEnumeration

;
; https://forums.spiderbasic.com/viewtopic.php?t=3763
;
Procedure IniciarBabylon(id)
; // set container name
!v_id.div.id = 'babylon_container ...
by Danilo
Sun Apr 26, 2026 6:13 am
Forum: Coding Questions
Topic: How to embed a Babylon.js+HtmlProcessor view inside a SpiderBasic window/container?
Replies: 2
Views: 713

Re: How to embed a Babylon.js+HtmlProcessor view inside a SpiderBasic window/container?

someone know how can i do it ?


Change the first lines of your procedure to:
Procedure IniciarBabylon(id)
; // set container name
!v_id.div.id = 'babylon_container';
EnableJS
var idContainer = v_id;
function tentarIniciar() {
var container = document.getElementById('babylon_container ...
by Danilo
Sun Apr 26, 2026 2:26 am
Forum: Coding Questions
Topic: Babylon.js
Replies: 8
Views: 13571

Re: Babylon.js

Have you found a solution for working with babylonjs in spiderbasic without resorting to "hacks"?

@skinkairewalker
Babylon.js needs to be loaded before SB libs.

Here is an example: Load JS library before SB libs

Itˋs still a hack, but works standalone, without using external tools.


Hello,
I ...