Atozed Forums
TIWButton - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: TIWButton (/thread-1059.html)



TIWButton - ShaneStump - 05-04-2019

Howdy All!

I have a few places where I am using the 'stock' IW buttons where I need events that are NOT asynchronous.

In all my uses of TIWBSButtons, I use the RawText property that allows me to format my buttons caption as needed.

With the default TIWButton, it sets the caption as a Value attribute.

Without modifying the IW source code, how can I set the TIWButton caption using RawText like I do with TIWBSButton?

Thanks in advance,

Shane


RE: TIWButton - Alexandre Machado - 05-06-2019

If you assign a hotkey to your button, it will be rendered using the <button>  tag, not the <input> tag. It allows you to use other HTML elements on its caption, like a <br> which will break the line.