Fastream Technologies wrote: > I have a character checker at OnKeyPress that controls like: > > if Key = '^' then > Key = #0; > > This works fine for keyboard input. However when the user copies a string > like 'qwerty^' to the clipboard and the right clicks the mouse on the > component and clicks on paste, it does not work! (the character is NOT > filtered). Is there a workaround for this problem?
As you've seen, there are multiple ways to change an edit box's contents. You need to read the following article. http://groups.google.com/group/borland.public.delphi.vcl.components.writing/msg/41b62f85dd405cdf -- Rob __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
