Aligning Buttons on form picture

Post

Posted
Rating:
#1 (In Topic #1201)
Trainee
<IMG src=""> </IMG>
Hi, Although the attached isnt a complicated example, I have been using tranparent imageboxes with no picture and the mousedown event to trigger to cover "buttons" which are part of the picture in the Form.picture property.  This gives complete freedom in the design of the user interface, not limited to standard button shapes, and no mysterious grey boxes when the mouse id over them.

In VB, when you included a picture on the form it appears at design time, you don't have to wait until run time to see it, so lining up buttons etc was easy to achieve. Is there some way to be able to se ethe picture on the form at the same time I am placing other components ?

Thanks in Anticipation.

Image

(Click to enlarge)

Online now: No Back to the top

Post

Posted
Rating:
#2
Guru
BruceSteers is in the usergroup ‘Guru’
 No.

A PictureBox control will show the image at design but not Form.Picture property
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Guru
cogier is in the usergroup ‘Guru’
I have to agree with Bruce here. There might be another way to look at this. If you put your image in a PictureBox a Mouse_Down event can be checked to establish if a click was made in a particular location. See program attached.
Attachment
Online now: No Back to the top

Post

Posted
Rating:
#4
Guru
BruceSteers is in the usergroup ‘Guru’
 Or get on the mailing list and ask Benoit if Form.Picture property could show in the IDE.
It may be a simple task for him.
Online now: No Back to the top

Post

Posted
Rating:
#5
Trainee
Thanks All - Bruce, I didn't know it was an option to approach the great man himself ! Just wait until I really get going !
Online now: No Back to the top
1 guest and 0 members have just viewed this.