Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grid Disappears on sstab at Runtime!! Pls Help

Status
Not open for further replies.

Fori

Programmer
Jun 18, 2003
84
MT
Hi All

i have an SSTab with 4 tabs each having a MSHFlexgrid as a control array! When i'm on design mode i can c everything on each tab. If i click run on tab 2 i will only be able to c the Grid on tab 2 and the others disappear!

Do you have the faintest idea what this could be ? i tried it with other controls and the same happens! maybe its me or??

Thanks all
Nick
 
i also have a function which resize the form to the dessired resolution! as soon as i remove the function everything worked! how can i fix this?

Thanks
nick
 
Does the SSTab definitely contain all the grid controls - i.e. if you drag the SSTab to a new position at design time do the grid controls move with it?
 
yes!! but as i told you the form is being resized and thats when they are lost except the one which was worked on at desoign time!!

Thanks
 
Or, try putting the grids each on a frame of their own.
There were some bugs when a flex grid, and other controls, sat directly on a tab.

Another problem could be the way the SSTab hides controls on tabs other than the current tab, which is by setting the Left positions to -74950, or something in that range.
If you are sizing the form and it's controls when loading, then this may throw things out of whack.

Check what the Left position of the grid which should be visible.
if that looks ok, then try using a frame place on the tab and the grid placed on the frame.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top