p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning VB.NET Databases (http://p2p.wrox.com/forumdisplay.php?f=147)
-   -   Appendix - for the Author (http://p2p.wrox.com/showthread.php?t=36379)

uberfist December 22nd, 2005 11:55 AM

Appendix - for the Author
 
I'm building the Time Tracker UI and the pnlUsers seems to be missing. Somehow, it came undocked from panel7 and I cannot find it no matter where I set its location at.

It's not exactly missing, per se; the object still exists, as do all it's text boxes, group box and list view. What's happening is that when I click the object, it's not visible on the interface and the borders aren't even making themselves seen. This is unique because this has nothing to do with the object's visible property (set at true).

What I want to know is how can I fix this issue without killing the form and re-doing it completely?


Thearon December 22nd, 2005 03:36 PM

Have you tried setting the Location property for pnlUsers to 0,0?

uberfist December 27th, 2005 04:00 PM

Quote:

quote:Originally posted by Thearon
 Have you tried setting the Location property for pnlUsers to 0,0?
Yes, the problem is that the object is no longer docked to panel7. It's somewhere else entirely and even the outline of its borders are not visible. I can see its group box and it's list view, just not pnlUsers.


uberfist February 15th, 2006 04:23 PM

So what I decided to do was delete all objects on the particular pnlUsers and start from scratch, leaving only two objects (lvwUsers and pnlUsers). Unfortunately, no matter what I do (resetting location, bring to front, changing the size, visibility property, etc), I cannot make these objects visible to cut out. They simply will not show up on the screen at all, and it appears that this is the only way to delete an object.

Is there some other way to delete an object that you can't see? Is there something in the menu bar that allows you to delete an object that you cannot make visible? Is this some kind of bug? Please help.


Thearon February 16th, 2006 11:38 AM

If you know the object names, you can view the code and delete them from there. This is not ideal but it is a work around.

Thearon

uberfist February 16th, 2006 06:09 PM

Did that and the objects are now gone. I'll rebuild them right this time. Thanks.



All times are GMT -4. The time now is 08:55 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.