ferasferas
01-22-2005, 09:35 AM
Hi for every one :)
I've tow question about the Image control as the following:
1. How can I make a transperant colour to the picture, that image control have it, in it's picture property. (ex. the pic of rounded button, so I didn't want to show just the rounded button)
2. I want to use the image control as a button, so I put a button pic in it's picture property. But I want that button to have deferent pic according to the mouse postion (MouseOver) and state (Mousedown) and (MouseUp).
Now the problem, as you know I use the MouseMove property to load a suitable pic to that state.
Then I use the MouseMove property to the form to load the ordinary state to that button, also I put the MouseMove property to all controls on the form to make the image control show the ordinary state pic.
And I find that so difficult especially if I have 10 or 20 button.
so is there away to put a pic to the image control when MouseMove and put another pic to it when the Mouse isn't on it ( I mean whenever it was, on the form or on any control on that form )
I've tow question about the Image control as the following:
1. How can I make a transperant colour to the picture, that image control have it, in it's picture property. (ex. the pic of rounded button, so I didn't want to show just the rounded button)
2. I want to use the image control as a button, so I put a button pic in it's picture property. But I want that button to have deferent pic according to the mouse postion (MouseOver) and state (Mousedown) and (MouseUp).
Now the problem, as you know I use the MouseMove property to load a suitable pic to that state.
Then I use the MouseMove property to the form to load the ordinary state to that button, also I put the MouseMove property to all controls on the form to make the image control show the ordinary state pic.
And I find that so difficult especially if I have 10 or 20 button.
so is there away to put a pic to the image control when MouseMove and put another pic to it when the Mouse isn't on it ( I mean whenever it was, on the form or on any control on that form )