TIP: Click on subject to list as thread! ANSI
echo: delphi
to: BRYAN SMITH
from: LARS SKOVLUND
date: 1997-05-24 21:30:00
subject: MessageDlg - Other Languages

Hello Bryan!
Wednesday May 21 1997, Bryan Smith writes to All:
 BS> Does anybody know ways to translate the button labels (e.g. Yes, No)
 BS> and the window heading caption (e.g. Warning) of a MessageDlg into
 BS> languages other than English ?
 BS> The same version of the program must run in either English or French
 BS> in response to a command-line switch. I can just about manage the
 BS> window caption, but the buttons have me beaten.
The button and dialog box captions are stored in string tables... to make use 
of two different string tables you'd have to edit the MessageDlg 
implementation (maybe even discard the string table concept entirely and use 
arrays of strings instead).
Lars
--- GoldED/386 2.50 UNREG
---------------
* Origin: Yet another T.P.I. Point (2:238/64.46)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.