Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pop Up form when a modal form is open
Message
From
15/04/2000 19:38:58
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00358776
Message ID:
00360059
Views:
13
>Hi Jim,
>
>In one of my application Modal form calls non-modal form and works fine...
>This is exact syntax:
>
>IF  TYPE("oChForm2")="O" AND NOT ISNULL(oChForm2) AND NOT oChForm2.Visible
>      oChForm2.Show()
> ELSE
>      DO FORM ChangeStreets WITH THISFORM.DATASESSIONID
> ENDIF
>
>
>where oChForm2 is a private variable, defined in the main program
>
>>>>Nope, when I do it Form A will run (modal) Form B (non-modal) comes up behind Form A and I cannot click into Form B from Form A.
>>>
>>>Hmm, what code did you use, I used a single command button with only one line in it:
>>>
>>>DO FORM NonModalForm
>>
>>Me too! I'm using VFP 6 SP3

Dear Nadya,

this is shorter:

TYPE("oChForm2.name")="C"

instead of

TYPE("oChForm2")="O" AND NOT ISNULL(oChForm2)


bb
Previous
Reply
Map
View

Click here to load this message in the networking platform