Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To 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 January 12th, 2006, 09:39 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
Default Unlimited scrolling

Hi All,
This is my first post here on the VB how-to. I've been on the Access side for quite awhile.

Anyway, here's my dilemna:

I've created a form that has a combobox array that starts at the top left of a form and I load the next one underneath and keep going until I'm out of records. Everything seems to work fine, except that with the vertical scroll bars, I can only scroll down so far. Depending on the number of records, it looks like I'm limited to about 22".

I've tried pictureboxes, 1 inside another and all sorts of other things, but can't seem to get it to work.

Any ideas?

Thanks in advance for your help.

Kevin

dartcoach
__________________
dartcoach
 
Old January 17th, 2006, 12:13 AM
Friend of Wrox
 
Join Date: Dec 2005
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nalla Send a message via Yahoo to nalla
Default


Hi dartcoach,

try to increase the form's height using the height property of your form.






nalaka hewage
 
Old January 17th, 2006, 01:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

how do you scroll the window? did you put a vertical scrollbar and handle its events manually?
I would use a FlexGrid to load the records, using a custom ComboBox in it (like it is done with a TextBox to add editing capabilities to the grid)
Or just a DataGrid, now that I thought of that.

Marco
 
Old January 19th, 2006, 12:15 AM
Friend of Wrox
 
Join Date: Dec 2005
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nalla Send a message via Yahoo to nalla
Default


Hi Kevin,

You don't need to add a vertical scroll bar to the flexgrid. It will add a scroll bar automatically to the flexgrid when you add rows to the grid. so you can scroll down to thee those rows which you can't see as a glance. And it will add a horizontal scroll bar also if your flexgrid's total column's width exceeds the flexgrid width.


nalaka hewage





Similar Threads
Thread Thread Starter Forum Replies Last Post
Multilevel unlimited subcategory ? atul PHP Databases 0 September 22nd, 2007 12:37 AM
Unlimited categories golden_drifter Access 2 August 31st, 2006 07:21 AM
cin and unlimited data set size phenix151 C++ Programming 4 October 13th, 2003 09:21 AM
Scrolling smn2 Classic ASP Basics 0 August 28th, 2003 05:00 AM
Get unlimited input from user WO using sentinel # frank_jarle J2EE 4 July 9th, 2003 03:42 AM





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