BUG Report : GetMenuExtraLineData

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #70559
    Koushik Halder
    Participant

    Just download your Additional features in menus demo and see minutely after running the application one vertical line with text Use GetMenuExtraLineData is always added. I tested in my own project the scenario is the same. I have added one screenshot of your demo, please see minutely.

    Attachments:
    You must be logged in to view attached files.
    #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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘BUG Report : GetMenuExtraLineData’ is closed to new replies.