Page #123 (Case 2: Large Errors)

 

Case 3: Size Loss

Buttons, text boxes, etc., are prone to disappearing because their size suddenly decreases to (0, 0) or some other small number. Move to the window template, highlight the Quit button, and set its size in the Properties window to (0, 0). The button will disappear from the template until you highlight button1 in the top of the Properties window. After highlighting button1, a tiny square appears on the template at the current location of the button. This tiny square is the tip-off to the programmer that the size dimensions have collapsed . Move to the Properties window and reset the button size to (75, 25). This corrects the problem.

 


Unlocking Microsoft C# V 2.0 Programming Secrets
Unlocking Microsoft C# V 2.0 Programming Secrets (Wordware Applications Library)
ISBN: 1556220979
EAN: 2147483647
Year: 2005
Pages: 129

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net