Вниз
Скачать: CL | DM;

MultiLine edit box Horizontal Scroll bar   Найти похожие ветки 

 
Lars   (2005-02-19 03:24) [0]

Say you have text in a multiline editbox (KOLMemo). This text spans past the end of the window. The horizontal scroll bar is now active because of that.

Then when you start to delete the text, and the text is now -not- past the end of window.. the scroll bar does not deactivate or "gray out". It just stays active, like it thinks there is text spanning past the end of the window, bt when in fact it was deleted already.

Was this behaviour in KOL on purpose?
Or is there maybe a property I am missing to make the scrollbar in KolMemo behave like notepad would.

If not, I will trap API messages in Notepad and see what messages I have to add to make the scroll bars Gray Out when text deleted in a line.


 
Lars   (2005-02-19 03:28) [1]

Hmm, actually I just tried notepad and it has the same behaviour!
Scrollbars don"t Gray out until you actually delete -everything- on the line.

Maybe I am used to other editors where the scroll bar is automatically grayed out for you, when there is nothing past end of line.


 
thaddy   (2005-02-19 11:29) [2]

Which is entirely logical, since Notepad is Microsoft"s Shell round the Editbox API control. :) Just like wordpad is a shell for Richedit, nothing more.


 
lo   (2005-02-21 04:03) [3]

Yup everything is just a shell or a wrapper really isn"t it. Everything.. haha.. now if only we could focus our efforts on something original like Delphine OS instead of being slaves to microsoft.



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.024 c
14-1128195166
ArtemESC
2005-10-01 23:32
2005.10.23
Инфа о компиляторе


2-1127328135
solomon
2005-09-21 22:42
2005.10.23
Fn клавиша и определение её кода


5-1103408543
klyonov
2004-12-19 01:22
2005.10.23
Пакеты


1-1128346886
@Ujin
2005-10-03 17:41
2005.10.23
Как можно добавить в TCustomForm published свойства?


1-1127985810
Wolferio
2005-09-29 13:23
2005.10.23
ShellListView




   Наверх