November 01, 2025, 10:18:00 AM

News:

IWBasic runs in Windows 11!


Text with scroll bar

Started by Andy, November 28, 2008, 12:45:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andy

Hi Everyone,

I'm looking to use openwinow command and display some text in it - simple enough but I want to have a vertical scroll bar so that you can scroll down the text to read it. I've searched but I can't find an example can anyone help please.

Thanks.
Andy
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

Tony

How about using something like the RichEdit control in your window and enabling the vertical scrollbar? I would use the Dialog Editor to generate the code for the RichEdit control.

Allan

Look at the program Editor.eba in the Projects folder that came with EBasic.

It will do the task of scrolling text in a window.


Allan

Andy

Allan & Tony,

Thank you so very much!!

Cheers,
Andy.
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

Tony

You're welcome Andy. I'm always glad to help when I can as many have helped me. :)