Jump to content
  • Status: Fixed
  • Priority: Normal
  • Resolution: Fixed
  • Platform: Android, iOS, Windows
  • Affects version: 1.15.4.0

Hi i tried to add Items to a TfgListMenu at runtime by this code:

// Form:
	lyMenuItems: TfgListMenu;


// implementation

...
	var LItem := lyMenuItem.Items.Add;
	LItem.Title := 'test';
...

Testing the Code hangs the App - There is an internal endless loop in internal call of Change... because Title is empty

To get the code working i use this code:

var LItem := TfgListMenuItem.Create(nil);
LItem.Title := 'test;
LItem.Collection := lyMenuItems.Items;

Normally the ".add" Version is used in delphi...


Fix version: 1.15.5.0

User Feedback

Recommended Comments

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.