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 » VScrollBar in a StaticText
VScrollBar in a StaticText [message #38564] Mon, 24 December 2012 11:06 Go to next message
281264 is currently offline  281264
Messages: 270
Registered: June 2010
Location: Spain
Experienced Member
Hi,

I would like to implement a VScrollBar in a StaticText widget; any hint about how to do it?

Thanks,

Javier
Re: VScrollBar in a StaticText [message #38565 is a reply to message #38564] Mon, 24 December 2012 14:31 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13986
Registered: November 2005
Ultimate Member
281264 wrote on Mon, 24 December 2012 05:06

Hi,

I would like to implement a VScrollBar in a StaticText widget; any hint about how to do it?

Thanks,

Javier


Depends on what it is supposed to do..

Anyway, the basic "plan" is simple

VScrollBar sb;
SomeCtrl ctrl;
ctrl.AddFrame(sb);

Mirek
Re: VScrollBar in a StaticText [message #38570 is a reply to message #38565] Tue, 25 December 2012 20:13 Go to previous message
281264 is currently offline  281264
Messages: 270
Registered: June 2010
Location: Spain
Experienced Member
Mirek,

Thanks; yes of course AddFrame(VScrollBar Ctrl here) works.

My question is (and this comes from the lack of info about Scroll control/s) how to add functionality to the scroll control once it is added as a frame to the StaticText Ctrl. An example about how to display a text and to scroll it with the embedded control would be great.

Javier
Previous Topic: List of custom controls, how?
Next Topic: DropList bug/inconsistency
Goto Forum:
  


Current Time: Fri Jun 21 22:19:18 CEST 2024

Total time taken to generate the page: 0.01520 seconds