Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's equivalent to a VALID method in Grids?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00359435
Message ID:
00359474
Views:
8
"I see!" said the blind man....

Now I found out how to do it, I think. (I hope... I pray... LOL)

When I read Michelle's response, I wondered how she expected me to put code in a VALID method that didn't friggin' exist. HOWEVER, when I clicked on the name of my grid at the top of the PROPERTIES box, I noticed a TEXT1 line, so I selected it. VOILA! The missing VALID event is there. Yahoo!!! (I hope that isn't a trademarked yell for the people at Yahoo! now...)

Here's part of my basic grid layout:
grdRiskRecs - grid object
colGLAcct - column
hdrAcct - column header
Text1 - this is where the VALID event is but your mouse won't find it
colDebit
hdrDebit
Text1

Thanks for the help. Once again, the UT is one hell of a good resource for all things FP and VFP.

As for MS, it's kinda stupid that we can use the mouse to edit some of the innards of a grid, but can't use the mouse to get all the way into the object we're working with. And I thought "I" was brain dead at times... heh-heh

- Gerry

>I'd probably write a new form method for selective column validation. I'd put a call to this method in the AfterRowColChange event and pass it the grid's ActiveColumn. Then in a case statement inside of the method code, you could selectively validate the column info.
>
>HTH
** Gerry White / Hagerstown, MD, USA --
** Developing since 1986 in Foxpro, VFP, Oracle, and Java.
** http://GerrysPlace.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform