PRB: Read-Only SSTab Does Not Display Child Controls ProperlyLast reviewed: March 28, 1997Article ID: Q150417 |
The information in this article applies to:
SYMPTOMSCreate a form that contains the Sheridan SSTab control, and child controls on each of the tabs. When the form is in read-only mode (common when using Visual SourceSafe to control the project) and the user selects each tab to display it, the only child controls displayed are those controls which were on the original tab. In addition, if you specify a File, Save File menu item on the form (after moving from tab to tab) one of the following two error messages (depending on whether there is a .FRX file associated with the form or not) displays:
Path/File access error: '<location of form file>.FRX' -OR- Path/File access error: '<location of form file>.FRM' CAUSEThe Sheridan Tab control actually changes the Left property of the specific tab child controls to make them appear and disappear. The Left property of all the child controls on the previously shown tab are changed by -75000. The Left property of all child controls on the newly selected tab is changed by +75000. Visually, it appears that the tab control is properly displaying its children. However, when the form is in read-only mode, the Left property cannot be modified. Therefore, the controls do not change as they should.
STATUSThis Sheridan Tab control behavior is by design.
WORKAROUNDCheck out the form with the SSTab control (make the file read/write). Then the control behaves as you would expect. Sheridan has created an update for the 32-bit control, which corrects many of these problems. The update, tabctl32.exe, can be downloaded from their Web site at www.shersoft.com.
MORE INFORMATION
Steps to Reproduce Problem
|
Additional reference words: read-only
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |