Recent

Author Topic: Has SynEdit set options changed?  (Read 3185 times)

polpero

  • Jr. Member
  • **
  • Posts: 83
Has SynEdit set options changed?
« on: November 01, 2021, 06:58:28 pm »
Hi

The following lines of code used to work in previous versions:

Code: Pascal  [Select][+][-]
  1. with synEdit do
  2.   begin
  3.      mouseOptions := mouseOptions + [emDragDropEditing, emAltSetsColumnMode] ;
  4.      options := options + [ eoShowScrollHint, eoScrollHintFollows];
  5.   end;

But it doesn't work anymore.
Raises message: Identifier not found...

Has something changed?
I did see the move of eoDragDropEditing to mouseOptions and emDragDropEditing but  still get the same error message.

 Thanks

jamie

  • Hero Member
  • *****
  • Posts: 5143
Re: Has SynEdit set options changed?
« Reply #1 on: November 01, 2021, 11:03:18 pm »
That's the problem with Advancement, sometimes you need to remove twisted features or non sensible constructs for something more refined.

 
The only true wisdom is knowing you know nothing

polpero

  • Jr. Member
  • **
  • Posts: 83
Re: Has SynEdit set options changed?
« Reply #2 on: November 02, 2021, 07:04:45 pm »
Well... I'm ok with advancement

but i was hoping to find the right way to set synEdit's options
or some hint at what is wrong here

:)


jamie

  • Hero Member
  • *****
  • Posts: 5143
Re: Has SynEdit set options changed?
« Reply #3 on: November 02, 2021, 10:25:19 pm »
Well yes, it appears for what ever reason the needed unit is not being included when you drop it on the form..

including unit "SynEditMouseCmds" in the uses list seems to fix it.
The only true wisdom is knowing you know nothing

polpero

  • Jr. Member
  • **
  • Posts: 83
Re: Has SynEdit set options changed?
« Reply #4 on: November 03, 2021, 01:17:35 am »
Oops!

Forgot to check the obvious
didn't think there was a new file

Thanks!

 

TinyPortal © 2005-2018