picturebutton in Foxpro 8 and 9

Hi there,
I have a maybe dumb question.
I would like to use a graphic as a button with text on it that i can change.
This is easy with the button object but on that i am not able to place the text over the graphic,
showing only the graphic with the text on it.
Text cut just be placed obove, under left and right off the graphic.
I tried to use a graphic object with a text label over it, looks good but the label blocks the mouseclick to the button.
It would be very nice if someone cut tell me what i am doing wrong....
[556 byte] By [theblackknight] at [2008-3-3]
# 1
Why not let the label.click() event call the button.click() event
example: thisform.YourButtonName.click()
Or, you could bindevent() to the label click() event
example: bindevent(thisform.label1,"Click",this,"Click")
Note: If your controls are in a container then you would replace ThisForm with This.Parent etc.
Vasim at 2007-9-8 > top of Msdn Tech,Visual FoxPro,Visual FoxPro General...
# 2
sounds good i will try it right away, thanks a lot
theblackknight at 2007-9-8 > top of Msdn Tech,Visual FoxPro,Visual FoxPro General...
# 3
Or place an image and label control and on top of them a transparent commandbutton.
CetinBasoz at 2007-9-8 > top of Msdn Tech,Visual FoxPro,Visual FoxPro General...