>Please help me on the following :
>
>1. How do i launch a form in .prg files? I did the following :
>
> do form SomeFormName
> read events
> *its not returning from the form
> *i mean the following is not printing even
> *after the form is closed with
> *close button.
> ?'Wont be prnited'
>
> The form does not seem to return to .prg after i
> close the form with close button.
You will need to have a CLEAR EVENTS in the form in order to return control
back to the PRG
>
>2. How do i launch a form from withing another form?
> Like the following is in click event of a button on form :
>
> procedure click
> *
> * some code to validate user
> *
> if UserValid
> release thisform
> do form TheNextDesiredForm && is this how am i to launch a form?
> read events && need help on this.
> else
> * invalid user error message
> endif
>
> my question is, how do i launch the next desired form in the
> uservalid module?
Assuming my answer to #1 above works, you shouldn't pass control from one form to another in this manner. You shouldn't anyway, for that matter. There should only be one READ EVENTS for any "sequence" of UI forms.
>3. how do i add menu to any form? can i not add menu to anyform?
ACTIVATE MENU, if your form is set up as a top-level form (see below).
>4. how do i hide the foxpro screen and give my forms the whole control?
Set the main form .ShowWindow property = 2 (As top level form)
>
>I am an expereinced foxpro 2.6 programmer (8 years) also i understand strong OO as being Sun Java certified. Also RDBMS is fine due to Oracle. Kindly guide me on these basic problems of mine. I will be grateful. I am stuckup in one of my very important project on the above issues. HELP.
Dan LeClair
www.cyberwombat.comSET RANT ON - The Wombat BlogLife isn’t a morality contest and purity makes a poor shield. - J. Peter MulhernDisclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.