| version 1.2, 2003/11/06 18:27:59 | version 1.3, 2003/11/13 20:00:15 | 
| Line 45  short changeTab(WindowRef window, UInt16 | Line 45  short changeTab(WindowRef window, UInt16 | 
 | controlValue = GetControlValue( getControlRefByID(kTabMasterSig,kTabMasterID,window) ); | controlValue = GetControlValue( getControlRefByID(kTabMasterSig,kTabMasterID,window) ); | 
 | if ( controlValue != pane ) | if ( controlValue != pane ) | 
 | { | { | 
 |  | ClearKeyboardFocus(window); | 
 | SetControlVisibility( getControlRefByID(  kTabPaneSig,  kTabMasterID+pane, window), false, true ); | SetControlVisibility( getControlRefByID(  kTabPaneSig,  kTabMasterID+pane, window), false, true ); | 
 | SetControlVisibility( getControlRefByID(  kTabPaneSig,  kTabMasterID+controlValue, window), true, true ); | SetControlVisibility( getControlRefByID(  kTabPaneSig,  kTabMasterID+controlValue, window), true, true ); | 
 |  |  | 
 | Draw1Control( getControlRefByID(kTabMasterSig,kTabMasterID,window) ); | Draw1Control( getControlRefByID(kTabMasterSig,kTabMasterID,window) ); | 
 | return(controlValue); | return(controlValue); | 
 | } | } |