Reply To: Error in CustomFramingFrame

#2707
Ray Konopka
Keymaster

    Hi,

    The control reference was added to several RzCommon methods in 6.5 in order to support VCL Style changes. Generally, you can simply pass “Self” as the parameter. For example, for the CustomFramingFrame.pas unit for the RCDemo:

    if UsingSystemStyle then

    becomes

    if UsingSystemStyle( Self ) then

    The same situation occurs in the TabsFrame.pas unit as well.

    The MainForm.pas unit has a similar change but with the GetGradientPanelFrameColor method:

    C := GetGradientPanelFrameColor( FCurrentGCS )

    becomes

    C := GetGradientPanelFrameColor( Self, FCurrentGCS )

    Ray