Hi folks,
I'd like to notify the user that rows within a datagrid require
user-interaction/processing.
The RowHeader is visible and wide enough so that the exclamation-mark icon
as i.e. the ErrorProvider-control displays it would fit in neatly.
Is there a way of using the ErrorProvider-control directly or else is there
a way of displaying icon in a DataGrid's RowHeaders?
Cheers & TIA,
Olaf 2 5050
Hi,
Here is a link on how to draw in the row header http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp#q896q
You can also use the datarow.setcolu mnerror to display an error
message in the cell http://msdn.microsoft.com/library/de...errortopic.asp
Ken
--------------------
"Olaf Rabbachin" <Ol*********@In tuiDev.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Hi folks,
I'd like to notify the user that rows within a datagrid require
user-interaction/processing.
The RowHeader is visible and wide enough so that the exclamation-mark icon
as i.e. the ErrorProvider-control displays it would fit in neatly.
Is there a way of using the ErrorProvider-control directly or else is there
a way of displaying icon in a DataGrid's RowHeaders?
Cheers & TIA,
Olaf This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Terry |
last post by:
Hey,
Having somewhat of an issue, I have a datagrid which is giving me issues.
The Datagrid is setup for the user to double click the row, the row is
selected and data within that row populates a form for editing. the problem
is when a user clicks on a cell instead of the whole row, I get an error. My
question is this, is there anyway I can setup the datagrid so when the user
clicks on any cell, the whole row is selected not just that...
|
by: Tim Newton |
last post by:
Hi
Anyone tell me how to number the rowheaders of a datagrid, e.g. 1,2,3,4,5
etc, just like in excel. I could put the row numbers in a new column but
there has to be a simple way of adding it to the rowheader?? Thanks
Tim
|
by: Genojoe |
last post by:
I am using code from Help with two exceptions. (1) I increased the number of sample rows from 3 to 20, and (2) I anchored the datagrid to bottom of form so that I can change the size of the grid by changing the size of the form
The code is at the following location in the January, 2004 help
ms-help://MS.VSCC.2003/MS.MSDNQTR.2004JAN.1033/cpref/html/frlrfSystemWindowsFormsDataGridClassTopic.ht
You can also find it by doing a search for...
|
by: Strahimir Antoljak |
last post by:
Is it possible (and how?) to get the data grid column name
based on the DataGrid.CurrentCell?
The DataGrid has assigned a TableStyle comprising
selected columns (DataGridTextBoxColumn) from
the source DataTable (DataGrid.DataSource=DataTable).
I would like to be able to get the column name of the
datagrid based on the DataGrid current cell so I can reference
the appropriate column in the source DataTable.
|
by: Doug Bell |
last post by:
Hi,
Can you lock the colum in a datagrid so that it can not be resized by th
user?
Thanks Doug
| |
by: pmcguire |
last post by:
I have a DataGrid control for which I have also created several new extended
DataGridColumnStyles. They behave pretty nicely, but I can't figure out how
to implement Selected Item formatting for them.
In a plain vanilla DataGrid, when you click on the RowHeader, the
appropriate row changes colors. I ASSUME this should be done in the Paint
(or PaintText) override of the DataGridColumnStyle in question. My problem
is that I don't know...
|
by: John Smith |
last post by:
Is it possible to customize the DataGrid so that I can gain access to the
RowHeader colomn?
I want to move the Arrow and Pencil graphics down on each row so that it is
centered vertically in the expanded row height.
Any suggestions?
Thanks.
|
by: Nina |
last post by:
Hi there,
I've tried everything that I know to prevent usre resizing datagrid columns,
but nothing works. Following are the code that I used. Please tell me
what's wrong with them. Thank you.
P.S.: dg is datagrid
Protected Overrides Sub OnMouseDown(ByVal e As
System.Windows.Forms.MouseEventArgs)
|
by: Jason Huang |
last post by:
Hi,
In the code:
DataGrid.HitTestInfo hti = dataGrid.HitTest( e.X, e.Y );
dataGrid = ! (bool) dataGrid;
Would someone tell me what the line doing:
DataGrid.HitTestInfo hti = dataGrid.HitTest( e.X, e.Y );
|
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: 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: 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...
| |