Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone understand events when clicking outside a grid?
Message
From
01/10/1998 02:32:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00141362
Message ID:
00142696
Views:
33
>a related question. lets say have row level valiation. identify a rowchange (via you mdow, and keypress logic) in beforerowcolumnchange (brcc). if rowchange then do validations and nodefault. will that work for clicking off the grid? does nodefault in the brcc keep focus from shifting outside the grid, or must i put that logic in grid.valid and return .f.?
>
>brenda
brcc by itself also doesn't prevent going off the grid. Again valid must support staying in grid. Strange but reality :( To keep you fast on track, today I'll try to email, a sample (not really sample - from an on going project) form using 5 grids, 4 are dragdropgrid class which is a subclass of supergrid. Especially check supergrid code (liked the name :) ). Also in its valid notice the setting recsource = "" then setting back. Try to rem it out and you'll see why (my hair count halved till finding it). There I didn't put field level validation code at all (grdvalidate code) 'cause I don't myself use column level valid but rowlevel (yeah a selfcentric class). Feedbacks are appreciated.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform