473,808 Members | 2,832 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

overriding painttext for multiline datagrid

I've made a standard datagrid multi line. However, the mutiple lines of
text are only visible when a row is selected.

This is a common issue and the solution offered is always to override
the painttext method, or even the paint method. However, I can't find
any tips for going about this. I am already overriding my paint method
for the text columns (to add other functionality) , so I know I don't
have to add too much more. Anybody got some tips to point me in the
right direction?

Greg.

May 10 '06 #1
0 1115

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

Similar topics

3
4203
by: Ali Eghtebas | last post by:
Hi, I have 3 questions regarding the code below: 1) Why can't I trap the KEYDOWN while I can trap KEYUP? 2) Is it correct that I use Return True within the IF-Statement? (I've already read the documentation but it is rather hard to understand so please don't refer to it :) 3) Many examples in the newsgroups use Return MyBase.ProcessKeyPreview(m) as the last code line while I have used Return MyBase.ProcessKeyEventArgs(m)
0
1889
by: DraguVaso | last post by:
Hi, I 'wrote' my own DataGrid, using the normal DataGrid, and overriding some of the DataGridTextBoxColumn-methods (mostly the Paint-method). I based most of my changes on the Windows Form FAQ: - http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx#q745q - http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx#q758q - http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx#q837q Basicly it works like this: Every time a cell has...
5
8802
by: Alex K. | last post by:
How do I define multiline column header in DataGrid control? I need two-line headers for some columns. Thank you
4
2547
by: jibran | last post by:
Hello. I have wrapped the DataGrid control with my own class (SmartDataGrid) adding some necessary functionality. My current webform has 2 SmartDataGrids. The first is populated by selected information from a drop down box. The second datagrid is populated by viewing details from a row of the first datagrid. When editing individual rows (in either datagrid), clicking the enter key in any editable textbox calls my inital search...
1
6724
by: Tracey | last post by:
Hi, there My application requires to display multiline text in the cell of datagrid. I set the preferredheight of datagrid's tablsstyle, however, it is fixed. For text longer than that, the rest of text is cut missing. Can someone tell me how to do that? thanks.
2
1626
by: Stan Sainte-Rose | last post by:
Hi, How can I display a multiline content into a Datagrid column ? The datagrid that I use, displays 2 columns. The first display a code , and the second, a description. The description can use 1 or several lines (so the size is not fixed). The other question is about the AlternatingBackColor. I change the color of the alternatingbackcolor but when I add lines into my
1
3852
by: ABC | last post by:
I tried KDNGrid's (www.knowdotnet.com) Multiline textbox column style for datagrid. It is very good but has some bug on wrong handle datagrid height that cannot display the scrollbar when a row has multiline textbox inserted. I need to force insert more and more row lines, the scrollbar of gridbox displayed. Is there any another good multiline textbox control column style? Thanks
1
1050
by: kiran01 | last post by:
Hi, Can anyone help, I want that data in datagrid should be placed in single line. Can i somehow set multiline property of datagrid to false, and i also do not want d width of COLOUMN to increase if multiline property is set false ,instead can i hve a
9
2431
by: PerumalSamy | last post by:
Hi, I have multiline textbox in which i am getting suggestions from user and storing in MS ACCESS table. While i displaying in datagrid, the text is not coming as multiline. Instead it was binding as continuous line. ex: input test1 test2 test3
0
9600
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
10631
Oralloy
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...
0
10374
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...
1
7651
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
5548
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...
0
5686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4331
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
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
bsmnconsultancy
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...

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.