Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hide command button, but still make it Click?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00522206
Message ID:
00522380
Vues:
9
>Steve,
>
>>>Is there a way to make the command button invisible, but still let the timer press the button at certain intervals? I don't think it worked when I tested it late this afternoon.
>
>
>You might consider putting the operational code that you have in the .Click event into a method that's scoped to the form itself. That way the functionality will be available to any control or process that needs it, regardless of the condition of the command button.
>
>Regards,
>Thom C.

You could also just put

ThisForm.cmdButton.Click()

in your Timer event.. If you explicitly call it like that, it doesn't matter if the button is enabled/disabled, showing/hidden, etc.
Scott
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform