[url=
http://www.gulfup.com/?ZVNTHn][img]http://im35.gulfup.com/1Ak5C.png[/img][/url]
[url=
http://www.gulfup.com/?wPgIkR][img]http://im35.gulfup.com/Yk2kP.png[/img][/url]
Enter a number of integer values between 100 and 200 inclusively in the edit box. Click OK button after each entry in order to accept the integer number. Clear the edit box after each entry and set focus to the edit box again in order to enter the next integer number. You have to enter exactly 5 valid values.
Given the following two forms at run time 5
Initially, all components are enabled except the Draw button. After you accept the fifth value, the Draw button will be enabled.
• If you press on “OK” button, the scenario above will be applied and the entered value will be stored in the stack which should be defined earlier and the same value will be printed on the memo.
• If you press on “Draw” button, the first value pushed in the stack will be fetched and a square of the same side-length value will be drawn starting from the middle of the form. Example: if the first value pushed in the stack is 150, then the side length of the square should be 150.
• If you press on “Clear” button, the edit box and the memo will be cleared, the drawing will be removed, the focus should be on the edit box, and OK button will be enabled.
• If you press on “Close” button, then the application will be closed.