-
December 23rd, 2017, 02:33 PM
#1
This Control is beyond Screen.Height at design time
I have an array of 91 small Labels, grouped together in a 9x10 block at design time,
which are deployed otherwise at runtime.
But there's a gap: somehow Label #14 has escaped the boundaries of the screen!
I've used a MsgBox to query where #14 is initially located,
and it says #14's Top is at 45,545! No, that's not a typo.
(Screen.Height = 9,216 in this case.)
Further complication: #14 is AutoSize = True, but I want them all to be AutoSize = False,
a property that can't be changed at runtime.
I don't have a clue as to why this happened.
Is there a way to retrieve #14 or delete it and make a new one?
(I suppose I could make just the first Label at design time
and use ReDim to create the others at runtime,
but the old #14 would still be stranded out there,
so I would have to change the Name of the array, wouldn't I.)
-
December 27th, 2017, 08:42 AM
#2
Re: This Control is beyond Screen.Height at design time
You can select it in the IDE from the drop down above the properties window and change the settings in the property pane for it as you wish
Always use [code][/code] tags when posting code.
-
December 27th, 2017, 09:41 AM
#3
Re: This Control is beyond Screen.Height at design time
Originally Posted by DataMiser
You can select it in the IDE from the drop down above the properties window and change the settings in the property pane for it as you wish
A dropdown above the properties window! Who knew? Thanks, DataMiser, you are a genius! Happy New Year!
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
|