Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What can you do in a menu procedure?
Message
 
À
27/08/2002 18:59:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00694276
Message ID:
00694334
Vues:
11
Hi James,

>Hello Group,
>
>I have tried to put an ON ERROR DO ErrorHandler in my menu item procedure.
>It didn't do anything.
>
>Can you put error handling in a menu procedure?
>
>Can you put a second procedure in a menu procedure?
>Can you call another procedure from a menu procedure?
* Main procedure
=SecondProc()

PROCEDURE SecondProc
LOCAL loo
loo=CREATEOBJECT("_myClass")
RETURN loo.GetTime()
ENDPROC

DEFINE CLASS _myClass AS CUSTOM
   PROCEDURE GetTime()
      RETURN TIME()
   ENDPROC
ENDDEFINE
>
>
>Thanks
>Jim


MartinJ
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform