September 18th, 2004, 12:16 PM
Kylix and Memos
I have a kylix program which does Memo1.Undo; which works great but when I bring it over to Delphi compiler I get Memo1.Undo is undeclared identifier heres the code I am using:
September 20th, 2004, 02:12 PM
Ah yes, I think you have to use SendMessage and send an EM_UNDO message to Memo.Handle instead.
Something like this ought to do the trick:
SendMessage(Memo.Handle, EM_UNDO, 0, 0);
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo