Error project loading with sHeader control in 8.02

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #35403
    John
    Participant

    HI, I'm upgrading my AC to 8.02 from 7.68. I have a project using an sHeader control. After much trial and error I discovered the only way to get my project to load correctly is that my SkinManager component is before my sHeader control in my DFM file (D7).

    EDIT: I now have a problem with the header control calling this function (function TsSkinManager.GetSkinIndex(const SkinSection: string): integer;) in:

    procedure TsHeaderControl.AfterConstruction;

    begin

    inherited;

    FCommonData.Loaded;

    IndexLeft := FCommonData.SkinManager.GetSkinIndex(s_ColHeaderL);

    IndexRight := FCommonData.SkinManager.GetSkinIndex(s_ColHeaderR);

    end;

    It then hangs in TsSkinManager.GetSkinIndex at:

    l := Length(gd);

    …because gd is not initialized or something. It does appear to only happen with the header component, though I do not have time to fully test…

    John

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.