Results 1 to 6 of 6

Thread: Tabstrip Bug ???

  1. #1
    Guest
    I don't know... maybe I'm getting senile in my old age (20 in less than a month!!) But here's my problem:

    1) Add a TabStrip to a form
    2) Set the placement to bottom and the style to Buttons
    3) Add a command button with a MsgBox TabStrip1.ClientHeight

    When the buttons are anywhere besides the top, the ClientHeight is always 120!!!

    Whats up with that?


  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    Stop using the TabStrip - it's crap!
    Use the Microsoft Tabbed Dialog control (on the Components List) instead - it was once written by Sheridan Software ( I think ), it's been around since VB4 and it's far far superior to MS's effort.
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

  3. #3
    Hyperactive Member Asaf_99's Avatar
    Join Date
    Jul 2000
    Location
    Israel
    Posts
    335

    Talking

    I had a problem with this too, and now I realize it couldn't be more simpler!
    ThanX Buzby.
    Asaf Sagi

    ICQ: 61917199
    E-Mail: [email protected]

  4. #4
    Guest
    I've already tried the SSTab control from Microsoft and it doesn't have some key features that only TabStrip has (HotTracking and Button Style are 2 of them).

    So.. The question remains.... Has anyone else seen the ClientHeight bug when the TabStrip is set to the bottom while using the "button" style??

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Yes - it does it on mine. What it's probably trying to do is get the height below the buttons, but there is only the bottom of the control's window. Either way, it's a bit nasty...
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  6. #6
    Guest

    Angry AAAAHHH

    Damnit. Microsoft sucks. Any ideas on a workaround for this pathetic bug??

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