MrSandman666
Programmer
Ok, this problem is somewhat intricate.
I load a form into a picturebox by setting the picturebox as the forms parent with the API function SetParent. That way I can display forms inside the picture box. I use this to have a somewhat interchangable interface. More specifically, I use it in combination with a TabStrip controll, so that the content of each register is stored in a seperate form.
This works great and helps me organize my project a lot and makes designing the several input masks a hell of a lot easier but everytime I display a form in the picturebox, the main form looses the focus. This doesn't distract from functionality in any way but it's really annoying. Is there a way to have the child form be treated in a way so that you won't notice that it's not actually part of the main form?
If I expressed myself unclearly, please ask! I'll try to make things clearer.
Thanks a lot for your help.
I load a form into a picturebox by setting the picturebox as the forms parent with the API function SetParent. That way I can display forms inside the picture box. I use this to have a somewhat interchangable interface. More specifically, I use it in combination with a TabStrip controll, so that the content of each register is stored in a seperate form.
This works great and helps me organize my project a lot and makes designing the several input masks a hell of a lot easier but everytime I display a form in the picturebox, the main form looses the focus. This doesn't distract from functionality in any way but it's really annoying. Is there a way to have the child form be treated in a way so that you won't notice that it's not actually part of the main form?
If I expressed myself unclearly, please ask! I'll try to make things clearer.
Thanks a lot for your help.