Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Horizontal scrollbar in a ListBox (Compact Framework)

Status
Not open for further replies.

skippy2007uk

Programmer
Aug 10, 2007
18
GB

I am writing an app using VB.Net for Compact Framework.

I am aware that in order to reduce the size of the environment, a lot of control properties have been removed.

One of these seems to be the horizontal scrollbar of the ListBox control. Has anyone managed a work-around for this in order to force a scrollbar through code?

Thanks in advance,
skip
 
I haven't seen that framework. Do you have access to a scrollbar control, by itself?

If so, you can wire it up, like you had to do in VB6, by hand, with some calculations, based on the width of the longest item in the list box.

If [blue]you have problems[/blue], I want [green]source code[/green] AND [green]error messages[/green], none of this [red]"there was an error crap"[/red]
 
Thanks for your reply.

Yes, I do have access to just a horizontal scrollbar.

I've tried a few VB6 approaches, but unfortunately they do not seem to work.

I'll keep googling around...

Thanks,
skip
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top