Hello,

I try to put the datagrid in back of the imagebox. . but it always appear in the front of imagebox. . . and it affects the design of my program. :'(

Is there a way to put the Image Box in front of the other controls on the form. . .??:?:

Please help. . .

Thanks.

Unfortunatly no. There are three layers to forms and containers. The back layer is where the forms graphical methods are drawn. The next layer layer is where graphical controls are rendered and this is where the image control lies(controls with no hwnd). The top layer is where windowed controls are rendered (anything with a hwnd).

So, you can use a picturebox if you want to coverup other controls.

Good Luck

God this problem took me back... I am now offficially old

The only easy way round it I could find was to put the image box in an picture box.

There are other options, google Karl Peterson for instance, but unless you have time on your hands I would not bother.

Sorry

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.