Jeremy, I take care of this by having two subroutines both calling the same subroutine that actually takes care of showing and hiding the controls, like so:
sub tabSteps_Click () { tabSteps_Changed(); } # takes care of keyboard navigation between tabs (left, right) and # handles it just as if the tab was clicked. sub tabSteps_Change () { tabSteps_Changed(); } The Click event will only capture a mouse click, so that's why you need the Change event to capture changing a tab page with the keyboard. The tabSteps_Changed subroutime would contain whatever you need to show and hide your controls. At 09:13 2001-05-21 +0100, Jeremy Dack wrote: >Hi, > >I am having a problem with tabstrips. > > When selecting the tabs by mouse the fields hide and show as expected but if > I use the left and right arrow keys the tabs move but the fields don't change > (i.e. it still shows page 1). Is this something I am doing wrong? I note that > the example supplied does the same. > >Any help at all would be appreciated. > > > >_______________________________________________ >Perl-Win32-GUI-Users mailing list >Perl-Win32-GUI-Users@lists.sourceforge.net >http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users Cheers, Marjolein Katsma HomeSite Help - http://hshelp.com/ - Extensions, Tips and Tools