Link to home
Start Free TrialLog in
Avatar of arvindb1
arvindb1

asked on

background problem of mdi form

Hi

i have a main mdi form having a top level menu and i open up various forms from the menu like this
dim frmnew as new myform
frmnew.mdiparent=me
frmnew.show

The problem is that i want to set the background (which is an image) of the main form.  but encountered some problems. i used two ways

first
I tried setting background image property of main form, now the problem here is
my image size is 800,500 but if application is opened in 1024X768 mode then image got tiled automatically but i want it to remain centered.

second
I tried having a picture box on the main form and set the image property but then if i try to open any other forms then they are always hidden behind this image.

Anyway which can solve this proble is most welcome.
Arvind
ASKER CERTIFIED SOLUTION
Avatar of HappyParrot
HappyParrot
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial