Articles   Members Online:
-Article/Tip Search
-News Group Search over 21 Million news group articles.
-Delphi/Pascal
-CBuilder/C++
-C#Builder/C#
-JBuilder/Java
-Kylix
Member Area
-Home
-Account Center
-Top 10 NEW!!
-Submit Article/Tip
-Forums Upgraded!!
-My Articles
-Edit Information
-Login/Logout
-Become a Member
-Why sign up!
-Newsletter
-Chat Online!
-Indexes NEW!!
Employment
-Build your resume
-Find a job
-Post a job
-Resume Search
Contacts
-Contacts
-Feedbacks
-Link to us
-Privacy/Disclaimer
Embarcadero
Visit Embarcadero
Embarcadero Community
JEDI
Links
How to Display hints of object on your forms title bar Turn on/off line numbers in source code. Switch to Orginial background IDE or DSP color Comment or reply to this aritlce/tip for discussion. Bookmark this article to my favorite article(s). Print this article
Display hints of object on your forms title bar 19-Sep-04
Category
VCL-General
Language
Delphi 2.x
Views
273
User Rating
10
# Votes
1
Replies
0
Publisher:
Darley, F. Joe
Reference URL:
			1   unit Unit1;
2   
3   interface
4   
5   uses
6     Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
7     Dialogs, StdCtrls;
8   
9   type
10    TForm1 = class(TForm)
11      Button1: TButton;
12      Button2: TButton;
13      Memo1: TMemo;
14      Button3: TButton;
15      procedure FormCreate(Sender: TObject);
16    private
17      { Private declarations }
18    public
19     procedure ShowHint(Sender: TObject);
20      { Public declarations }
21    end;
22  
23  var
24    Form1: TForm1;
25  
26  implementation
27  
28  {$R *.dfm}
29  
30  procedure TForm1.FormCreate(Sender: TObject);
31  begin
32  application.OnHint:=ShowHint;
33  Button1.Hint:='This is Button 1';
34  Button2.Hint:='This is Button 2';
35  Button3.Hint:='This is Button 3';
36  Memo1.Hint:='This is Memo1';
37  
38  end;
39  
40  procedure TForm1.ShowHint(Sender: TObject);
41  begin
42  Caption:= application.Hint;
43  end;
44  
45  end.


			
Vote: How useful do you find this Article/Tip?
Bad Excellent
1 2 3 4 5 6 7 8 9 10

 

Advertisement
Share this page
Advertisement
Download from Google

Copyright © Mendozi Enterprises LLC