Form

Form

Upgrades to System.Windows.Forms.Form.

Visual Basic 6

Type

Visual Basic .NET

Activate

Event

Activated

ActiveControl

Property

ActiveControl

Appearance

Property

No mapping

AutoRedraw

Property

No mapping

BackColor

Property

BackColor

BorderStyle

Property

FormBorderStyle

Caption

Property

Text

Circle

Method

No mapping

Click

Event

Click

ClipControls

Property

No mapping

Cls

Method

No mapping

ControlBox

Property

ControlBox

Controls

Property

Controls

Count

Property

Controls.Count

CurrentX

Property

No mapping

CurrentY

Property

No mapping

DblClick

Event

DoubleClick

Deactivate

Event

Deactivate

DragDrop

Event

No mapping

DragOver

Event

No mapping

DrawMode

Property

No mapping

DrawStyle

Property

No mapping

DrawWidth

Property

No mapping

Enabled

Property

Enabled

FillColor

Property

No mapping

FillStyle

Property

No mapping

Font

Property

Font

FontBold

Property

Font.Bold, VB6.FontChangeBold

FontItalic

Property

Font.Italic, VB6.FontChangeItalic

FontName

Property

Font.Name, VB6.FontChangeName

FontSize

Property

Font.SizeInPoints, VB6.FontChangeSize

FontStrikethru

Property

Font.StrikeOut, VB6.FontChangeStrikeOut

FontTransparent

Property

No mapping

FontUnderline

Property

Font.Underline, VB6.FontChangeUnderline

ForeColor

Property

ForeColor

GotFocus

Event

GotFocus

HasDC

Property

No mapping

HDC

Property

No mapping

Height

Property

Height

HelpContextID

Property

No mapping

Hide

Method

Hide

HWnd

Property

Handle

Icon

Property

Icon

Image

Property

No mapping

Initialize

Event

Initialize method called from New event

KeyDown

Event

KeyDown

KeyPress

Event

KeyPress

KeyPreview

Property

KeyPreview

KeyUp

Event

KeyUp

Left

Property

Left

Line

Method

No mapping

LinkClose

Event

No mapping

LinkError

Event

No mapping

LinkExecute

Event

No mapping

LinkMode

Property

No mapping

LinkOpen

Event

No mapping

LinkTopic

Property

No mapping

Load

Event

Load

LostFocus

Event

LostFocus

MaxButton

Property

MaximizeBox

MDIChild

Property

At design time, if value is True, then MDIParent property is set in the New event At run time, maps to expression Not f.MDIParent Is Nothing

MinButton

Property

MinimizeBox

MouseDown

Event

MouseDown

MouseIcon

Property

No mapping

MouseMove

Event

MouseMove

MousePointer

Property

Cursor

MouseUp

Event

MouseUp

Move

Method

SetBounds

Moveable

Property

No mapping

Name

Property

Name

NegotiateMenus

Property

No mapping

OLECompleteDrag

Event

No mapping

OLEDrag

Method

No mapping

OLEDragDrop

Event

No mapping

OLEDragOver

Event

No mapping

OLEDropMode

Property

No mapping

OLEGiveFeedback

Event

No mapping

OLESetData

Event

No mapping

OLEStartDrag

Event

No mapping

Paint

Event

Paint

PaintPicture

Method

No mapping

Palette

Property

No mapping

PaletteMode

Property

No mapping

Picture

Property

BackgroundImage

Point

Method

No mapping

PopupMenu

Method

No mapping

PrintForm

Method

Not mapped (See Chapter 15 for how to implement PrintForm.)

PSet

Method

No mapping

QueryUnload

Event

Closing

Refresh

Method

Refresh

Resize

Event

Resize

RightToLeft

Property

RightToLeft

Scale

Method

No mapping

ScaleHeight

Property

At run time, x.ClientRectangle.Height method for Get

ScaleLeft

Property

No mapping

ScaleMode

Property

No mapping

ScaleTop

Property

No mapping

ScaleWidth

Property

At run time, x.ClientRectangle.Width method for Get

ScaleX

Method

No mapping

ScaleY

Method

No mapping

SetFocus

Method

Activate

Show

Method

Show, or ShowDialog if Modal parameter is vbModal, VB6.ShowForm method if Modal parameter is a variable

ShowInTaskbar

Property

ShowInTaskBar

StartUpPosition

Property

StartPosition

Tag

Property

Tag

Terminate

Event

Terminate method, called from Dispose event

TextHeight

Method

No mapping

TextWidth

Method

No mapping

Top

Property

Top

Unload

Event

Closed

ValidateControls

Method

VB6.ValidateControls method

Visible

Property

Visible

WhatsThisButton

Property

HelpButton

WhatsThisHelp

Property

No mapping

WhatsThisMode

Method

VB6.WhatsThisMode method

Width

Property

Width

WindowState

Property

WindowState

ZOrder

Method

VB6.ZOrder method, or BringToFront if Position parameter is 0, SendToBack if Position parameter is 1



Upgrading Microsoft Visual Basic 6.0to Microsoft Visual Basic  .NET
Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic .NET w/accompanying CD-ROM
ISBN: 073561587X
EAN: 2147483647
Year: 2001
Pages: 179

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