|
by: Gawelek |
last post by:
How to force VScrollbar in DataGrid, that it looks as if DataTable
contained more Rows then it truly contains, smaller thumb etc. I tried to
force it by Maximum property, but it always is adjusted to the size of
DataTable - VisibleRows back.
Gawel
|
by: Gawelek |
last post by:
I would like to "cheat" VScrollBar in DataGrid. That means I want to link
for example
DataTable with 50 rows to DataGrid. But I want, that VScrollBar looks as if
DataTable contains
for example 100 or 1000 rows. Is it possible to do ?
I tried by Maximum properties, but it seems not to work.
Gawel
|
by: Dmitri Shvetsov |
last post by:
Hi All,
Did somebody play with vScrollBar in C#? I've got a small trouble. When I
assign the Maximum value and try to move the slider of the vScrollBar to a
maximum position I can't get the maximum value from a vScrollBar.Value. I
can assume that to correct this problem is easy. I'm sure that's it's a bug,
the developers didn't think about the width of the slider and this width is
excluded from the vScrollBar total length, so we're...
|
by: bleedledeep |
last post by:
I have a DataGrid that ends up with a VScrollBar due to the number of
rows, and the behavior I want is for the bottom-most row of the
DataGrid to be shown, i.e., I want the VScrollBar all the way to the
bottom (maximum).
I grab and set the VScrollBar using the following:
if ( historyDataGrid.Controls is VScrollBar )
{
VScrollBar vsb = (VScrollBar)historyDataGrid.Controls;
|
by: simchajoy2000 |
last post by:
I thought the only thing I had to do to disable column sorting in
VB.NET was to set datagrid.AllowSorting = False. Unfortunately this
has never worked for me. I discovered another set of code that seems
to work for 99% of the cases where I need to disable datagrid column
sorting:
Private Sub datagrid_MouseDown(ByVal sender As Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles datagrid.MouseDown
Dim pt As New Point(e.X,...
|
|
by: ECD |
last post by:
Hello all,
I can usually find solutions to my .NET problems by searching these
groups, but I'm stumped on this one. I have a datagrid in VB.NET (2.0
framework). I want to disable sorting on the first column in the grid
only. I havent found a way to reliably do this yet.
I tried putting the following code in the datagrid's mouse down event
Dim hti As DataGrid.HitTestInfo
|
by: =?Utf-8?B?U2hhcm9u?= |
last post by:
I'm using the System.Windows.Forms.VScrollBar on my form.
I'm handling VScrollBar Scroll event.
I want to handle the Up, Down, PageUp PageDown keys for this VScrollBar,
but when I register to the keyDown and KeyPress events, it never gets there.
So I also handled the key events of the form and from there I forwarded the
event to the VScrollBar corresponding event, but still the VScrollBar events
in never invoked.
What should I do so...
|
by: Longkhi |
last post by:
Hi everybody.
I have quite a problem with the vscrollbar component. The control I'm using has a built-in scrollbar, but I have 5 of those controls, and I would like to bind the external vscrollbar to scroll them all synchronically.
I have tried several other methods such as the wndProc override method. It didn't work, so I'm trying this alternative method.
|
by: eBob.com |
last post by:
I have two apps, both developed using the same VBE, and both having a
VScrollBar, but the two VScrollBars have very different styles. (In the
screen shot, which I had hoped to attach but can't, one appears on the left
and the other appears on the right. But, even without the screen shot,
referring to the two cases as the "left case" and the "right case" seems to
make as much sense as any other way of distinguishing the two cases. So...
|
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: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
|
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...
|
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...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|