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.

TElPageControl with Imbedded Form

edited August 2014 in LMD ElPack
I'm trying to manually dock a TForm in a TElPageControl during form creation but can't seem to come up with a way to do it. I can dock the form after creation with drag and drop and I can do it in code with a TPageControl but TElPageControl seems to require a different strategy.

Thanks
Mitch

Comments

  • I'll answer this one myself: 

      frm := TVertDesignerFrm.Create ( self ) ;
      frm.Show ;
      frm.ManualDock ( MainPc ) ; //this is where I erred

    I was calling the ElPageControl's ManualDock instead of the forms.

  • Thanks for feedback!
Sign In or Register to comment.