Help, help, help !

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
6 posts Page 1 of 1
Contributors
User avatar
M1z23R
VIP - Donator
VIP - Donator
Posts: 622
Joined: Tue Sep 28, 2010 4:55 pm

Help, help, help !
M1z23R
Ok, so i have a 'ghosttheme' in my program. I've been using it for 6 months now for sure and it was never a problem, but now i debugged my project to see my changes in action, and when i stopped the debug, my form was completely empty (except for the "GhostTheme1") all other controls are partially lost, i can see them in properties view, but only theme control is shown. Please help asap i am scared, and in my designer file are still all controls 'visible'.

Image
User avatar
XTechVB
VIP - Site Partner
VIP - Site Partner
Posts: 727
Joined: Thu May 20, 2010 10:32 am

Re: Help, help, help !
XTechVB
If you mean the controls in the bottom red rectangle, then there is no problem because none of them are visible in a Window. The ContextMenuStrips will be visible but only if you click on them.

As for the rest try a "Send To Back" on your theme, see if that solves the problem.
You can find me on Facebook or on Skype mihai_92b
User avatar
M1z23R
VIP - Donator
VIP - Donator
Posts: 622
Joined: Tue Sep 28, 2010 4:55 pm

Re: Help, help, help !
M1z23R
It is not that this control got over all the others, i can't find any of the controls on my form view, but i can access them through code - for example change text value of textbox.
User avatar
XTechVB
VIP - Site Partner
VIP - Site Partner
Posts: 727
Joined: Thu May 20, 2010 10:32 am

Re: Help, help, help !
XTechVB
M1z23R wrote:
It is not that this control got over all the others, i can't find any of the controls on my form view, but i can access them through code - for example change text value of textbox.
Try closing and reopening the Project, if that doesn't work then the YourForm.Designer.vb file is somehow corrupted and at this point you'd be better off recreating the project from scratch then attempting to fix this one.
You can find me on Facebook or on Skype mihai_92b
User avatar
M1z23R
VIP - Donator
VIP - Donator
Posts: 622
Joined: Tue Sep 28, 2010 4:55 pm

Re: Help, help, help !
M1z23R
Dude, the designer code is 2000 lines long '-.- i have no idea what happened :/
User avatar
M1z23R
VIP - Donator
VIP - Donator
Posts: 622
Joined: Tue Sep 28, 2010 4:55 pm

Re: Help, help, help !
M1z23R
Sorry for double posting, but does anyone know how can i get my controls back ? The code in designer seems fine, and almost identical with other forms designer file.

Edit:
I found out what is wrong, i have a class with some delegates for multithreading and i tried to create a delegate that will change the text of my theme (containercontrol). And since you can only put windows's controls, for example button,label and similar, instead of using container control since the theme is inherited from container control, i use control, and when i called it first time, the designer removed the lines with "Theme1.Controls.Add(*)" and nothing was being added to the theme.
I was lucky to have a groupbox and a tabcontrol as lost controls :D
6 posts Page 1 of 1
Return to “Coding Help & Support”