idok
asked on
Changing the default record delete confirmation
I have many TTables and TDBNavigators in my app connected to a Paradox 7 db (using BDE).
What's the simplest way to change ALL the default delete record confirmation dialog boxes - those that appear when you press the "delete" function on the TDBNavigator? (I want to make it locale language)
What's the simplest way to change ALL the default delete record confirmation dialog boxes - those that appear when you press the "delete" function on the TDBNavigator? (I want to make it locale language)
ASKER
No. I don't like that.
In my locale - I also need to reposition the "question" icon to the right side (RTL language).
So I want to catch the delete dialog appearing and replace it with my call - only trick is that I don't want to write so many exact same events on so many DBNav's.
In my locale - I also need to reposition the "question" icon to the right side (RTL language).
So I want to catch the delete dialog appearing and replace it with my call - only trick is that I don't want to write so many exact same events on so many DBNav's.
First of all, are you using the Resource DLL wizard to create a separate resource file?
Oh, and what is your Delphi version?
Oh, and what is your Delphi version?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Bdeconst.pas
Comconst.pas
Consts.pas
Dbconsts.pas
Ibconst.pas
Midconst.pas
Mxconsts.pas
Oleconst.pas
Webconst.pas
Sysconst.pas
2. Copy in a separate folder. Sample: MyLoc
3. Translate them. (in MyLoc)
4. In all projects, which you want localize, choose in the menu " to add in the project " and add all these files (or some).
5. Compile
Is taken from ru.delphi for Delphi 4.2