[Lazarus] TActionList Editor: "List index (1) out of bounds"

Marcos Douglas md at delfire.net
Sat Oct 20 18:21:54 CEST 2012


Hi,

To reproduce the error:
1- put a TActionList on the form;
2- add a new TAction;
3- implement OnExecute event;
4- drop a button and link it with the Action;
5- double click on TActionList;
6- in the ActionList Editor, select the action;

Just a curiosity here: All TAction objects they have the OnExecute
event implemented, do not show the property Name on the Object
Inspector when you click on... why?

7- In Object Inspector tree view components, click on the Action
(TButton->TAction)

Error: "List index (1) out of bounds"

To rename an Action only is possible using the tree view component.

Lazarus 1.1 r39145 FPC 2.6.1 i386-win32-win32/win64

Marcos Douglas




More information about the Lazarus mailing list