Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 12th, 2006, 09:39 AM
Friend of Wrox
 
Join Date: Jan 2005
Location: Kansas City, Missouri, USA.
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
Reply With Quote
  #2 (permalink)  
Old January 17th, 2006, 12:13 AM
Friend of Wrox
Points: 464, Level: 7
Points: 464, Level: 7 Points: 464, Level: 7 Points: 464, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2005
Location: Colombo, , Sri Lanka.
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
Reply With Quote
  #3 (permalink)  
Old January 17th, 2006, 01:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Alameda, ca, USA.
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
Reply With Quote
  #4 (permalink)  
Old January 19th, 2006, 12:15 AM
Friend of Wrox
Points: 464, Level: 7
Points: 464, Level: 7 Points: 464, Level: 7 Points: 464, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2005
Location: Colombo, , Sri Lanka.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 04:16 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.