Link to home
Start Free TrialLog in
Avatar of idok
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)
Avatar of zb_russia
zb_russia

1. Search files:

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
Avatar of idok

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.


First of all, are you using the Resource DLL wizard to create a separate resource file?  

Oh, and what is your Delphi version?
ASKER CERTIFIED SOLUTION
Avatar of SuperSy
SuperSy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial