Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT Label eliminates "&" character

Hi,

Please ask user questions on the newsgroup. The reason for this is that
all UI-Libraries I know use the char following the & for keyboard
navigiation e.g. win32 ALT+$KEY will set the focus to the next focusable
control after the label.

Tom

Khodke (EXT), Pravin schrieb:
> I need to print "&" in my Label but it skips while rendering.
> 
> For Example when I say Label.setText("A&G") it prints AG.
> 
> I can overcome this problem using && but using this makes my logic more
> complex so I need to know some other way of achieving this.
> 
>  
> 
> Regards,
> 
> Pravin
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


-- 
B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl                                        geschaeftsfuehrer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5/1    A-6020 innsbruck      phone    ++43 512 935834


Back to the top