PDA

View Full Version : Problem with pages



mud2
01-25-2007, 09:19 PM
Pages on a form look like Index cards. There is a "tab", and there is the "body" of the page. When you click on a tab, the page it is attached to becomes active.
Now, I want to Detect If a tab has been clicked on. My problem is that I can't! I must click on the BODY of the page to detect a "click"
???

OBP
01-26-2007, 05:27 AM
mud, you are correct the "On click" does not work for the Tabs, this is a typical MS mess up.
Have you got "Forms" on your Tabs as Subforms?
If you have, put your VB Code on the Form's "On Enter" event instead. When you click the tab the Form on enter will pick up your code.
For some reason the Form's "On Got Focus" doesn't work though.