Hello

Hello,

I want to use a custom frame with only TGraphicControls on it...but It could be usefull to have a parent relationship between some of them...is there any existing project that add such a property to TGraphicControl ?

Thanks.

Comments

  1. Nope. You have to embed them in a TWinControl

    ReplyDelete
  2. Peter Sokolov well, it's a TWinControl, I want to put some TGraphicControl in a doublebuffered TWinControl. So at Windows level there's only one HWnd and HDC.

    it's probably possible to add a Parent property with TCustomControl.SetParentControl, then the Top/Left properties have to be relative to the parent, and the Paint method should fix the HDC with SetViewportOrgEx and IntersectClipRect ... but I dont think that it's possible on the existing component...to bad :)

    ReplyDelete

Post a Comment