Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activate Window 'Calendar' is not active long
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01416627
Message ID:
01416628
Vues:
71
>This is a perplexing problem i can't solve.
>(I have raised this question before as 'date box' and some of you have shown me alternatives to use. However i would like to know the remedy to the original VFP calendar.
>
>1) **If i leave the code as follows as an isolated task it displays the calendar and allows input and the input is stored to _DIARYDATE
>
>=MESSAGEBOX("Select a date then close window",48)
>ACTIVATE WINDOW 'calendar' && this displays calendar and accepts input
>*********************************************
>
>2) **If i ADD any command afterwards i cannot input the active calendar window - the program jumps to the next command line
>
>=MESSAGEBOX("Select a date then close window",48)
>ACTIVATE WINDOW 'calendar'

Try here
if not  wVisible('Calendar') && you may try wExist also

=MESSAGEBOX(DTOC(_DIARYDATE),64)  && program jumps immediately to this without alowing input to calendar
**********************************************
endif
>3) Is there a line of code i am missing AFTER activate that will allow input to the calendar BEFORE moving to the next command line.
>
>thanks
>
>k
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform