PinoezOpenDialog (Another kind of Open Dialog)
Posted by Daniel - 1,816 Views
On some occasions, when I build an application for a specific language with orland Delphi, I also need to change all button text to suit the language used, for example the button text on the OpenDialog. Creating a brand new component is an alternative, but time is something that I don’t have. Hooking the available function by overriding the text assignment in the original OpenDialog component code, proved to be faster than creating a new one, and PinoezOpenDialog is the result.
PinoezOpenDialog is not just an open dialog, but it also contains save dialog. So far I haven’t had time to provide some design interfaces, so all adjustment have to be done in the underlying code. That will be painful if you have no experience at all in the component creation, but it will be fine I guess, it won’t break or damage your heart.
The button text on the code is in Bahasa but you can easily change them to your desired language. On line 318 there is an ExplorerHook function.
That function is the place where you can override the button text assignment. There are code comments explaining what variables you can change and some variables I recommend you not to change. But your soul is your soul, feel free if you want to do an experiment with it.
Click here to download PinoezOpenDialog (208 KB)
The following posts are programmatically considered as related to the current post by YARPP Plugin:
Hi, my name is Daniel Nugraha, a single male live on an island called Java, Indonesia. This is the place for me to share my interest in computer programming.
-
Get my Full Feed Here
Popular Entries
- Passing arguments to your VB.NET console application
- Microsoft Excel Import External Data Problem: When Microsoft Query doesn’t recognize some of your parameters
- Resize Image or Crop Image with Joe Lencioni’s Smart Image Resizer, WordPress Setup
- How to Get User Input and allowing more than 256 characters to be entered on .NET Console Application
- ASCII To PDU Converter (Convert ASCII to PDU and vice versa)
- ConsoleProgressBar - Simple Progress Bar Function for your VB.Net Console Application
- An example: Using CPort Delphi Component to read data from your cellphone
- Runtime-Form-Creation. Automatically creating child forms in a Delphi MDI application with a component array
- CPort Component (Serial port interface component for Delphi)
- SmartImageResizer Plugin, WordPress plugin based on Joe Lencioni’s Smart Image Resizer













