Sign in Join

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

Mailing lists / lazarus / 2015-04

Moving items between actionlist

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Torsten Bonde Christiansen

I am in for some tidious work, copying a large amount of actions between two actionlist.

So I started wondering - is there not a simple cut&paste functionality to cut/move an action
from one list to another?
Both actionlists are on the same form, so all associated OnExecute methods are unchanged, so
basically it is a simply move operation.

I have tried dragging actions between the two actionlist editors, but that is not implemented. Also
dragging in the Object Inspector does not work, it show a "do not drop" icon with the mouse.

Regards,
Torsten Bonde Christiansen.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150420/2ee25167/attachment.html>

Reply by email

Salvatore Coppola
to Torsten Bonde Christiansen: I am in for some tidious work, copying a large amount of actions between two actionlist.…

Maybe can be better for you to use Sender instead to duplicate actions

2015-04-20 14:44 GMT+02:00 Torsten Bonde Christiansen :

Show quoted text 27 lines
I am in for some tidious work, copying a large amount of actions between two actionlist. So I started wondering - is there not a simple cut&paste functionality to cut/move an action from one list to another? Both actionlists are on the same form, so all associated OnExecute methods are unchanged, so basically it is a simply move operation. I have tried dragging actions between the two actionlist editors, but that is not implemented. Also dragging in the Object Inspector does not work, it show a "do not drop" icon with the mouse. Regards, Torsten Bonde Christiansen. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150421/08fbd571/attachment.html>

Reply by email

Torsten Bonde Christiansen
to Vojtěch Čihák: Wouldn't be enough to close project, manually edit *.lfm file(s) and reopen project? I…

Thanks, that was a very easy solution. Worked like a charm.

-Torsten.

Vojt?ch ?ih?k wrote 52 lines
Wouldn't be enough to close project, manually edit *.lfm file(s) and reopen project? I guess *.lfm is the only place which states that Action A belongs to ActionList B. V. ______________________________________________________________ > Od: Torsten Bonde Christiansen > Komu: Lazarus mailing list > Datum: 20.04.2015 14:45 > P?edm?t: [Lazarus] Moving items between actionlist > I am in for some tidious work, copying a large amount of actions between two actionlist. So I started wondering - is there not a simple cut&paste functionality to cut/move an action from one list to another? Both actionlists are on the same form, so all associated OnExecute methods are unchanged, so basically it is a simply move operation. I have tried dragging actions between the two actionlist editors, but that is not implemented. Also dragging in the Object Inspector does not work, it show a "do not drop" icon with the mouse. Regards, Torsten Bonde Christiansen. ---------- -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150421/5f54e311/attachment.html>

Reply by email