Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid
Message
From
01/09/1998 06:21:09
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Grid
Miscellaneous
Thread ID:
00131252
Message ID:
00131829
Views:
16
>>
>>Hey, That worked! Thanks
>
>No problem - I built an addition to the house while testing it. Don't forget that before you run the code above you'll need:
>SET ClassLib to PERMIT.VCX additive
>CreateObject('PERMIT', n)
>
>where "n" is, of course, the number of rooms you'll be adding :-))
>

Thanks but here in southeast Missouri we don't use them except in cities...

On another note:
I have a form class and when I run a form based on this form that is outside of an application I need to detect that and load the application class I guess so methods that are in the application class are available to the form. Would the syntax be something like the following?

init or load method of form
IF TYPE("oApp") = "U" && it ain't out there
SET CLASSLIB TO JetApp.vcx
oApp = CREATEOBJECT("JetApp")
This.cPrivateSession = .T.
ELSE
This.cPrivateSession = .F.
ENDIF

destroy method of form
IF This.cPrivateSession
RELEASE oApp
ENDIF



Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform