Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-10

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

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marcos Douglas

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

Reply by email

Marcos Douglas
to Marcos Douglas
Marcos Douglas wrote 24 lines
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

Posted in bugtrack:
http://bugs.freepascal.org/view.php?id=23172

Marcos Douglas

Reply by email