Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Karben Selim Mejia
  Where is Karben Selim Mejia?
 San Pedro Sula
 Karben Selim Mejia
 To: naeem ud din
  Where is naeem ud din?
 naeem ud din
Subject: RE: Filtering Character in Edit/Text box
Thread ID: 15946 Message ID: 15949 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Friday, October 04, 2002 5:46:01 PM         

> NQ In Visual Basic if we want to filter a character in Edit/Text box; in KeyPress event we assigan value 0 (Zero) to argument named KeyAscii.
> How can I obtain same result in VFP?

Try to do this, this could help you to find the path

LPARAMETERS nKeyCode, nShiftAltCtrl
*:for example if we don't want to accept an A as an input so we just avoid it
IF nkeycode = 65  THEN  && 65 = 'A'

let me know if this helps you

Karben Selim Mejia (Mejiaks)

I used to think that my life was complete. it was until my (by now) Two-years-old child was born that I realized how wrong I was!
Honduras, Central America
The very center of the world


Filtering Character in Edit/Text box Posted by naeem ud din @ 10/4/2002 5:33:07 PM
RE: Filtering Character in Edit/Text box Posted by Karben Selim Mejia @ 10/4/2002 5:46:01 PM