Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal vs. Non-Modal
Message
De
10/09/2002 15:26:55
 
 
À
09/09/2002 14:47:25
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00698445
Message ID:
00698992
Vues:
12
This message has been marked as the solution to the initial question of the thread.
If your code is calling the non-modal form and you want to display it as modal, you can display the form using:
myform.show vbModal
I don't know of any property that you can check to see if it is modal or not.

hth.

Rhonda

>I am trying to distribute an app but on 1st run,
>I get the following error:
>
>
RunTime Error - 401
>
>Can't show a non-modal form when a modal form is displayed
>
>This happens on the 1st run because I am using an .ini file to locate
>the MSAccess database. Once the user points to the databse, the path
>is written to the .ini file. The user must point to it upon initial
>startup or any time they move it to a new location. My question is how
>can I tell if a form is modal or not?
>
>TIA for any help
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform