Tab Control - On Click Event Page !
Posted on 2001-07-19
Background: - Main form has tab control, with 8 pages. At the bottom of the Tab Control have 3 command buttons.
Trying to do: - Default page 1, wish 3 command buttons enabled. Select any of other pages, 2 command buttons disabled.
Tried(1): - On individual page, on click event entered code
e.g. me.[name of control].enabled = true
e.g. me.[name of control].enabled = false
Depending on page.
But nothing happened !
Investigated further, so tried stepping through code. Nothing happened when I clicked on the page where the code was.
Bit of mystery.
Where am I going wrong ????
Any ideas most welcome. Thanks
Ideas: do i move the code to on_click event for tab control ? But, how do allow for on_click events for individual pages ?