I.T. Discussion Community!
Paul Wilson -Collapse +Expand
-Collapse +Expand
Angel
-Collapse +Expand Profile◄╣
Member Info
Member Narration

POSTS:
MB Posts (199)

Search Angel:

Advanced
Personal Account . . .
Angel
 (Inactive)
England



Real Name:  Paul Wilson
Primary Role:  Coder
Joined: Jul 2001 (18 years ago)
Visits: 995
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Message Boards Activity

199 posts.
More...

Thread 6 of 6
Thread Starter or a Reply (but not last)  Group

Angel
Re: Gaining and losing focus on TSpeedButton
Speedbuttons do not have focus by design. If you want to have a button which can hold focus, you need to use either a TButton or a TBitBtn., , As a rule, only use a SpeedButton where you want the user to click on it with the mouse.
Posted to MB Topic: Delphi VCL « Delphi Board
15 years ago
Nothing New Since Your Last Visit
2
Hits

Pascal and Delphi Coding

Thread 5 of 6
Thread Starter or a Reply (but not last)  Group

Angel
Re: dynamic buttons on the form
I assume you mean that you are trying to place a second button on the same form, i.e. over the top of the first button., , If this is the case, there is a BringToFront function for visual components, but I would be tempted to just change the caption of the button depending on what the user has selected. You could then use the buttons caption in the same way as a variable. So, in the buttons OnClick event you could have something like, , if Button1.Caption = 'Button1' then, begin, Do the button1 procedure, end;, if Button1.Caption = 'Button2' then, begin, Do whatever the button2 procedure was meant to do, end;
Posted to MB Topic: Delphi VCL « Delphi Board
15 years ago
Nothing New Since Your Last Visit
2
Hits

Pascal and Delphi Coding

Thread 2 of 6
Thread Starter or a Reply (but not last)  Group

Angel
Re: Two TMainMenu on the main form .. is it possib
Okay,, , First off, the Toolbar itself has a property in the Object Inspector entitled ShowCaptions. Set this to True to be able to see the captions on the buttons., , Secondly, set an Onclick action to the button and in there enter the code to manually execute the popupmenu., , PopupMenu1.Popup(X,Y);, , X is the Horizontal axis (integer) and Y is the vertical value. You should be able to work out these values based on the buttons position on the form., , HTH
Posted to MB Topic: Delphi VCL « Delphi Board
15 years ago
Nothing New Since Your Last Visit
2
Hits

Pascal and Delphi Coding
More...
Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech