Information générale
Catégorie:
Codage, syntaxe et commandes
Hi David
Thanks for the advice
regards,
Gerard
>Gerard,
>
>I'd make one additional comment.. rather than explicitly calling the click() method of some internal form object. It's a little better design to put the code you have in the method, and move it to a custom method of the form itself. Then you can have the cmd.Click() call the method as well as the form automation task you are writing below.
>
>>I have code as follows:
>>Do Form MyForm Name oMyForm WITH 'O' NOSHOW
>>OMyform.MyCommand.Click
>>
>>However, The Init of the form can have a Return .f., dpending on circumstances
>>If this is the case, the omYForm.MyCommand.Click throws up an error.
>>
>>Is there a way of establishing if Myform is still open ?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement