Is it possible to change the custom strings while the project is running?
(if I want to support more than one language)
Custom strings
Re: Custom strings
Sure. There are some 3rd party translation tools which work with the way madExcept stores these custom strings (they are stored as Delphi TForm resources, so some 3rd party tools automatically pick these up). Or you can also do it manually, by changing the strings at runtime. See here:
http://help.madshi.net/MESettings.htm#I ... s.TitleBar
One thing that's more complicated is changing the strings of the assistants. You can do that by registering a callback for this variable, exported by madNVAssistant.pas:
Then when your callback is called, you can browse through the forms and controls that belong to the assistant and change the texts, by using the INVAssistant interface (and child interfaces).
http://help.madshi.net/MESettings.htm#I ... s.TitleBar
One thing that's more complicated is changing the strings of the assistants. You can do that by registering a callback for this variable, exported by madNVAssistant.pas:
Code: Select all
var OnAssistantCreate : procedure (const assistant: INVAssistant; const exception: IUnknown) = nil;