Question : Layout Suggestions

Instead of a drop down combo box that contains all the products we make I would like to create a form which would show each product as a button. The user would see multiple rows of buttons and each would contain an image of the product and the product name. After a selection I would close the form and copy the product name into a different form.

The question is how to layout such a form.View the attached picture for a general idea of what I would like to achieve.. If it's possible I would like to create a dynamic form in which the columns would increase as the dialog form was re-sized by the user. What control's and methods would you suggest to create such a form?

Answer : Layout Suggestions

Attach a database with 4 buttons and explain the procedure to produce the issue.

If a button is involved then in its click event:
You can get Button.Name
 or Button.Tag
You may automate the process with:
Screen.ActiveControl.Name
Screen.ActiveControl.Tag
Random Solutions  
 
programming4us programming4us