[Gambas-user] Re: Underscores in Control Titles

Benoit Minisini gambas at ...1...
Sat Sep 17 19:44:25 CEST 2005


On Thursday 15 September 2005 04:35, A Person wrote:
> Good Day . . .
>
> Two ampersands do not work. I tried everything possible over a couple of
> months. The KDE ampersand function has a higher priority than Gambas so
> it overrides any Gambas choices. (my guess).
>
> I had limited success with graphics. Special characters such as '<' and
> '<<' do not generate ampersands in KDE 3.4.2 although they did in an
> earlier version or maybe it is the newer Gambas. I tried spaces before
> and after. I tried quotation marks. I tried using raised labels instead
> of buttons. I tried . . .
>
> I could not find a way around the 'feature' other than removing the
> earlier mentioned component. This is not really a problem unless you
> want to use a KDE control such as DatePicker.
>
> This has cancelled one of my projects. I was writing a Bingo program
> that had 150 buttons. It is totally ridiculous to have the underscore
> show up randomly across the form.

Why don't you write your own button class? It is not very complicated: you can 
use a DrawingArea with a border, the mouse events, and draw what you want 
inside.

>
> I want to try REALbasic when it evolves into a workable environment just
> to get around this problem (and none graphical indexed controls).
>
> Hope this helps.
>
> Paul
>

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list