Results 1 to 3 of 3

Thread: SSTab and Frames

  1. #1
    Guest
    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,

  2. #2
    Fanatic Member ExcalibursZone's Avatar
    Join Date
    Feb 2000
    Location
    Western NY State
    Posts
    908
    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.
    -Excalibur

  3. #3
    Guest
    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
  •  



Click Here to Expand Forum to Full Width