Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Wider scrollbars
Wider scrollbars [message #28209] Mon, 23 August 2010 12:30 Go to next message
Zbych is currently offline  Zbych
Messages: 325
Registered: July 2009
Senior Member
Hi,

I am working on application that is controlled by a touchscreen and don't know how to make scrollbars in ArrayCtrl wider. Are there any examples how to use SetScrollBarStyle or FrameButtonWidth_Write ?
Re: Wider scrollbars [message #28210 is a reply to message #28209] Mon, 23 August 2010 12:41 Go to previous message
Zbych is currently offline  Zbych
Messages: 325
Registered: July 2009
Senior Member
Ok, I see my mistake. SetScrollBarStyle takes reference, not copy of ScrollBar::Style, so style must be global or static.

	table.AddColumn("Column #1");
	table.AddColumn("Column #2");
	table.Add("1","2");
	table.Add("3","4");
	static ScrollBar::Style ss = ScrollBar::StyleDefault();
	ss.barsize = 30;
	table.SetScrollBarStyle(ss);

Previous Topic: Map support in UPP ?
Next Topic: Application Wizard based?
Goto Forum:
  


Current Time: Fri Apr 19 06:21:56 CEST 2024

Total time taken to generate the page: 0.02328 seconds