[Gambas-user] Amperesand on a ToolButton

BB adamnt42 at gmail.com
Thu Jan 11 11:37:06 CET 2024


On 11/1/24 8:08 pm, Bruce Steers wrote:
> Try &&
>
>
> On Thu, 11 Jan 2024 at 04:17, <james at lixce.com 
> <mailto:james at lixce.com>> wrote:
>
>     Is there any way to get an ampersand _&_ on a ToolButton as text. 
>     I have tried everything I could think of escaping: \& gives an
>     error, Chr$(38) nothing shows. I resorted to making an icon but
>     that seems kludgeish.
>
>     I built a virtual keyboard to use on my tablet so I cannot really
>     use another symbol.
>
>     Regards,
>     Jay
>
Bruce is probably right but as far as I know the way to use the "\" 
escape mechanism in cases like these are to use for example "\\&"

( I didn't know toolbuttons could display text?)

b

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20240111/134593cc/attachment.htm>


More information about the User mailing list