Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I add buttons or menu items to VFP IDE?
Message
De
20/09/2000 23:36:22
 
 
À
20/09/2000 08:33:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00418443
Message ID:
00418856
Vues:
16
Try this:
PUBLIC oTool1
oTool1 = CREAT([oTool])
oTool1.SHOW

DEFINE CLASS oTool AS TOOLBAR
	CAPTION = [DevToolz]
	WIDTH = 1
	ADD OBJECT oButton1 AS oModiComm
	ADD OBJECT oButton2 AS oModiClass
ENDDEFINE

DEFINE CLASS oModiComm AS oButtonClass
	CAPTION = [MODI COMM]
	PROC CLICK
	ACTI WIND COMMAND
	KEYB [modi comm testcode]
	KEYB [{ENTER}]
ENDDEFINE

DEFINE CLASS oModiClass AS oButtonClass
	CAPTION = [MODI CLASS]
	PROC CLICK
	ACTI WIND COMMAND
	KEYB [modi class TestClass of TestLib NOWAIT]
	KEYB [{ENTER}]
ENDDEFINE

DEFINE CLASS oButtonClass as Commandbutton
	fontsize = 8
	fontname = [Arial]
	width = 80
enddefine
Dave



>Can I add buttons or menu items to VFP IDE? For example, say two buttons, one that implements "MODI COMM ?" and one that implements "MODI CLASS ?". Is this done with Project Hooks? Does someone know of a good example or white paper?
>
>Just curious.
>
>Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform