Alfatester

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Make TsPanel transparent/translucent? #41336
    Alfatester
    Participant

      Solved:

      Code works in case of lines without spaces:

      SkinManager.CommonSections.Add('[EMPTYITEM]');
      SkinManager.CommonSections.Add('TRANSPARENCY=50');
      SkinManager.CommonSections.Add('HOTTRANSPARENCY=50');
      sPanel1.SkinData.SkinSection := 'EMPTYITEM';

      in reply to: Make TsPanel transparent/translucent? #41316
      Alfatester
      Participant

        QUOTE (Support @ Nov 11 2009, 07:42 AM) <{POST_SNAPBACK}>
        Hello
        You must use TRANSPARENCY and HOTTRANSPARENCY (all reserved words may be found in sSkinProps.pas)
        Also I must say that empty item exists already in all skins. 'CHECKBOX' section will be empty and transparent always and you can use this section.

        Tried following:
        SkinManager.CommonSections.Add('[EMPTYITEM]');
        SkinManager.CommonSections.Add('TRANSPARENCY = 50');
        SkinManager.CommonSections.Add('HOTTRANSPARENCY = 50');
        sPanel1.SkinData.SkinSection := 'EMPTYITEM';

        Nothing helped.

        Do you have sample of working code?

      Viewing 2 posts - 1 through 2 (of 2 total)