Skip to content
Discussion options

You must be logged in to vote

Hi @msilewicz! Sorry for the late reply.

No, Turbo Vision does not provide any standard way to do what you say, even though it would be the only way to ensure your dialog can be used regardless of the terminal size.

TScroller can't be used for this purpose because it is not a TGroup and it is therefore not meant to contain other views. However, it is possible to write a class which does this. A possible basic implementation:

#define Uses_TScrollBar
#define Uses_TGroup
#define Uses_TKeys
#define Uses_TEvent
#include <tvision/tv.h>

class TScrollArea : public TGroup
{
public:

    TScrollArea( const TRect &bounds,
                 TScrollBar *aHScrollBar = nullptr,
                 TScrollB…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by magiblot
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #169 on January 26, 2026 23:15.