Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Color the Buttons
Message
From
06/09/2009 00:43:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Color the Buttons
Miscellaneous
Thread ID:
01422822
Message ID:
01422822
Views:
113
Is there a away to add colors to the command buttons - where would i place it?
along the same lines is there a way to add image to the command button?
This is the format i am using

thanks
K

frmMyForm = CREATEOBJECT('Form')
frmMyForm.Closable = .F.

frmMyForm.AddObject('cmdCmndBtn1','cmdMyCmndBtn1')

frmMyForm.cmdCmndBtn1.Visible =.T.

DEFINE CLASS cmdMyCmndBtn1 AS COMMANDBUTTON
Caption = '\Click Here'
Left = 60
Top = 30
Height = 25

PROCEDURE Click
clear events
cancel = .F.
ENDDEFINE
Next
Reply
Map
View

Click here to load this message in the networking platform