Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar to stay active
Message
 
 
To
13/03/2006 23:11:46
Joseph Mathai
Keyword-Tec Services
Bangalore, India
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01104026
Message ID:
01104027
Views:
15
Sure,
_screen.AddProperty("oToolbar", CREATEOBJECT("mytoolbar"))
_screen.oToolbar.Show()
RETURN

DEFINE CLASS mytoolbar AS toolbar

	Caption = "Toolbar1"
	Height = 28
	Left = 0
	Top = 0
	Width = 63
	Name = "mytoolbar"

	ADD OBJECT command1 AS commandbutton WITH ;
		Top = 3, ;
		Left = 5, ;
		Height = 22, ;
		Width = 23, ;
		Caption = "C", ;
		Name = "Command1"

	ADD OBJECT command2 AS commandbutton WITH ;
		Top = 3, ;
		Left = 35, ;
		Height = 22, ;
		Width = 23, ;
		Caption = "U", ;
		Name = "Command2"

	PROCEDURE command1.Click
                * Comment
		KEYBOARD "{ALT+o}m"
	ENDPROC
	PROCEDURE command2.Click
                * Uncomment
		KEYBOARD "{ALT+o}n"
	ENDPROC
ENDDEFINE
>
>Is it possible to have a customised toolbar stay active in the main visual foxpro screen without any other form being active only the menu.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform