Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic .NET w/accompanying CD-ROM
VScrollBar
Upgrades to System.Windows.Forms.VScrollBar
| Visual Basic 6 | Type | Visual Basic .NET |
| CausesValidation | Property | CausesValidation |
| Change | Event | Change method called from Scroll event |
| Container | Property | Parent |
| Drag | Method | No mapping |
| DragDrop | Event | No mapping |
| DragIcon | Property | No mapping |
| DragMode | Property | No mapping |
| DragOver | Event | No mapping |
| Enabled | Property | Enabled |
| GotFocus | Event | Enter |
| Height | Property | Height |
| HelpContextID | Property | No mapping |
| hWnd | Property | Handle |
| Index | Property | Index property of ControlArray object |
| KeyDown | Event | KeyDown |
| KeyPress | Event | KeyPress |
| KeyUp | Event | KeyUp |
| LargeChange | Property | LargeChange at design time; three lines of code at run time to calculate new value |
| Left | Property | Left |
| LostFocus | Event | Leave |
| Max | Property | At design time,Maximum At run time, value calculated from LargeChange |
| Min | Property | Minimum |
| MouseIcon | Property | No mapping |
| MousePointer | Property | Cursor |
| Move | Method | SetBounds |
| Name | Property | Name |
| Parent | Property | FindForm |
| Refresh | Method | Refresh |
| RightToLeft | Property | RightToLeft |
| Scroll | Event | Scroll event, or Scroll_renamed method called from Scroll event if Change event exists |
| SetFocus | Method | Focus |
| ShowWhatsThis | Method | No mapping |
| SmallChange | Property | SmallChange |
| TabIndex | Property | TabIndex |
| TabStop | Property | TabStop |
| Tag | Property | Tag |
| Top | Property | Top |
| Validate | Event | Validating |
| Value | Property | Value |
| Visible | Property | Visible |
| WhatsThisHelpID | Property | No mapping |
| Width | Property | Width |
| ZOrder | Method | VB6.ZOrder method, or BringToFront if Position parameter is 0, SendToBack if Position parameter is 1 |