Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I add buttons or menu items to VFP IDE?
Message
From
20/09/2000 23:36:22
 
 
To
20/09/2000 08:33:43
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00418443
Message ID:
00418856
Views:
17
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform