 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Thu Jan 04, 2007 3:35 am Post subject: Problem with TPageControl Events: OnMouseDown and OnChange |
|
|
Hi Everyone,
I'm working with Delphi 5 Enterprise. I have a TPageControl with
several pages. I have the OnChange event defined and wanted to define
the OnMouseDown event. When I do that, I can no longer change tabs and
the OnChange event never fires. Am I missing something here? I read
elsewhere that the OnChange Event should fire first. Apparently it
does not.
What I want to have happen is when I click on a tab in the PageControl,
the new tab gains focus (as normal) and the OnChange event fires. I
also want to be able to detect when a tab is clicked (with the mouse)
so I can perform another action.
If you are wondering what the other action is I want to paint a border
around the tab sheet.
Thanks. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|