T
Thorbjørn Jørgensen
Hi
I know that I have posted this question before, but sine no one did reply I
might not have explanind my self well enough, so I will try once more...
I have created a UserControl which inherits from Forms.UserControl. On the
usercontrol I am painting some lines and stringsswith GDI. I need to place a
string at the right edge, this is done by calculating the placement of the
string box from the width of the usercontrol. But since I in some cases need
to scroll to show all of the usercontorl I have set AutoSroll=trus, and set
the AutoScrollSize. But since I calculate the placement of the string from
the width of usercontrol I need to know the width of the scrollbar when it
is present. Hos do i find the properties of the AutoScroll bar, or solve
this problem in some other way?
Regards
Thorbjørn
I know that I have posted this question before, but sine no one did reply I
might not have explanind my self well enough, so I will try once more...
I have created a UserControl which inherits from Forms.UserControl. On the
usercontrol I am painting some lines and stringsswith GDI. I need to place a
string at the right edge, this is done by calculating the placement of the
string box from the width of the usercontrol. But since I in some cases need
to scroll to show all of the usercontorl I have set AutoSroll=trus, and set
the AutoScrollSize. But since I calculate the placement of the string from
the width of usercontrol I need to know the width of the scrollbar when it
is present. Hos do i find the properties of the AutoScroll bar, or solve
this problem in some other way?
Regards
Thorbjørn