I could translate the Captions[]
and ButtonCaptions[]
used by MessageDlg
if I set the appropriate constants in the Vcl.Consts.pas
.
But as I can see there is no such an easy solution like this for TOpenDialog
and TSaveDialog
. These are Windows controls and something more tricky solution needed. I tried the FindComponent
on the created dialog and the fFileDialog
in the created wrapper (during the Execute call). But the debugger says : the ComponentCount
is 0 for both components.
How could I translate these dialogs?
It is not a problem to modify the Vcl.Dialogs.pas
because my program uses a copy of this (I had to modify it yet for another reasons)