Вниз
Скачать: 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.44 MB
Время: 0.041 c
1-1128282947
LP
2005-10-02 23:55
2005.10.23
Книга Основы Delphi. Профессиональный подход


1-1128152033
Иванов__
2005-10-01 11:33
2005.10.23
Как в DHTML вставить текст


14-1128245552
Андрей В
2005-10-02 13:32
2005.10.23
Разработка ПО для КПК на Delphi2005


11-1109400580
NAGRIS
2005-02-26 09:49
2005.10.23
TKolTreeView


3-1125384126
Киря
2005-08-30 10:42
2005.10.23
Ошибка Fast Report




   Наверх