By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,732 Members | 1,461 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,732 IT Pros & Developers. It's quick & easy.

Fill dockstyle is slow with splitter

P: n/a
Sam
Hi all,

I have a splitter sitting between 2 panels (which I use for drawing) on my
main form. The problem that I'm having is that when I resize my form, the
panel(plnDwgContainer) that has the fill dockstyle method seems to be a bit
slow. However, if I try to resize my panel using the splitter, then it seems
to be ok. Does anyone experience this? Below is what I have on my form.
Thanks

Sam

Me.Controls.Add(Me.plnDwgContainer) 'panel control - dockstyle = fill

Me.Controls.Add(Me.splSplitter) 'splitter Control - dockstyle
=bottom

Me.Controls.Add(Me.tlbSecondary) 'toolbar1 control - dockstyle = top

Me.Controls.Add(Me.tlbPrimary) 'toolbar2 control - dockstyle = top

Me.Controls.Add(Me.plnMsgContainer) 'panel control - dockstyle =bottom

Me.Controls.Add(Me.staInfo) 'statusbar control - dockstyle =
bottom
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Sam,

How do you resize your form using the splitter.
Using the splitter you can resize the panel.
Not the form in my opinions.

Cor
Nov 21 '05 #2

P: n/a
Sam
Hi Cor

Sorry I was incorrect to say that what I should have said is that when I use
the splitter to resize my lower panel, the upper panel which has the fill
dockstyle seems to response faster than when I resize my form.

Sam

"Cor Ligthert" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Sam,

How do you resize your form using the splitter.
Using the splitter you can resize the panel.
Not the form in my opinions.

Cor

Nov 21 '05 #3

P: n/a
Sam,

Is that not normal that when everything is repainted it goes slower than
with a part of it?

However, why don't you not try it in a new project with only a panel and a
splitter on your form.

That gives in my opinion you a better measurement.

Just an idea.

Cor
Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.