I'm using a TBitbutton descendant. And it finally dawned on me that they were the problem so I just re-set the focus myself and they're just fine now, but as for the delete key...I haven't set up any keydown or keypress procedures using it, nor have I set any shortcuts to use it. It does delete selected text, but not blank spaces or lines!
from: Robert Meek at: [EMAIL PROTECTED] dba "Tangentals Design" home of "PoBoy" freeware Windows apps and utilities located at: www.TangentalsDesign.com Proud to be a moderotor for the "Delphi Programming Lists" at: elists.org -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Posey Sent: Thursday, September 08, 2005 12:06 PM To: Borland's Delphi Discussion List Subject: Re: TMemo TDBMemo and Delete key Robert Meek wrote: > I finally solved my homemade toolbar's problem which prevented any > standard actions like Copy and cut and paste, from working on Memo's by > actually creating methods for each and then setting the focus back to the > memo before and after the standard action code. What component are you using for your toolbar buttons? TSpeedButton and TToolBarButton don't take focus and shouldn't cause that problem. > But for some reason I'm > still having problems with the keyboard's delete key. > Although it now works on any selected text in the TMemo, it does not > delete blank spaces or lines as in other editors. If anyone has a fix or > workaround for this I would greatly appreciate it. That's very bizarre, Delete behavior ought to be automatic in a Memo. Are you doing any customized keyboard handling in the Memo or its parent? Stephen Posey [EMAIL PROTECTED] _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

