Results 1 to 6 of 6

Thread: SSTab Problem

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Posts
    120

    SSTab Problem

    i m using sstab control and i placed on each tab a frame.
    i m trying to set in runtime each frame on a specific tab and i dont know how to do it.(i m trying to change the frames in the tabs)

    thank you
    shachar shaty

  2. #2
    khalik
    Guest

    Re: SSTab Problem

    Originally posted by shachar
    i m using sstab control and i placed on each tab a frame.
    i m trying to set in runtime each frame on a specific tab and i dont know how to do it.(i m trying to change the frames in the tabs)

    thank you
    what u see in design time u get at runtime by using sstab..

    what do u mean by "i m trying to set in runtime each frame on a specific tab"

    can u be more clear

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Posts
    120
    on tab1 I put frame1
    on tab2 I put frame2

    on runtime i want to change the order
    on tab1 frame2
    on tab2 frame1
    shachar shaty

  4. #4
    khalik
    Guest
    Originally posted by shachar
    on tab1 I put frame1
    on tab2 I put frame2

    on runtime i want to change the order
    on tab1 frame2
    on tab2 frame1
    i am not sure... but a guess...

    check the left or top property of the frame the invisible form should be <0 so change the value in click event it should work

  5. #5
    Fanatic Member jian2587's Avatar
    Join Date
    Aug 2000
    Location
    I bet u need a fusion powered shuttle to reach my place...
    Posts
    963
    Well, create an array of the frames.
    Then in the SSTAB click event, check for which tab is selected,
    then set the Visible property of the frame you want to
    display to True and the others to False
    ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
    Programming is fun, but only if you're not on a tight deadline
    So I consider all those working engineers sad people

    VB FTP class
    3 page PHP crash course
    Crash Course on DX9 Managed with VB.NET covering basics till terrain creation

  6. #6
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    I think a tabstrip is a better choice in this situation.

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