|
-
April 21st, 2001, 01:31 PM
#1
Objects not there
This is a dumb one. I have a form with about 100 different objects. Buttons textboxes etc. Now I find that In trying to add a button or textbox or label that these show up fine on the template but at run time they are just not there . Not even when they are declared visible in code. Like I said "a dumb one"
73 RSH
-
April 21st, 2001, 03:14 PM
#2
Re: Objects not there
You might make make sure they are in the visible bounds of the container and that the container is visible.
A quick and dirty check would to put a Debug.print in the Forms_Click event that displays the missing controls top, Left, width and height, etc properties to see where they are located.
John G
-
April 21st, 2001, 03:16 PM
#3
Re: Objects not there
Also chack and make sure they are not Hiding behind another control. Look at the .ZOrder method to determine the pecking order for controls that occupy the same space on a form. The pecking order is listed in the bottom couple of paragraphs of the .Zorder method in MSDN Help
John G
-
April 21st, 2001, 03:56 PM
#4
Re: Objects not there
Sorry Fellers, Like I said it was a dumb one.
I had turned off all objects on load with the (for each) Statement when I wrote the program
a year ago. I forgot it was there.
73 and Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|