Re: Text in a scroll bar



On Fri, 26 Jan 2007 21:13:09 +0100, <Bob@xxxxxxx> wrote:

Is there a way to put a labe in a scroll bar as oppose to in front of
it. (Ie the scroll goes the text as oppose to under the text)


Yes, inherit the scrollbar component, override the paint method, and make it call it's base... then just draw the text wherever you want it.

Then in your app, just use your component instead.

--
- Stefan Z Camilleri
- www.szc001.com
.



Relevant Pages

  • Re: Text in a scroll bar
    ... Yes, inherit the scrollbar component, override the paint method, and make ... inherit the normal checkbox and totally replace (override) its paint method. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Text in a scroll bar
    ... Yes, inherit the scrollbar component, override the paint method, and make ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Make checkbox larger
    ... > to inherit from checkbox and override its paint method or something? ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Make checkbox larger
    ... to inherit from checkbox and override its paint method or something? ...
    (microsoft.public.dotnet.framework.windowsforms)

Loading