[Mono-winforms-list] Scrollbar widths

Chris Seaton chris at chrisseaton.com
Tue Sep 20 15:40:42 EDT 2005


Oh, great, thanks. I didn't know there was that class.

What events are raised when these values change? Are all controls raised
OnLayout or OnSizeChanged or something like that?

Chris Seaton

Jordi Mas wrote:
>>First of all thanks for your work on SWF. I've been playing with it for 
>>a few days and it's very impressive.
> 
> 
> Thanks Chris.
> 
> 
>>When writing a SWF app how wide should I make the scrollbars? I can't 
>>find any kind of variable in the namespace that says how wide the user 
>>wants their scrollbars. This can't be hardcoded of course, as it's a 
>>user accessible variable in Windows.
>>How is SWF itself deciding how wide to make its scrollbars for controls 
>>such as TextBox?
> 
> 
> In the MS .Net implementation the default value returned by
> SystemInformation class is used. In our implementation, we are currently
> pulling this value from the Theme class. 
> 
> You can change the size of a scrollbar using the Height, Width and Size
> properties.
> 
> Jordi,
> 



More information about the Mono-winforms-list mailing list