[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
Re: [XaraXtreme-dev] Tabbed dialogs (was Re: [XaraXtreme-commits] Commit Complete)
- From: Alex Bligh <alex@xxxxxxxxxxx>
- Date: Wed, 03 May 2006 18:05:23 +0100
- Subject: Re: [XaraXtreme-dev] Tabbed dialogs (was Re: [XaraXtreme-commits] Commit Complete)
Alex Bligh wrote:
Luke,
--On 03 May 2006 16:58 +0100 Luke Hart <lukeh@xxxxxxxx> wrote:
It seems that strings and dialogs share a name-space (or at least a name
to id mapping), if you define a dialog you also get a string with the
value '-' for "free". I'll move to appending _NAME to the end of dialog
name string and use the id that that gives me.
Yes they do (intentionally). Sorry I should have made that clear.
This is so that you can look up names static text in dialogs, etc.
It will look up the <label> element. There was a good reason for
it at the time :-) (I think it's to do with names on buttons etc.).
OK I fixed this properly. It doesn't add "_NAME" any more. The only
reason you were getting a "-" in the name string was because the
object existed, but did not have a <label> in the xrc for the
dialog itself. So I have added a <label> the same as the <title>
in each dialog (they should have them anyway or they won't work
for accessibility), and it now all works without adding _NAME
anywhere).
Alex