Search found 172 matches

by Paul
Wed Apr 10, 2024 1:42 pm
Forum: Tricks 'n' Tips
Topic: Speech module supporting screen readers and WebTTS
Replies: 10
Views: 645

Re: Speech module supporting screen readers and WebTTS

Is this browser specific?
Only the WebTTS version produces voice here using Edge browser, the other one is silent.
by Paul
Wed Apr 10, 2024 3:31 am
Forum: Bugs Reports
Topic: Unwanted behaviour with using #pb_window_borderLess
Replies: 1
Views: 130

Re: Unwanted behaviour with using #pb_window_borderLess

Seems to be a #PB_Any problem #Win=1 #displayMenu=1 #showFullScreen=1 Procedure sizing_desktop() ResizeWindow(#Win,0,0,DesktopWidth(0),DesktopHeight(0)) EndProcedure If OpenWindow(#Win,0,10,200,50,#Empty$,#PB_Window_BorderLess) SetWindowColor(#Win,#Black) CompilerIf #displayMenu If CreateMenu(#PB_An...
by Paul
Thu Mar 21, 2024 1:52 pm
Forum: Coding Questions
Topic: Constant visibility.
Replies: 3
Views: 188

Re: Constant visibility.

hoerbie is correct, your include file creates Window2 first then you try to activate Window1 before the constant or Window has been created.
Also your enumeration is giving both Windows the exact same value so after Window1 is created, Window2 will no longer be valid.
by Paul
Thu Feb 15, 2024 2:22 pm
Forum: Coding Questions
Topic: open a database
Replies: 15
Views: 795

Re: open a database

Did you look at the 2 examples in the Help file under Database...
Database.sb
DatabasePersistent.sb

That would be the best place to start to get a good understanding.
by Paul
Sat Jan 27, 2024 3:53 pm
Forum: Coding Questions
Topic: Translating Purebasic in Spiderbasic problem
Replies: 6
Views: 811

Re: Translating Purebasic in Spiderbasic problem

Sorry, I meant search this forum with the keyword: DataSection

But searching the help file as Peter suggests will also show Spider basic has fewer options than PureBasic when using DataSection
by Paul
Sat Jan 27, 2024 2:01 pm
Forum: Coding Questions
Topic: Translating Purebasic in Spiderbasic problem
Replies: 6
Views: 811

Re: Translating Purebasic in Spiderbasic problem

You might want to search the keyword: DataSection

SpiderBasic can't do everything the same as PureBasic
by Paul
Sun Dec 24, 2023 2:04 am
Forum: Coding Questions
Topic: Connecting SpiderBasic with PostgreSQL (and maybe PureBasic)
Replies: 8
Views: 8891

Re: Connecting SpiderBasic with PostgreSQL (and maybe PureBasic)

For simply testing on a local computer I would use something like CivetWeb https://github.com/civetweb/civetweb/releases It's about 1MB and doesn't need to be permanently installed, just run the EXE You can set any folder to be the ROOT web folder and you can put the cgi in that same folder, just co...
by Paul
Fri Dec 22, 2023 5:13 pm
Forum: Coding Questions
Topic: Connecting SpiderBasic with PostgreSQL (and maybe PureBasic)
Replies: 8
Views: 8891

Re: Connecting SpiderBasic with PostgreSQL (and maybe PureBasic)

If you are using 127.0.0.1 this tells us you have a web server set up on localhost but you don't say what web server you are running or if you have the web server set up to run EXE's from the cgi-bin folder.
by Paul
Wed Sep 27, 2023 1:03 pm
Forum: Tricks 'n' Tips
Topic: LoadScript (CSS)
Replies: 5
Views: 10999

Re: LoadScript (CSS)

Unfortunately SB's SetGadgetColor command becomes no longer usable.
by Paul
Fri Jul 07, 2023 1:17 pm
Forum: Coding Questions
Topic: SetGadgetItemText() for TreeGadget have no effect?
Replies: 2
Views: 4055

Re: SetGadgetItemText() for TreeGadget have no effect?

It actually changes the text of the tree gadget, it just doesn't show it. If OpenWindow(0, 0, 0, 355, 180, "TreeGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) TreeGadget(1, 10, 10, 160, 160) AddGadgetItem (1, -1, "Normal Item "+Str(a)) Debug GetGadgetItemText(1,0) Se...