Search found 54 matches
- Mon Jul 01, 2024 5:29 pm
- Forum: Coding Questions
- Topic: meta tags in index.html
- Replies: 6
- Views: 7768
Re: meta tags in index.html
Unfortunately, I don't know enough about meta data in an html page. I am also of the opinion that they should be present in the page from the
beginning and not be inserted manually by JavaScript.
I agree. As I know meta tags have to be natively in the starting html because the html header is ...
- Fri Jun 28, 2024 11:55 am
- Forum: Coding Questions
- Topic: CreateDialog - ListIconGadget: how to add columns?
- Replies: 1
- Views: 2899
Re: CreateDialog - ListIconGadget: how to add columns?
As I know you cannot add ListIcon Columns within XML Source. You need to add them after window is established.
Try this
Enumeration
#Dialog2
EndEnumeration
Runtime Enumeration Gadget
#ListIcon
EndEnumeration
#Xml = 0
Procedure CreateDialogGeneric(Dialog, XML$, x, y)
If ParseXML(#Xml, XML ...
Try this
Enumeration
#Dialog2
EndEnumeration
Runtime Enumeration Gadget
#ListIcon
EndEnumeration
#Xml = 0
Procedure CreateDialogGeneric(Dialog, XML$, x, y)
If ParseXML(#Xml, XML ...
- Fri Jun 28, 2024 11:41 am
- Forum: Coding Questions
- Topic: meta tags in index.html
- Replies: 6
- Views: 7768
Re: meta tags in index.html
Hi,
does something like
Code: Select all
! $('head').append('<here the html code>');
at the head of your SB code not work?
nope. Doesn't work
Procedure main()
! $('head').append('<meta name="keywords" content="keywords here">')
! $('head').append('<meta name="description" content ...
- Fri Jun 28, 2024 8:29 am
- Forum: Coding Questions
- Topic: meta tags in index.html
- Replies: 6
- Views: 7768
meta tags in index.html
Hi @all,
just one question, how can I add meta tags like 'description', 'keywords', 'author' to the <head> area in automated generated index.html while compiling?
OK I mean automated during compiling, not manually after compiling
Possibly it can be added to compiler options.
just one question, how can I add meta tags like 'description', 'keywords', 'author' to the <head> area in automated generated index.html while compiling?
OK I mean automated during compiling, not manually after compiling

Possibly it can be added to compiler options.
- Thu Jun 27, 2024 12:53 pm
- Forum: Coding Questions
- Topic: Possible bug with listicon detected
- Replies: 3
- Views: 3747
Re: Possible bug with listicon detected
I extendet code snippes so you can see it better: Runtime Enumeration
#window1
#listicon_1
#button_resize
EndEnumeration
#xml = 0
Global EvenOdd.i = 0
; __________ Dialog XML Source __________
XML$ = ~"<dialogs>\n"
XML$ + ~" <window name='window1' flags='#PB_Window_ScreenCentered|#PB_Window ...
#window1
#listicon_1
#button_resize
EndEnumeration
#xml = 0
Global EvenOdd.i = 0
; __________ Dialog XML Source __________
XML$ = ~"<dialogs>\n"
XML$ + ~" <window name='window1' flags='#PB_Window_ScreenCentered|#PB_Window ...
- Thu Jun 27, 2024 12:28 pm
- Forum: Coding Questions
- Topic: Possible bug with listicon detected
- Replies: 3
- Views: 3747
Re: Possible bug with listicon detected
Sorry
here it is: Runtime Enumeration
#window1
#listicon_1
EndEnumeration
#xml = 0
; __________ Dialog XML Source __________
XML$ = ~"<dialogs>\n"
XML$ + ~" <window name='window1' flags='#PB_Window_ScreenCentered|#PB_Window_WindowCentered' text='ListIcon bug' minwidth='640' minheight='480 ...
here it is: Runtime Enumeration
#window1
#listicon_1
EndEnumeration
#xml = 0
; __________ Dialog XML Source __________
XML$ = ~"<dialogs>\n"
XML$ + ~" <window name='window1' flags='#PB_Window_ScreenCentered|#PB_Window_WindowCentered' text='ListIcon bug' minwidth='640' minheight='480 ...
- Thu Jun 27, 2024 8:46 am
- Forum: Coding Questions
- Topic: Possible bug with listicon detected
- Replies: 3
- Views: 3747
Possible bug with listicon detected
Hi,
possibly I found a bug.
If you generate a window which contains a listicon gadget the first column always does not accept the width given in the definition. The command line AddGadgetCoulum(#mylisticon,-1,"headline",50) as a first column ignores the width 50.
Even if you change the Attribute ...
possibly I found a bug.
If you generate a window which contains a listicon gadget the first column always does not accept the width given in the definition. The command line AddGadgetCoulum(#mylisticon,-1,"headline",50) as a first column ignores the width 50.
Even if you change the Attribute ...
- Mon Jun 24, 2024 9:23 am
- Forum: Coding Questions
- Topic: Synchronizing procedures
- Replies: 2
- Views: 3311
Re: Synchronizing procedures
Ok, several tests has shown that there seems no solution in SB.
Further researches have shown that the problem propably can be solved in js with "async function" in combination with "await" could solve such a problem.
sample js code:
// Defines a delay function which returns a Promise
function ...
Further researches have shown that the problem propably can be solved in js with "async function" in combination with "await" could solve such a problem.
sample js code:
// Defines a delay function which returns a Promise
function ...
- Thu Jun 20, 2024 7:55 am
- Forum: Coding Questions
- Topic: Synchronizing procedures
- Replies: 2
- Views: 3311
Synchronizing procedures
Hi @ all
I am wondering how I can synchronize procedures especially automated httprequests.
Following a schematic code:
Procedure HttpGetEventCSV(success,result$,userdata)
If success
<do whatever you want with result$>
EndIf
EndProcedure
Procedure ReadFileCallback()
protected nblines.i, i.i ...
I am wondering how I can synchronize procedures especially automated httprequests.
Following a schematic code:
Procedure HttpGetEventCSV(success,result$,userdata)
If success
<do whatever you want with result$>
EndIf
EndProcedure
Procedure ReadFileCallback()
protected nblines.i, i.i ...
- Tue Jun 04, 2024 11:28 am
- Forum: Coding Questions
- Topic: Get return value form js function in SB [solved]
- Replies: 2
- Views: 3403
Re: Get return value form js function in SB
nice, that works
Thank you Peter
Thank you Peter