2011/8/5 Frank Church <[email protected]> > > // Wrapper function for TCanvas.Frame3D. >> procedure Frame3D(ACanvas: TCanvas; var ARect: TRect; >> TopColor, BottomColor: TColor; const FrameWidth: integer); >> begin >> ACanvas.Frame3D(ARect, TopColor, BottomColor, FrameWidth); >> end; >> > > Hi I added that version of Frame3D to LCL trunk. There is another version of Frame3D with very different parameter signature. It existed already earlier.
> Top and bottom colour are included and FrameWidth is ignored. > > Is there some other wrapper to make the old code compatible with this one, > or does it have to forego the style property altogether, and fill in > something for the colors? > Do you mean Delphi has other versions of Frame3D with different parameters? Could you implement them and create a patch? Regards, Juha
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
