Microsoft
Software
Hardware
Network
Question : Can the Top position of an object be moved into a position where a ToolStrip was that got set invisible?
Can the Top position of an object be moved into a position where a ToolStrip was that got set invisible?
I have a grid that sits at location 0,0 which shows up right under a Toolstrip. This is all on a User Control. I want to be able to set a property on this user control that turns the toolstrip off. But I cannot get the Grid to move up to the top... it still thinks the toolstrip is there and it somehow is telling the grid that it is still there.
I tried disposing the toolstrip, but it didn't like that either.
I also tried setting the grid.top to - 40 to see if it would go up where the toolstrip was. It didn't do anything.
Does anyone have an idea how to move the grid up to where the toolstrip was? I want to be able to turn the toolstrip on and off and it re-gain the realestate on the user control.
Thanks
Answer : Can the Top position of an object be moved into a position where a ToolStrip was that got set invisible?
Simply set the "Dock" property of the Grid to "Top". If you don't want the grid to be full width, put it in a panel, then set the panel's "Dock" property to "Top>
Wayne
Random Solutions
ms access field format
what constitutes temp and junk files
sql server udp port
CSS to make image expand to left
create login error
ASSP Spam Issues
Why trying to resize disk in VMWARE WORSTATION:Please open the parent virtual disk...
cold fusion form: When my dropdown field changes, how do I update a another field that shows the current date/stamp?
How many millimeters between the outer most screws on a standard SATA 3.5" hard drive?
ORA-01578: ORACLE data block corrupted - ON A NEW Oracle database installation Windows 2008 32-bit