This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

Invalid class typecast

Hi.

I have a problem with drag & drop one of the panels in my application. I receive "Invalid class typecast" when moving and trying to dock panel.
From Vcl.Controls problem occurs in Target := TControl(DragFindTarget(Pos, TargetHandle, DragControl.DragKind, DragControl));

Any ideas how to solve this issue ?

Comments

  • Its not clear from your description, with which of LMD products you have the issue?
  • I have already found out what was the issue - one of the components from another library is incompatible with LMD. To be more precise it's TLMDDockPanel and TAdvEdit. When AdvEdit is placed on panel and you will try to move it then you get above error.
Sign In or Register to comment.