Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50-Appllication Object
Message
From
13/03/1997 09:15:41
 
 
To
06/03/1997 15:49:44
General information
Forum:
Visual FoxPro
Category:
User groups
Miscellaneous
Thread ID:
00021768
Message ID:
00024071
Views:
47
>>>>>>>>What is the reason for the "Application Object" or
>>>>>>>>"Application Class"?
>>>>>>>>
>>>>>>>>Rob
>>>>>>>
>>>>>>>It replaces...and enhances the _SCREEN object. In a remote automation server, you don't have a screen, so you use the application object.
>>>>>>>
>>>>>>>Craig
>>>>>>
>>>>>>Thanks Craig for your answer...
>>>>>>
>>>>>>I guess that means, you do not have to use the Application Object in your programs if you do not want too...?
>>>>>
>>>>>
>>>>>Robert,
>>>>>
>>>>>Sorry to take so long to get back to you. I was out of town last week.
>>>>>
>>>>>The _VFP application object is always present in a VFP 5.0 application. You can't get rid of it. In addition, most frameworks create what they call an applicaiton object from their own application class. This handles things that the framework needs and is different than and not related to the _VFP object. I hope this doesn't sound too confusing.
>>>>>
>>>>>Now, to answer you question...no, you don't need to create your own application object/class, but it is the OOP way of doing things. It will contain properties that would have been PUBLIC variables in previous versions of Fox.
>>>>>
>>>>>Craig
>>>>
>>>>
>>>>Thanks Craig for your answer... it helps alot...
>>>>
>>>>One more question if you don't mind?
>>>>How do you get rid of the caption area in a form window?
>>>>I am trying to have some basic information on a form and
>>>>using a "more information" command button, I would like to call another
>>>>form that shows more information. Everything works but the caption
>>>>border area looks like another form and not a continuation of the same
>>>>form.
>>>>
>>>>Rob
>>>
>>>
>>>Rather than make it another form, put all the fields on the original form, then in the Form Init, make the form shorter (change the Height property) to hide the fields. When the user click on the More button, again change the height of the form to display the other fields.
>>>
>>>Craig
>>
>>Craig - I have any question, if you don't mind.
>>
>>I am trying to do a search on a datafile that may yeild many records.
>>I am using...
>>select *;
>>from datafile;
>>where lastname=m_lastname'
>>into cursor anycursor
>>
>>The results will go into a grid on a form.
>>I want the user to pick the record they want
>>and return to a main form.
>>I have done this type of thing 10,000 times in
>>foxpro/dos and clipper.
>>Can you help? thanks
>
>Robert,
>
>Looks like you got enough response to the question.
>
>I too am a former Clipper programmer.....and proud to admit the former part. Fox is such an improvement!!!!!
>
>Craig

Hi Craig...

I made an EXE and when I invoke it, it has the _screen behind it.
Is that suppose to be there? How do I maximize it?
I can control the menu displayed and the tilte on the _screen.
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform