memo1.caretpos:=point(0,memo1.lines.count-1) ?
That is strange. Which platform/widgetset as well as Lazarus version is causing this issue for you ?
Hold on, /how/ are you appending to the memo? I'm using ...Indeed you got a point there MarkMLI therefor a good question for TS as well.
[/quote
Sendmessage(Memo1.Handle, EM_LINESCROLL, 0,32767);
This works on windows and u do need the windows unit for that.
It will scroll the memo to the end each time u enter text u need to perform this task. Its not a one time function.
If u r not on windows then I am sorry for wasting yours and my time.
Is it cross platform? Also how does it work?[/quote
Sendmessage(Memo1.Handle, EM_LINESCROLL, 0,32767);
This works on windows and u do need the windows unit for that.
It will scroll the memo to the end each time u enter text u need to perform this task. Its not a one time function.
If u r not on windows then I am sorry for wasting yours and my time.
I seldom use try except, is there a way to check the conditions which might cause an error without the try except?
I seldom use try except, is there a way to check the conditions which might cause an error without the try except?
Would you mind providing a link to said thread for everyone’s benefit or is your only purpose in life to accuse me of things I didn’t do??I seldom use try except, is there a way to check the conditions which might cause an error without the try except?
There was a long thread largely by 440bx on this matter. I suggest that rather than attempting to derail this thread (in your accustomed manner) you would be better off looking for that one, or starting a fresh one.
MarkMLl
Would you mind providing a link to said thread for everyone’s benefit or is your only purpose in life to accuse me of things I didn’t do??