BUG Report : GetMenuExtraLineData

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #70572
    Support
    Keymaster

      The LineVisible parameter should be defined to False in the OnGetMenuExtraLineData event:

      procedure TForm1.sSkinManager1GetMenuExtraLineData(FirstItem: TMenuItem; var SkinSection, Caption: String; var Glyph: TBitmap; var LineVisible: Boolean);
      begin
        // Check a first item in popup menu
        if FirstItem = Multilinetext1 then begin
          // Show line in this SubMenu
          LineVisible := True;
          Caption := 'Additional information bar'
        end
        else
          LineVisible := False;
      end;
      #70575
      Koushik Halder
      Participant

        Thanks for your code. Now it works perfectly.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • The topic ‘BUG Report : GetMenuExtraLineData’ is closed to new replies.