PDA

View Full Version : custom dialog static text



NewsArchive
06-21-2012, 04:31 AM
Is this a bug?

i canīt use this at custom dialog static text:

#DLG_DESTINATION_HEADING#: %_SB_INSTALLDIR%

Dirk

NewsArchive
06-21-2012, 04:32 AM
>
> Is this a bug?
>

No, this is not a bug.

Friedrich

NewsArchive
06-22-2012, 01:32 AM
it's not a bug it's a feature - in the future ;) ?

Dirk Büchel

NewsArchive
06-22-2012, 02:13 AM
>
> it's not a bug it's a feature - in the future ;) ?
>

No, not in the future :-) This is not how text resources
(#DLG_DESTINATION_HEADING# is a text resource) are supposed to work ;-)

Instead of hard-coding text strings into a, say, static text control, you
can use a text identifier (text ID). For example, to provide a
multi-language setup. The text ID (#DLG_DESTINATION_HEADING#) is the same
for each language-specific version; the text is different.

But you can create and use your own text ID and set it to "Destination
Folder: %_SB_INSTALLDIR%"

See attached screenshots.

Friedrich