473,732 Members | 2,227 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to control the scrollbars in datagrid

How to control the scrollbars in datagrid

In VB 6.0 you could control if you wanted the scrollbars to be automatic on
when needed or if you just wanted to show vertical or horizontal scrollbar.
Is this possible in a datagrid in VB.net and how?

TIRislaa
Nov 21 '05 #1
0 1077

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1009
by: e t | last post by:
Hello all, For some reason scrollbars are not showing in datagrid even when rows go beyond the borders of datagrid. Couldn't find any property in datagrid nor dataview (which is a datasource) which would fix this. Does anyone know a possible solution to that ? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
3
1556
by: Jay Ayliff | last post by:
Hi All, I have a VB.NET winforms app created in VS2003. It has a datagrid that is dynamically created on a tab. When the tab is displayed the scrollbars for the datagrid appear inside the outline of the grid, positioned where they would have been if the grid was at its design-time size. When you resize the form by dragging a border the scrollbars flip to their correct positions, but I can't find any way of doing this programmatically so the...
5
2143
by: Jack | last post by:
How to change the colour of my datagrid scroll bars in win forms and c# Thanks Jack
3
2748
by: BradBrigade | last post by:
Hi, I created a control deriving from System.Windows.Forms.Control. In my own OnPaint method, I can draw and set the clipping and everything is perfect. But I also added some checkboxes by setting their parent as my control, and I can seem to get them to clip. They just draw themselves over anything that's under them, right up to the very edge of the control. How do I get them to clip where I want? Do I set a property in my control,...
2
1225
by: mg | last post by:
How can I add scrollbars to a DataGrid in a C# WebForm?
1
3673
by: Fabrício de Novaes Kucinskis | last post by:
Hi all, I have to problems concerning datagrids, tabcontrols and scrollbars: 1) I created a form with a TabControl. This TabControl has two TabPages: the first with a datagrid to browse database records and the second with some controls (TextBoxes, OptionButtons...) to edit these records. When the second tab is shown and I use the DataGrid's SetDataBind method, the grid scrollbars are disabled.
1
1235
by: Tina | last post by:
In order to constrain the screen real-estate a datagrid takes, I use an HTML Grid Layout Control with scrollbars. One problem, however is that the datagrid changes horizontal size depending on what's being displayed. It would be nice to be able to adjust the horizontal width of the Grid Layout Control so that the vertical scroll bar would always hug the right side of the grid regardless of the dynamic width. Is there any way to make...
4
1740
by: scorpion53061 | last post by:
I have a datagrid that is switches between 2 different datasources. I set the anchor properties of my datagrid to for bottom, top, left , right. My form is set ot maximize on open. If the user resizes the form, the scrollbars that should be visible on the datagrid are not. Occasionally the scrollbars disappear when the form is maximized when
1
1519
by: anujatomar | last post by:
hi I have programmed the datagrid in windows application form to display records.Now if records are many then scrollbars come automatically. this is ok.But i have also created 'Reset' button in the form to set all the fields of the form as blank ,that is , datagrid too. For this i coded it as datagrid1.datasource=nothing. This is clearing the datagrid but the space between two scrollbars in corner is left which is different from the...
0
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8774
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9307
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.