Which tab is active. (1 Viewer)

suepowell

Registered User.
Local time
Today, 01:44
Joined
Mar 25, 2003
Messages
282
HI I have a form with a 2 page tab control on it.

Depending which tab has been clicked and is active at the moment I want to perform an action with a button on the main form.

How do I detect which tab has been clicked. I'm sure there must be a property that tells me this, but I just don't know what it might be, does anyone know.

I was thinkoing of something like gotfocus, hasfocus, isactive but noe of these exist and I am running out of ideas as to what it could be called.

Sue
 

suepowell

Registered User.
Local time
Today, 01:44
Joined
Mar 25, 2003
Messages
282
Thanks very much.

That pointed me in the right direction and I've got it working now.

There's always someone on here who knows the answer, just occasionally it's me!

Thanks again.

Sue
 

HiTechCoach

Well-known member
Local time
Yesterday, 19:44
Joined
Mar 6, 2006
Messages
4,357
Sue,

Glad that you found the example helpful. :)

Your were able to figure it out form the example. That is great. Your knowledge just grew. I now know who to ask for help! :D
 

Users who are viewing this thread

Top Bottom