Search found 970 matches

by Peter
Tue Oct 14, 2025 10:09 am
Forum: Coding Questions
Topic: [Solved] Compiling MobileUI.sb for Android
Replies: 3
Views: 51

Re: Compiling MobileUI.sb for Android

Madmix wrote: Tue Oct 14, 2025 9:28 amHowever, when I try to install it, I get an installation failure, both on a normal Android mobile and on an Android emulator (MEMu).
Can you tell us what this error message says?
by Peter
Wed Sep 10, 2025 1:36 pm
Forum: Coding Questions
Topic: Is there a way to color a panel?
Replies: 3
Views: 81365

Re: Is there a way to color a panel?

Here is a code that can be used to colour individual tabs:

Enumeration
#Window
#PanelGadget
EndEnumeration

Procedure SetPanelItemColor(Gadget, Item, ColorType, Color)

If GadgetType(Gadget) <> #PB_GadgetType_Panel
ProcedureReturn
EndIf

! try {

! const tabHeader = spider_GadgetID(v ...
by Peter
Sun Aug 10, 2025 7:45 pm
Forum: Coding Questions
Topic: Double recursion query
Replies: 4
Views: 14753

Re: Double recursion query

What do you expect? With fib(100), the procedure is run billions of times. It's understandable that the browser then crashes.

Here is a small code provided by ChatGPT:
EnableExplicit

Global Dim memo.q(100) ; Cache for memoization
Global naiveCount.q = 0 ; Counter for naive recursion calls
Global ...
by Peter
Sun Aug 10, 2025 12:27 pm
Forum: Coding Questions
Topic: Double recursion query
Replies: 4
Views: 14753

Re: Double recursion query

I can't reproduce that. I get a result: 89
by Peter
Tue Aug 05, 2025 4:08 pm
Forum: Coding Questions
Topic: HeaderSection/EndHeaderSection
Replies: 7
Views: 3855

Re: HeaderSection/EndHeaderSection

[...] or can I perhaps disable the browser from using the cache?

untested:

HeaderSection

<meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />

EndHeaderSection
by Peter
Tue Aug 05, 2025 2:52 pm
Forum: Coding Questions
Topic: HeaderSection/EndHeaderSection
Replies: 7
Views: 3855

Re: HeaderSection/EndHeaderSection

HeaderSection

Introduction

SpiderBasic allows to easily customize the <header></header> section of the app HTML file. It can be useful when needed to add additional meta tags or to include css or javascript files directly in the HTML.
Commands


Syntax
HeaderSection
Description
Open the header ...
by Peter
Mon Aug 04, 2025 2:53 pm
Forum: Coding Questions
Topic: HeaderSection/EndHeaderSection
Replies: 7
Views: 3855

Re: HeaderSection/EndHeaderSection

Is your <F1> key broken? ;)

#myWindow = 0
#myContainer = 0

HeaderSection

<script src="https://cdn.jsdelivr.net/npm/uplot@1.6.32/dist/uPlot.iife.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/uplot@1.6.32/dist/uPlot.min.css" rel="stylesheet">

EndHeaderSection

Procedure DrawChart ...
by Peter
Tue Jul 29, 2025 8:43 am
Forum: Bugs Reports
Topic: [Done] SB 3.10 #PB_Image_Transparent doesn't work
Replies: 2
Views: 3464

Re: SB 3.10 #PB_Image_Transparent doesn't work

Confirmed.

Latest Beta:
Image

Final:
Image
by Peter
Fri Jul 04, 2025 7:08 am
Forum: Feature Requests and Wishlists
Topic: favicon?
Replies: 1
Views: 11309

Re: favicon?

Image

Thank you! :)
by Peter
Wed Jul 02, 2025 10:45 pm
Forum: General Discussion
Topic: SpiderBasic 3.10 is out !
Replies: 25
Views: 32136

Re: SpiderBasic 3.10 beta 2 is ready !

Dirk Geppert wrote: Wed Jul 02, 2025 6:37 pm@Peter: seems that HeaderSection/EndHeaderSection can replace the HtmlPreprocessor
could be.
Dirk Geppert wrote: Wed Jul 02, 2025 6:37 pmor did I miss something?
try it out! ;)