On Feb 19, 2008, at 8:54 PM, Adrian Klaver wrote:
> The reason I brought it up is that it is a fairly common method of
> creating a
> shortcut key. The wx controls seem to understand the convention and
> it would
> be nice to have. I like Malcolms suggestion of using \&.
Here's the problem: if you create a button with the caption 'E\&xit',
it will appear as 'E\xit', both in the design surface and at runtime.
If you create a form with the caption 'AT\&T', it will appear as 'AT
\&T' in both the design surface and at runtime. If you create a label
with the caption 'AT&T', it will appear as 'ATT' in both modes.
The point is that '&' is not treated consistently by wxPython. I'm
going to have to sort out all those variations in order to provide a
consistent experience when using that character within Dabo.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]