Search found 100 matches

by bembulak
Wed Jan 28, 2026 7:56 pm
Forum: Showcase
Topic: MaterialSB brings Material Design to SpiderBasic.
Replies: 8
Views: 12766

Re: MaterialSB brings Material Design to SpiderBasic.

Amazing work! Congratulations!!!

+1 for not using Git
+1 for the awesome site
+1 for the documentation
by bembulak
Thu Jan 01, 2026 11:17 am
Forum: Coding Questions
Topic: Mobile UI Style Attribute
Replies: 3
Views: 8923

Re: Mobile UI Style Attribute

I've investigated a little.

TextMobile() creates a <DIV> with no id, class, style or whatsoever in the generated HTML/JS.

Example:

Enumeration
#title
#text
EndEnumeration


If ContainerMobile(#PB_Any, #PB_Mobile_Page)

; Works:
ButtonMobile(#title, "Hello World")
SetMobileAttribute(#title ...
by bembulak
Mon Dec 29, 2025 2:31 pm
Forum: Coding Questions
Topic: Mobile UI and <div class="list-item__subtitle
Replies: 4
Views: 10178

Re: Mobile UI and <div class="list-item__subtitle

I see.
I'm sure it's possible to reproduce this better, but here's a first approach:



Enumeration
#Container
#List
EndEnumeration

; Create an image
CreateImage(0, 42, 32, 24, RGB(255, 0, 0))
If StartDrawing(ImageOutput(0))
Box(0, 0, 42, 42, RGB(255, 128, 128))
StopDrawing()
EndIf

If ...
by bembulak
Mon Dec 29, 2025 8:14 am
Forum: Coding Questions
Topic: Mobile UI and <div class="list-item__subtitle
Replies: 4
Views: 10178

Re: Mobile UI and <div class="list-item__subtitle


Hello

Multiple objects of Onsen UI allow subtitles. Is it possible to create them with SpiderBasic?


It would be helpful if you could provide a link / image / drawing of what you exactly mean and what you're trying to achieve.
Is there any test/demo-code you can provide? Remember: the more ...
by bembulak
Mon Dec 29, 2025 8:09 am
Forum: Coding Questions
Topic: Visual Form Designer
Replies: 2
Views: 9131

Re: Visual Form Designer


PureVision Form Designer

Also, there's IceGUIDesign. It's intended for PureBasic, but I've also used it for SpiderBasic. https://github.com/ChrisRfr/IceDesign

You could also try/use HeX0r's Dialog Designer => https://hex0rs.coderbu.de/sdm_downloads/dialogdesign0r-de/

Rumor's have it, that ...
by bembulak
Wed Dec 17, 2025 7:55 pm
Forum: Coding Questions
Topic: Toolbarmobile() and Listmobile() issue
Replies: 8
Views: 12618

Re: Toolbarmobile() and Listmobile() issue

I've installed 3.10 now, just to make sure we're on the same version.
I don't know the internals of OnsenUI (which SB uses for MobileUI to my knowledge), but it does not seem to me, that it's able to display what your example above shows out of the box.
Does not mean, it's impossible at all though ...
by bembulak
Wed Dec 17, 2025 4:33 pm
Forum: Coding Questions
Topic: Toolbarmobile() and Listmobile() issue
Replies: 8
Views: 12618

Re: Toolbarmobile() and Listmobile() issue

Thank you for the clarification.

I'm currently working with SB 3.20 beta 2 and this seems to have some issues.
The 'mobileUI.sb' example isn't even loading; when tinkering around to resemble your idea (3 lists next to each other), I have strange behaviour. Would be good if anyone else could test ...
by bembulak
Wed Dec 17, 2025 12:46 pm
Forum: Coding Questions
Topic: Toolbarmobile() and Listmobile() issue
Replies: 8
Views: 12618

Re: Toolbarmobile() and Listmobile() issue

I'm not entirely sure, what you want to achieve.
To me: your code basically looks okay. I just don't think, that a Mobile_List() is supposed to be in a ToolBarMobile().

Or more detailed:
I've done some tests and for me, it's NOT possible to create a ContainerMobile() and successfully put it into a ...
by bembulak
Thu Dec 04, 2025 11:25 am
Forum: Coding Questions
Topic: Login/UserManagement
Replies: 0
Views: 17142

Login/UserManagement

Hi folks,

The more I get in SpiderBasic, the more I feel that a user might need to work with "personalized" content. Whatever app-idea I come up with, I'd need some sort of user/password-mechanism, to keep things personalized and safe.
I'm not talking about full-fledged LDAP or OAuth and 2FA.

A ...
by bembulak
Tue Dec 02, 2025 6:01 pm
Forum: Coding Questions
Topic: [SOLVED] How to work with JSON - can't wrap my head around nested struct/array of obj
Replies: 7
Views: 13090

[SOLUTION] Re: How to work with JSON - can't wrap my head around nested struct/array of obj


If possible, you should map your JSON to structure, it's much easier this way:

https://www.spiderbasic.com/documentation/json/extractjsonstructure.html


That indeed is a lot easier (and works).
Thank you very much!

Here's a complete example now:

Declare.s GetText()

Structure product
id.l ...