|
-
Nov 8th, 2000, 11:56 AM
#1
I've got an SSTab with 3 tabs on a form and each tab has a couple of frames on it. I need to move the frames around the form in code. When I move a frame to its new location (using move) the frame shows up on the right tab, but it also shows up on a second tab (never on all 3 tabs). I've tried moving to the correct tab before doing the move, but the results are the same.
Has anyone seen anything like this before?
Your help and suggestions are appreciated!
Thanks,
-
Nov 8th, 2000, 12:40 PM
#2
Fanatic Member
The SSTab control is a container in and of itself. If the frames are not in the sstab control, then it will display on _all_ the tabs, because the frame is actually displaying above (or behind) the tab control.
Fix:
Make sure the frames are actually in the SSTab control itself during design time.
-
Nov 8th, 2000, 03:08 PM
#3
I was doing my frame moves in form_load. When I copied the code to form_activate it fixed everything. In form_load I don't think the code was working to change the active form. In form_activate the form has already been painted so I can access the other tabs.
Thanks for your reply.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|