Menu

What changed from version D6 to D7?

Anonymous
2003-09-10
2003-09-11
  • Anonymous

    Anonymous - 2003-09-10

    After installing the latest CVS D7 package
    and trying to reinstall my own components using SynEdit,
    I am stopped here where
    this compiles on D6

    procedure THTMTPan.setRedDest(const Value: TCustomSynEdit);
    begin
    if fRedDest <> Value then fRedDest := Value;
    if assigned(fRedDest) then
           fRedDest.OnKeyDown := HTMClass.pKeyDownEvent;
    invalidate;
    end;

    now I get
       [Error] HTMTPan.pas(544): Undeclared identifier: 'OnKeyDown'

    would any one have an idea?

     
    • Anonymous

      Anonymous - 2003-09-11

      I guess I found an answer...

      on keyDown now appears to belong to SynEdit and not to TCustomSynEdit...

       

Log in to post a comment.