Solved

Chang to Button Caption in TOpenDialog

Posted on 2001-06-12
1
206 Views
Last Modified: 2010-08-05
Hello Experts,

I use tOpendialog to select a file which I whant to convert...
Is it possible to change the Caption of the open Button to "convert"

TIA

Mark
0
Comment
Question by:Markbf
1 Comment
 
LVL 8

Accepted Solution

by:
Cesario earned 50 total points
ID: 6181497
Hi,


1) add to your uses clause to Commdlg unit
2) Add TOpenDialog1.OnShow Event
3) Add This Code

procedure TForm1.OpenDialog1Show(Sender: TObject);
begin
  SendMessage(GetParent(OpenDialog1.Handle), CDM_SETCONTROLTEXT, 1,
                               Integer(PChar('convert')));
end;

good luck

Cesario
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question