Search found 73 matches

by AZJIO
Tue Feb 13, 2024 11:08 am
Forum: Coding Questions
Topic: Is RadixTree possible here
Replies: 5
Views: 276

Is RadixTree possible here

I tried to adapt RadixTree for SpiderBasic and it didn't work. #Window = 0 Enumeration #Str #Editor EndEnumeration Global Tree.RadixTree Global NewList Dictionary.s() ; function is executed when the search input field changes Procedure StrChange() Protected Prefix$, i Protected NewList *Found() Debu...
by AZJIO
Sun Feb 11, 2024 8:05 am
Forum: General Discussion
Topic: Translating Regular Expression Errors
Replies: 2
Views: 247

Translating Regular Expression Errors

Is it possible to make an external file for a list of regular expression errors to be able to translate into languages ​​other than English? There are specific programs that will only be used in their own country.
by AZJIO
Tue Feb 06, 2024 1:17 am
Forum: Coding Questions
Topic: [solved] combobox like in Google, with a drop-down list of suggestions
Replies: 0
Views: 277

[solved] combobox like in Google, with a drop-down list of suggestions

I tried to make a list like this , but my input field lost focus. BindGadgetEvent(#StrSearchAll, @CreateM4(), #PB_EventType_Focus) Also I tried to generate the html file but I can't access it to show it as a search result. Perhaps I should have hidden the WebGadget and shown the ListViewGadget in it...
by AZJIO
Mon Feb 05, 2024 12:16 pm
Forum: Coding Questions
Topic: Link to #PB_LocalStorage (?)
Replies: 1
Views: 300

Link to #PB_LocalStorage (?)

How to get a link to the find.htm file Procedure SaveCallback(Status, Filename$, id_file, Size) Select Status Case #PB_Status_Saved Debug 1 Case #PB_Status_Error Debug 0 EndSelect EndProcedure #Window = 0 #WebG = 0 ww = 1000 hh = 600 If OpenWindow(#Window, 0, 0, ww, hh, "", #PB_Window_Back...
by AZJIO
Sat Feb 03, 2024 2:51 am
Forum: Javascript
Topic: List of class names for css modification in window.css
Replies: 3
Views: 1265

Re: List of class names for css modification in window.css

Compare the original files with my modification (WinMerge).
viewtopic.php?t=2445
by AZJIO
Thu Feb 01, 2024 5:19 am
Forum: Coding Questions
Topic: How to reset environment variables from inside Spider Basic's Code?
Replies: 4
Views: 1534

Re: How to reset environment variables from inside Spider Basic's Code?

Make two reg files that will change the variables in the registry key "HKEY_CURRENT_USER\Environment". You can run the batch file by running the reg file and then the IDE. And also add a tool to the IDE, which upon completion will make changes to the registry. The IDE allows you to choose ...
by AZJIO
Thu Feb 01, 2024 4:38 am
Forum: Coding Questions
Topic: How to make HTML help
Replies: 7
Views: 7648

Re: How to make HTML help

Updated (archive in first post)

Added request history
Added "Save settings" flag
Added flag "Hide 'Tag Search'"
Buttons adjust to the width of the window.

Added display of suggestions when entering into the search bar, like in Google

screenshot
by AZJIO
Sat Oct 28, 2023 10:12 pm
Forum: Coding Questions
Topic: How to make HTML help
Replies: 7
Views: 7648

Re: How to make HTML help

Is it possible to get the path to #PB_LocalStorage using JavaScript? I could save the css in #PB_LocalStorage, and write it in html using javascript.
by AZJIO
Thu Oct 12, 2023 6:01 am
Forum: Tricks 'n' Tips
Topic: LoadScript (CSS)
Replies: 5
Views: 11002

Re: LoadScript (CSS)

That's very cool ! You can add a new theme "FlatBlack". I already tried it, it works, but if black is enabled, then some of the controls do not switch to white when using LoadScript(). I may have used " !important" to force the color to be applied at a high priority. I also incr...
by AZJIO
Sat Sep 16, 2023 1:24 am
Forum: Tricks 'n' Tips
Topic: LoadScript (CSS)
Replies: 5
Views: 11002

Re: LoadScript (CSS)

You can replace the files, then you will have a black theme initially.
SpiderBasic\Libraries\javascript\dojo\dgrid\css\dgrid.css
SpiderBasic\Libraries\javascript\dojo\themes\flat\flat.css
SpiderBasic\Libraries\javascript\themes\flat\window.css