Skip to Main Content
VB.Net Web Developer's Guide
book

VB.Net Web Developer's Guide

by Syngress
September 2001
Intermediate to advanced content levelIntermediate to advanced
608 pages
23h 46m
English
Syngress
Content preview from VB.Net Web Developer's Guide
294 Chapter 7 • Creating Windows Forms
In Visual Basic .NET, you can also quickly change a form’s location by
increments.The following example adjusts the form’s y-coordinate to 100 pixels
farther than the current setting:
frmPalette.Top += 100
You can use the DesktopLocation property instead of the Location property to
adjust a form’s location.The DesktopLocation property determines the location of
a form relative to the Windows taskbar.This is useful if the taskbar is not auto-
matically hidden and has been docked to the left or top of the monitor, which
obscures the desktop coordinates (0, 0). Setting the desktop location of a form to
(0, 0) ensures ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

VB.NET Core Classes in a Nutshell

VB.NET Core Classes in a Nutshell

Budi Kurniawan, Ted Neward

Publisher Resources

ISBN: 9781928994480