Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Initiating a grid in a form only when needed
Message
From
01/08/2001 19:34:25
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00538434
Message ID:
00538635
Views:
6
>>Nadya-
>>
>>>if type('this.grdBldMstr')<>'O'
>>
>>You realize this is unsafe since it will be true if the grid has been set to .NULL.
>
>Right, but who would set it to .NULL. ? :)

Sheesh, and Sergey thought _I_ was too devil-may-care with !EOF() in a relation because SET NEAR *might* be ON.

Honestly, I didn't make it up. The safe route is to check an object's property, such as name. (which doesn't work for all objects)
Previous
Reply
Map
View

Click here to load this message in the networking platform