Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open a form in a formset after release
Message
From
31/03/1998 22:19:19
 
 
To
31/03/1998 12:33:25
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00088446
Message ID:
00088585
Views:
24
>>Dear all,
>>
>>I have a formset containing 2 forms. When opening the formset, I have released form 2 in the init of form 1. Then after clicking a button in form 1, I want to open form 2. But I cannot find the command in any book or help. Is it possible?
>>I have tried:
>>thisformset.form2.open or
>>thisformset.form2.activate
>>but all fail.
>
>Release form means that you annihilated it completely. You should either Form.Hide and then Form.Show or open empty formset and then use Formset.Addobject() to instanciate new forms from classes.

Well, can I use:

_screen.Addobject('MyNewForm','Form') ??

or simplest add code after the 'Read Events'

Do FOrm mYformABC

Read Events

Do FOrm MyFormNext
* pqr = createobject('Pqr','Form') ....

Read events....

^_^;
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform