khchen / wNim

Nim's Windows GUI Framework
MIT License
326 stars 17 forks source link

How to display scrollbar of TextCtrl? #26

Closed nnahito closed 5 years ago

nnahito commented 5 years ago

I'm a Japanese. And I'm not good at English. So my English is maybe bad. Sorry.


I want to display scrollbar in TextCtrl appended wTeMultiLine. I input texts in TextCtrl overflowing. However, it didn't display the vertical scrollbar.

In documents, they are not written how to display vertical scrollbar in TextCtrl. (But it is written how to display horizontal scrollbar.)

Please teach me how to display the vertical scrollbar in TextCtrl.

Guevara-chan commented 5 years ago

style=wVScroll

khchen commented 5 years ago

You can try to add wVScroll and wHScroll, etc. These are wWindow's styles, but of course they can be used in it's subclasses. Here is the document.