Recent

Author Topic: TMemo scroll down (stupid question alert)  (Read 1305 times)

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1208
Re: TMemo scroll down (stupid question alert)
« Reply #15 on: October 15, 2024, 03:34:27 am »
I seldom use try except, is there a way to check the conditions which might cause an error without the try except?
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

Weiss

  • Full Member
  • ***
  • Posts: 183
Re: TMemo scroll down (stupid question alert)
« Reply #16 on: October 15, 2024, 10:58:03 am »
I seldom use try except, is there a way to check the conditions which might cause an error without the try except?

of course, it is easy to work around. It was just unexpected, that Memo behaves differently when called from try-except. I wonder if this is a bug or a feature.

MarkMLl

  • Hero Member
  • *****
  • Posts: 8025
Re: TMemo scroll down (stupid question alert)
« Reply #17 on: October 15, 2024, 11:13:09 am »
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
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1208
Re: TMemo scroll down (stupid question alert)
« Reply #18 on: October 15, 2024, 02:15:42 pm »
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??
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

MarkMLl

  • Hero Member
  • *****
  • Posts: 8025
Re: TMemo scroll down (stupid question alert)
« Reply #19 on: October 15, 2024, 03:32:56 pm »
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??

Start another thread and I'll see if I can dig it out.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1208
Re: TMemo scroll down (stupid question alert)
« Reply #20 on: October 15, 2024, 05:06:39 pm »
I was just trying to help weiss. I don’t want to start a new thread about things I don’t use. Thank you very much!
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

 

TinyPortal © 2005-2018