Tom Verhoeff
2007-04-04 17:14:17 UTC
I have some students who are trying to complete the Delphi 6
Text Editor tutorial using Lazarus. See e.g. Chapter 4 of
<http://www.win.tue.nl/~hemerik/2IP20/Doc/Qs.pdf>
They run into some problems. E.g. Lazarus apparently does not
(yet) have ActionManagers. Hence, also the configuration of
standard actions like Cut/Copy/Paste is not a matter of a few clicks.
How hard is it to do this "yourself" (i.e. not using an ActionManager,
write the necessary code)? Note that TAction and a number of related
facilities are available in Lazarus.
I suggested to them to drop the toolbar and code the actions directly into
the (menu) event handlers. But this still requires that they discover
a few extra things (e.g. concerning Cut/Copy/Paste), and do more work.
Also, the RichEdit component seems to need a workaround (e.g. TMemo,
TSynMemo, TSynEdit).
Does anyone have some (additional) advice?
Thanks,
Tom
Text Editor tutorial using Lazarus. See e.g. Chapter 4 of
<http://www.win.tue.nl/~hemerik/2IP20/Doc/Qs.pdf>
They run into some problems. E.g. Lazarus apparently does not
(yet) have ActionManagers. Hence, also the configuration of
standard actions like Cut/Copy/Paste is not a matter of a few clicks.
How hard is it to do this "yourself" (i.e. not using an ActionManager,
write the necessary code)? Note that TAction and a number of related
facilities are available in Lazarus.
I suggested to them to drop the toolbar and code the actions directly into
the (menu) event handlers. But this still requires that they discover
a few extra things (e.g. concerning Cut/Copy/Paste), and do more work.
Also, the RichEdit component seems to need a workaround (e.g. TMemo,
TSynMemo, TSynEdit).
Does anyone have some (additional) advice?
Thanks,
Tom
--
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 41 25 | Technische Universiteit Eindhoven
FAX: +31 40 247 54 04 | PO Box 513, NL-5600 MB Eindhoven
http://www.win.tue.nl/~wstomv/ | The Netherlands
E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science
PHONE: +31 40 247 41 25 | Technische Universiteit Eindhoven
FAX: +31 40 247 54 04 | PO Box 513, NL-5600 MB Eindhoven
http://www.win.tue.nl/~wstomv/ | The Netherlands