Put HTML code, instead of text, as Gadget text???
Put HTML code, instead of text, as Gadget text???
Is there a way to put HTML code, instead of only text, using SETGadgetText() or SetGadgetItemText(), or a way toget around it?
Re: Put HTML code, instead of text, as Gadget text???
something like this?ehbarba wrote:Is there a way to put HTML code, instead of only text, using SETGadgetText() or SetGadgetItemText(), or a way toget around it?
Code: Select all
OpenWindow(0, 0, 0, 270, 160, "TextGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
TextGadget(0, 10, 10, 250, 20, "TextGadget Standard (Left)")
SetGadgetText(0, "<b>Bold</b> and <u>underlined</u> text")
Greetings ... Peter
Re: Put HTML code, instead of text, as Gadget text???
Precisely like this, but for ListIconGadget, in SetGadgetItemText()?
Thanks in any way Peter, for your support.
Thanks in any way Peter, for your support.
Re: Put HTML code, instead of text, as Gadget text???
Now I understand that it can not be done in ListIconGadget, but I'll do with TextGadget.
Thank you Peter
Thank you Peter