Results 1 to 5 of 5

Thread: How did Microsoft do that??

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    New York, USA
    Posts
    3

    Question

    This has been buggin me for some time now...

    You know the Microsoft Tabbed Diolog Contol? (SSTabs)

    How did Microsoft make the Tab Control "Manipulatable" during the design time? You know, clicking the tabs and all? I want to do the same thing, just with a Scroll Bar or something else like that.

    Anyone with even a clue to how this was done please post something!!

    Much thanks,
    -SniperBoB-

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    I don't know if this is what you mean or not but what the tab control does is when a tab is clicked it adds -75000 to the left prop of the controls on it thus making it look empty again then when you click back to that tab it just adds +75000 back.

    If you mean how they gave it events kinda while still in design time????

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    New York, USA
    Posts
    3

    Smile Thanks for your replys so far,

    I have taken a look at the "Ambient" variable and "UserMode". I can determin whether it is run or design mode, but I can not get command buttons and such to work at design time. What I am really trying to do its make a scroll bar work at design time. Any help on getting the controls to check this UserMode Property and responding if design time is desired.
    -SniperBoB-

  4. #4
    Maexchen
    Guest
    try this nice Property for your Control
    EditatDesignTime=true

    next time read the info about UserControl Property

  5. #5

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    New York, USA
    Posts
    3
    Nice try buddy,

    but next time... YOU READ THE DISCRIPTIONS

    because that adds the "Edit" option to the context menu when you right click the object at design time.
    -SniperBoB-

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