Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activate form if it is opened before
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00825696
Message ID:
00825719
Vues:
19
I use something like:
local llFound
for each loForm in _screen.forms
    if upper(loForm.Name) = [MYFORMNAME]
       llFound = .t.
       loForm.Show()
    endif
endfor
if not llFound
   do form MyForm
endif
>Hi All,
>
>i am using im my menus to prevent twice open forms like below code
>
>
>* to the each form i am setting a name to the name property generall its being scx name
>
>* in skip for option code is on my menu
>
>wexist("myform")
>
>
>
>its running , and prevents second openings
>
>now i wantto do this , if form is open i wantto bring it front (activating called form etc)
>
>how ?
>
>TIA
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform