LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Size of scrollbar for Tree control

I see that one of the attribute of a Tree control is "Scroll bar size", that can be set to Small/Medium/Large.

But even if I choose "Large", its size is too small for a control that should be dragged and touched with a finger on a touch screen panel.

Is there a way to explicitly set the size of these scrollbars?

Can I set this size if I create a custom tree control?

 

PS: using CVI 2009 SP1

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 1 of 3
(3,103 Views)

Unless there is some hidden attribute for this, I don't know of a way to have other than standard dimensions for the scrollbars.

You could try excluding standard scrollbars and using scrollbar custom control instead (<cvidir>\toolslib\custctrl\scroll.fp) which is fully customizable. Take a look at scrollsample.prj example (you can locate it in <cvisampledir>\userint\custctrl\scrollbars or via the Example Finder).



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,091 Views)

 


Unless there is some hidden attribute for this, I don't know of a way to have other than standard dimensions for the scrollbars.

What a pity!

Using custom scrollbars is not so effective, and it requires a big effort...

 

I suppose that also the "+" and "-" symbols used to expand/collapse tree nodes can't be resized...

I tried changing the Windows theme, but nothing changes.

 

Do you think this could be an useful suggestion for one of the next CVI releses?

 

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 3 of 3
(3,062 Views)