Solved

ScrollBars property (MSHFlexGrid, MSFlexGrid)

Posted on 2000-04-04
6
543 Views
Last Modified: 2008-02-01
VB6.0; I can't get scrollbars to show, regardless of the setting and of the width/heigth of the grid.
Setting is on for both scrollbars (I tried them all) and size of the grid is given by the application (cols=8, Rows=9, but they are not all shown at the same time.
Any ideas?
0
Comment
Question by:SVHK
6 Comments
 
LVL 1

Expert Comment

by:riduce
ID: 2684874
Did you test it like this

Just add a MsFlexgrid set rows on 50 and the Scrollbars property on flexscrollbarboth.
0
 
LVL 6

Expert Comment

by:Marine
ID: 2684876
Use Scrollbars property of FleXGrid Your settings are probably set to None
0
 

Author Comment

by:SVHK
ID: 2685028
Edited text of question.
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 28

Accepted Solution

by:
AzraSound earned 50 total points
ID: 2686226
i assume 8 cols and 9 rows is enough to cause a need for the scrollbars to show up yes?
0
 

Author Comment

by:SVHK
ID: 2686440
ALL necessary conditions are fulfilled (settings are correct, grid size exceeds container size, etc.).
It just does not work. As I've already encountered problems with flex  constants (e.g. the highlight constants are inverted) I thought something similar might be the case here.
0
 

Expert Comment

by:jkvalli
ID: 2686808
Scroll bars appear on an MSFlexGrid only if its contents extend beyond its borders and value specifies scroll bars.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

774 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question