Difference between revisions of "WebBBCodeLabel"
From Jeremie Leroy - XOJO Controls Wiki
(→Supported BBCode Tags) |
|||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | |||
+ | Extension of the WebLabel control for Xojo, this control enables formatting the text with BBCode tags. | ||
Line 18: | Line 20: | ||
|- | |- | ||
|width=50%|{{Property | name=Bold | type=Boolean | description= | readonly=no | newinversion= | version=1.3.1}} | |width=50%|{{Property | name=Bold | type=Boolean | description= | readonly=no | newinversion= | version=1.3.1}} | ||
− | |width=50%|{{Property | name= | + | |width=50%|{{Property | name=Text | type=String | description= | readonly=no | newinversion= | version=1.3.1}} |
|- | |- | ||
|width=50%|{{Property | name=Border | type=Boolean | description= | readonly=no | newinversion= | version=1.3.1}} | |width=50%|{{Property | name=Border | type=Boolean | description= | readonly=no | newinversion= | version=1.3.1}} | ||
Line 36: | Line 38: | ||
|- | |- | ||
|width=50%|{{Property | name=Text | type=String | description= | readonly=no | newinversion= | version=1.3.1}} | |width=50%|{{Property | name=Text | type=String | description= | readonly=no | newinversion= | version=1.3.1}} | ||
− | |||
− | |||
|} | |} | ||
Line 53: | Line 53: | ||
|- | |- | ||
|} | |} | ||
+ | |||
+ | |||
+ | |||
+ | ==Supported BBCode Tags== | ||
+ | |||
+ | |||
+ | * [b] for displaying in '''Bold''' | ||
+ | * [i] for displaying in ''Italic'' | ||
+ | * [s] for striked <strike>text</strike> | ||
+ | * [u] for <u>underlined</u> | ||
+ | * [sub] for <sub>subscript</sub> | ||
+ | * [sup] for <sup>superscript</sup> | ||
+ | * [color=#FF0088] for <span style="color:#f08">colored text</span> | ||
+ | * [highlightcolor=#FFFF00] to <span style="background-color:#FF0">highlighted text</span> | ||
+ | * [url=...] to display a [[Main Page|clickable URL]] | ||
+ | * [Font=...] to <span style="font-family:monospace">change the font</span> | ||
+ | * [size=24] to change <span style="font-size:24px">font size</span> | ||
+ | |||
+ | ==History== | ||
+ | |||
+ | === Version 1.5 - Released 2016-07-04=== | ||
+ | *New: | ||
+ | **Subscript [sub] and Superscript [sup] | ||
+ | **Right-To-Left text | ||
+ | |||
+ | ===Version 1.4.1 - Released 2015-08-01=== | ||
+ | *Fixed: | ||
+ | **Enabled and Visible properties | ||
+ | |||
+ | ===Version 1.3 - Released 2014-11-25=== | ||
+ | *New: | ||
+ | **Updated for Xojo 2014r3 | ||
+ | |||
+ | ===Version 1.2 - Released 2014-07-30=== | ||
+ | *New: | ||
+ | **Uses less ressources when updating the view | ||
+ | |||
+ | ===Version 1.0 - Released 2014-05=== | ||
+ | *First Release | ||
+ | |||
+ | ==See Also == | ||
+ | |||
+ | [[BBCodeLabel]] |
Latest revision as of 18:39, 4 July 2016
Extension of the WebLabel control for Xojo, this control enables formatting the text with BBCode tags.
Events |
Open |
Properties | |
Bold | Text |
Border | TextColor |
Italic | TextFont |
Multiline | TextSize |
Overflow | Underline |
Strike | |
Text |
Methods |
RealText |
Register |
Contents
Supported BBCode Tags
- [b] for displaying in Bold
- [i] for displaying in Italic
- [s] for striked
text - [u] for underlined
- [sub] for subscript
- [sup] for superscript
- [color=#FF0088] for colored text
- [highlightcolor=#FFFF00] to highlighted text
- [url=...] to display a clickable URL
- [Font=...] to change the font
- [size=24] to change font size
History
Version 1.5 - Released 2016-07-04
- New:
- Subscript [sub] and Superscript [sup]
- Right-To-Left text
Version 1.4.1 - Released 2015-08-01
- Fixed:
- Enabled and Visible properties
Version 1.3 - Released 2014-11-25
- New:
- Updated for Xojo 2014r3
Version 1.2 - Released 2014-07-30
- New:
- Uses less ressources when updating the view
Version 1.0 - Released 2014-05
- First Release