VISUAL BASIC

INTRODUCTION TO NET

BASICS OF NET FRAMEWORK

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Form’s ____ property is used to specify t he initial position on the screen.
A
InitialPosition
B
StartPosition
C
StartScreen
D
InitialScreen
Explanation: 

Detailed explanation-1: -When the application is started, the initial position of the form is determined by “StartPosition” property. Therefore, the “StartPosition” property is used to determine the initial position of the screen when it is started. Hence, the correct option is d.

Detailed explanation-2: -The StartPosition property is used to set where the windows form will be positioned when it first appears on the screen.

Detailed explanation-3: -Forms. Control. These include properties such as Font, ForeColor, BackColor, Bounds, ClientRectangle, DisplayRectangle, Enabled, Focused, Height, Width, Visible, AutoSize, and many others.

Detailed explanation-4: -If you want to set the size and location of a form, you can use the DesktopBounds property to size and locate the form based on desktop coordinates or use the Bounds property of the Control class to set the size and location of the form based on screen coordinates.

Detailed explanation-5: -Visual Basic Form is the container for all the controls that make up the user interface. Every window you see in a running visual basic application is a form, thus the terms form and window describe the same entity. Visual Studio creates a default form for you when you create a Windows Forms Application.

Detailed explanation-6: -In Visual Studio, find the Project Explorer pane. Right-click on the project and choose Add > Existing Item. Navigate to the folder containing your form files. Select the form2. cs file, where form2 is the base file name of the related form files. 08-Feb-2022

There is 1 question to complete.