Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone understand events when clicking outside a grid?
Message
From
30/09/1998 09:45:59
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
29/09/1998 03:00:53
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00141362
Message ID:
00142358
Views:
33
>Hidy Dragan,
>There are two better (or far less coding) solutions. One is the simple class code in my reply to Brenda in this thread. The other is setting a custom grid or form property as a flag for "lHangingValidation". Any control that has a valid, sets this flag in interactivechange (nearly all valid code is moved there except messages) then in grid.valid you "return !thisform.lHangingValidation". This in turn lets focus stay in grid (if any hanging validation) and valid act as it should (say almost as it should :)).
>Cetin

Your solution is better - and mine is not even sure to work. I was looking for a fast workaround or a magic wand, whatever comes first. Still, the whole thing remains as a kludge: we'd need a textbox class with this behavior, and a grid which would have this textbox class as default control in its columns. From what we know now, it's feasible, but not that easy.

Of course, our old FoxWish that we should be able to determine what objects will be contained within a new column in a grid (not necessarily a textbox with bloody Arial and no custom properties at all) - was not addressed in VFP6, not that I know.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform