Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I was have function can merge cells by rows in cell_painting event : (merge cells have equals values) i.e. if we Found two same value in different cells we draw a rectangle have a size( width and height) for these 2 cells and draw string or value in the new rectangle.
but when the grid be come greater than size of form i.e. not all columns appears and i need to move scroll to show other column and the same for rows, we saw scroll bar horizontal or vertical; the problem is when i increment the scroll the rectangle drawing disappear even I write e.handled = true for rows merging.??
can any one help me please???
Posted
Updated 18-Feb-12 11:26am
v2
Comments
RC_Sebastien_C 17-Feb-12 21:08pm    
I don't undertand your question-problem.
Varun Sareen 18-Feb-12 2:16am    
Not clear :(
Dave Kreskowiak 18-Feb-12 9:36am    
Noone has a clue what you're talking about. You're merging cells in WHAT?? What does your code look like that does this??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900