Hi,
I've a datagrid bound on a table that exceed the horizontal size. Ive 2
problems:
1- The horizontal scrollbar is hidden sometime.
2- on the scrollbar, I can scroll if I move the bar but if I click on the
right button (of the scroll bar) it doesn't scroll.
Any Idea about this problem.
thanks 2 1301
Toufik,
Try to "dock" it, if needed on a panel.
I hope this helps, otherwise reply
Cor
"Toufik" <to****@hotmail .com> schreef in bericht
news:eP******** *****@TK2MSFTNG P04.phx.gbl... Hi, I've a datagrid bound on a table that exceed the horizontal size. Ive 2 problems: 1- The horizontal scrollbar is hidden sometime. 2- on the scrollbar, I can scroll if I move the bar but if I click on the right button (of the scroll bar) it doesn't scroll.
Any Idea about this problem. thanks
Thanks Cor, but I'me note sure that I did undersrand.
I selected the datagrid, and I setted the DOCK proprety to center... but
this doenst fix the problem
Any Idea about this.
"Cor Ligthert [MVP]" <no************ @planet.nl> wrote in message
news:uF******** ******@TK2MSFTN GP03.phx.gbl... Toufik,
Try to "dock" it, if needed on a panel.
I hope this helps, otherwise reply
Cor
"Toufik" <to****@hotmail .com> schreef in bericht news:eP******** *****@TK2MSFTNG P04.phx.gbl... Hi, I've a datagrid bound on a table that exceed the horizontal size. Ive 2 problems: 1- The horizontal scrollbar is hidden sometime. 2- on the scrollbar, I can scroll if I move the bar but if I click on
the right button (of the scroll bar) it doesn't scroll.
Any Idea about this problem. thanks
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
by: Jack |
last post by:
Mi ingles es peor que el de Toro Sentado, espero que en español haya alguien capaz de entenderme y orientarme
Trabajo con Visual Studio 2003 y C#, he creado un control derivado de datagrid y he conseguido modificar la apariencia del datagrid, colores de columnas, fuente, estilo de cabeceras de filas y columnas etc... Hasta aqui todo bien, pero soy incapaz de variar el color y estilo de los scrollbars vertical y horizontal, al parecer esto es...
|
by: Steve |
last post by:
I have windows form with datagrid control.
I don't want the datagrid control to display vertical and horizontal
scrollbars.
I wonder whether there is a way to get rid of scrollbars without
deriving my own class from System::Windows::Forms::DataGrid?
The problem is that unless I derive my own class from DataGrid
I don't have access to scroll bar objects. The HorizScrollBar and
VertScrollBar
|
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.
|
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
| |
by: Dave Taylor |
last post by:
I have a StatusBar control docked to the bottom of the screen, a horizontal
splitter control just above that, and then a DataGrid control that has its
docking property set to Fill above that. (I'm trying to create a
"Properties Window" similar to the Properties Window in Visual Studio). The
problem is, when I resize the StatusBar, making it larger by moving the
splitter control, it does not force DataGrid to redraw and display the...
|
by: Brian Henry |
last post by:
I have a datagrid on my form, and it initially is disabled because we dont
want any data entry into it... then when the person runs an import process
the datagrid gets enabled and then filled with data... but here is the
problem, the data is present... you can scroll through it using a wheel
mouse but the scrollbars are still disbled! the datagrid's enabled property
shows its enabled, i can do data entry into it, but the scrollbars will not...
|
by: Jesse Aufiero |
last post by:
Hi all,
I have a disabled datagrid on my form. Disabling it was, it seemed, the
only way to prevent the user from being able to change the selected row or
modify the appearance of the grid in any way.
The problem is that I need working scrollbars on this grid, and disabling
the grid also disables the scrollbars.
Is there a way to get the grid to behave as though it were disabled, except
|
by: David P. Donahue |
last post by:
I'm seeing a strange problem with a Windows.Forms.DataGrid in my
application. When I bind it to a table in a DataSet, everything works
fine. But when I bind it to a DataView, the scrollbars on the grid are
disabled and only become enabled when the user either clicks a column
heading to sort, or manually navigates the records with the keyboard.
Is there some way I can "force" the scrollbars to be active after
binding to a DataView?
|
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...
|
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...
| |
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |