How to set commandButton's backstyle to Transparent while running slide???
Ladies and gentlemen,
I have a problem with Powerpoint, it looks like simple but I could not make it happen...In my slide, I added a command button and I want its background to be transparent, I then set it Backstyle property to 0-fmBackstyleTransparent. But when i run my slide (F5), it goes back to its original color, not transparent anymore....
to double check this problem, I created 2 comand buttons named CommandButton1 and CommandButton2, and then put the following code under CommandButton2:
Private Sub CommandButton2_Click()
CommandButton1.BackStyle = fmBackStyleTransparent
End Sub
...and then set the breakpoints each line of the above code, while running my slide and then click on the CommandButton2, I noticed that the Backstyle value of CommandButton1 change from 1 to 0 (that means change from Opaque to Transparent) but when looking at m,y slide, nothing happened to the backstyle of the CommandButton1...
I looked for the manuals and the Help but I could not find any point about this...
Does anyone have any idea about this??? could you please help me to solve out this problem...It's really appreciated...
Many thanks and best regards,
Hao.
|