Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Splitter Control Resizing Controls
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01316687
Message ID:
01317285
Views:
11
Well, that was easy. Thanks!



>Can't you just Dock or Anchor your treeview and tabcontrol into there respective panels? This way, no code would be required on resizing.
>
>
>>I have a treeview in the left panel, and a tab strip control in the right panel:
>>
>>
>>private void splitContainer_SplitterMoved(object sender, SplitterEventArgs e)
>>{
>>    treeView1.Width = splitContainer.Panel1.Width;
>>    tabControl.Width = splitContainer.Panel2.Width;
>>}
>>
>>
>>
>>The treeview resizes fine. The tabstrip control's width is not being set.
>>
>>If I move the splitter in very small increments, this works fine. Large changes are not
>>working.
>>
>>Anyone know what I'm doing wrong?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Reply
Map
View

Click here to load this message in the networking platform