Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 21st, 2004, 03:57 PM
Authorized User
 
Join Date: Jun 2004
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sliding forms

Hi All,
 I want to create a form which automatically slides from left or right when mouse hovers on a certain button. Like in vb .net editor when you hover your mouse on "toolbox" or "properties" buttons the related screen slides and shows up.
 I couldnt figure out how to do it, can anyone help?
thanks in advance.

__________________
------------------------
http://www.indrajal.com
 
Old December 22nd, 2004, 07:57 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Default

set the control (form or whatever) width to 0

create an event handler for the button's mouseover event that changes the control width to however wide you want it to be.

This will look a little abrupt, there won't be any nice scrolling. To get that, you'd need a loop that incremented the width of the control by a certain amount each loop cycle.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Sliding Bar scandalous Access 1 February 8th, 2007 01:04 PM
Opening forms from other forms Paulsh Access VBA 1 September 30th, 2004 06:54 PM
sliding menus Adam H-W Javascript 3 November 18th, 2003 09:38 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.