elziko,
ScrollableControl has properties VSroll and HScroll that returns the current
visiblity of the scrollbars. There no event(s) thought that fires when they
change. However the scroll bars can appear/disappear in several situations:
size of the control changes, new children has been added or existing child's
size or position has canged, autoscroll margins changed, etc. All these
changes require the control content to be re-leyout of the content, therefor
scrollable control's Layout event can be used as a trigger to check VScroll
and HScroll properties for changes.
HTH
Stoitcho Goutsev (100) [C# MVP]
"elziko" <el****@yahoo.co.uk> wrote in message
news:ev**************@TK2MSFTNGP11.phx.gbl...
Is there any way of knowing if scrollbars have appeared in a control that
has a ScrollableControl that has AutoScroll set to True?
I have found this:
http://msdn.microsoft.com/library/de...sibleTopic.asp
But it states that "is not intended to be used directly from your code".
TIA