|
-
Apr 18th, 2001, 06:47 PM
#1
Thread Starter
New Member
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,
-
Apr 19th, 2001, 12:12 AM
#2
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????
-
Apr 19th, 2001, 02:07 PM
#3
Thread Starter
New Member
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.
-
May 10th, 2001, 07:11 PM
#4
try this nice Property for your Control
EditatDesignTime=true
next time read the info about UserControl Property
-
May 12th, 2001, 11:27 AM
#5
Thread Starter
New Member
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.
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
|