When changing the theme, I want to see what all the gadgets look like. Here is an example of a demonstration of all the gadgets.
screenshot
EnableExplicit
#Window = 0
#Menu = 0
Enumeration
#btn
#Str
#Ch
#Combo
#Date
#Calendar
#Editor
#Frame
#Link
#Image
#LIG
#LV
#Spin
#Txt
#Track ...
Search found 92 matches
- Fri Sep 08, 2023 11:11 am
- Forum: General Discussion
- Topic: Gadget demonstration
- Replies: 0
- Views: 20334
- Wed Sep 06, 2023 1:15 pm
- Forum: Coding Questions
- Topic: How to make HTML help
- Replies: 8
- Views: 22342
Re: How to make HTML help
I tried to do a search by generating an html page, in the end I can't open it
g_id_savefile = CreateFile(#PB_Any, "search.htm", @SaveCallback(), #PB_UTF8 | #PB_LocalStorage)
WriteStringN(g_id_savefile, ~"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><html><head>" +
~"<meta ...
g_id_savefile = CreateFile(#PB_Any, "search.htm", @SaveCallback(), #PB_UTF8 | #PB_LocalStorage)
WriteStringN(g_id_savefile, ~"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"><html><head>" +
~"<meta ...
- Sun Sep 03, 2023 12:32 am
- Forum: Coding Questions
- Topic: How to make HTML help
- Replies: 8
- Views: 22342
Re: How to make HTML help
Is it possible to increase the font of all pages opened in WebGadget? Someone has poor eyesight and needs a larger font. How to make it possible to regulate it? As far as I see the situation now, this is to open css in the data folder and change the value using a regular expression. And then refresh ...
- Sat Sep 02, 2023 3:28 am
- Forum: Coding Questions
- Topic: Open files in a loop
- Replies: 2
- Views: 6810
Re: Open files in a loop
Thanks, it works.
Is there a way to check when the callback has finished processing files? For me, the loop ends quickly and the file menu drops out, but the callback continues to work and populates the menu, which automatically expands. I'd like to expand the menu when the callback is done, because ...
Is there a way to check when the callback has finished processing files? For me, the loop ends quickly and the file menu drops out, but the callback continues to work and populates the menu, which automatically expands. I'd like to expand the menu when the callback is done, because ...
- Fri Sep 01, 2023 10:06 pm
- Forum: Coding Questions
- Topic: str.replace()
- Replies: 0
- Views: 17305
str.replace()
Using ReplaceString() to add the highlight tags, the text "KV" is replaced with "kv" if I searched in lower case. I need to preserve the case of the letters, so I use a regular expression to get the "$1" group in the original case. The example taken from the javascript is working as I have used it ...
- Tue Aug 29, 2023 3:08 pm
- Forum: Coding Questions
- Topic: How to make HTML help
- Replies: 8
- Views: 22342
Re: How to make HTML help
I complicated the code, now 2 search options work, by tags and by files.
; AZJIO 02.09.2023
EnableExplicit
#Window = 0
#WinSet = 1
#Menu = 0
#Menu2 = 1
#Menu3 = 2
;- Перечисление
Enumeration
#WebG
#StrG
#btnClear
#StrSearchAll
#btnAll
#btnDown
#btnDown1
#ch1
#ch2
#ch3
#ch4
#Op1
#Op2 ...
; AZJIO 02.09.2023
EnableExplicit
#Window = 0
#WinSet = 1
#Menu = 0
#Menu2 = 1
#Menu3 = 2
;- Перечисление
Enumeration
#WebG
#StrG
#btnClear
#StrSearchAll
#btnAll
#btnDown
#btnDown1
#ch1
#ch2
#ch3
#ch4
#Op1
#Op2 ...
- Tue Aug 29, 2023 9:58 am
- Forum: Coding Questions
- Topic: Open files in a loop
- Replies: 2
- Views: 6810
Open files in a loop
I'm testing searching for text in files in a cache. I'm getting filenames, but the ReadString() function keeps returning empty.
Procedure ReadCallback3(Status, Filename$, File, Size)
Protected Format, SearchText3$, CountFound
If Status = #PB_Status_Loaded
; Debug "|" + Filename$ + "|"
; Debug ...
Procedure ReadCallback3(Status, Filename$, File, Size)
Protected Format, SearchText3$, CountFound
If Status = #PB_Status_Loaded
; Debug "|" + Filename$ + "|"
; Debug ...
- Mon Aug 28, 2023 12:29 pm
- Forum: Coding Questions
- Topic: How to make HTML help
- Replies: 8
- Views: 22342
Re: How to make HTML help
I'm sorry, I have a mistake. I forgot to include "Resource directory: data\"
Now it works perfectly, I'm even surprised that it turned out so simply.
#PB_Web_Back and #PB_Web_Forward do not work yet
Now it works perfectly, I'm even surprised that it turned out so simply.
#PB_Web_Back and #PB_Web_Forward do not work yet
- Mon Aug 28, 2023 5:43 am
- Forum: Coding Questions
- Topic: How to make HTML help
- Replies: 8
- Views: 22342
How to make HTML help
Download: yandex (apk + Source)
screenshot (en)
screenshot (ru)
—————————————
It works in the browser, but not in the APK
EnableExplicit
#Window = 0
Enumeration
#WebG
#btnL
#btnR
#btnHome
EndEnumeration
Global ww, hh
ExamineDesktops()
ww = DesktopWidth(0)
hh = DesktopHeight(0)
If ww ...
screenshot (en)
screenshot (ru)
—————————————
It works in the browser, but not in the APK
EnableExplicit
#Window = 0
Enumeration
#WebG
#btnL
#btnR
#btnHome
EndEnumeration
Global ww, hh
ExamineDesktops()
ww = DesktopWidth(0)
hh = DesktopHeight(0)
If ww ...
- Fri Jun 09, 2023 9:12 am
- Forum: General Discussion
- Topic: Apk not build because of non-ascii characters
- Replies: 2
- Views: 10495
Re: Apk not build because of non-ascii characters
viewtopic.php?p=8975#p8975I added a new account to Windows, now it works fine.