Marc
Sat Feb 05 14:01:02 CST 2005
CodeMonkey,
I have the same problem,
i have managed to set the lines using code below,
and at the moment I touch the splitter with the mouse the splitter will
Jump to 15 lines height of the help pane.
I still can't get it to update before i touch it with the mouse, did try
some updates and invalidates but they did not do the trick.
(the propertygridview as an
(see commented lines)
if someone knows how to force the update ....
greetings /\/\o\/\/
dim a as object
For Each a In Me.PropertyGrid1.Controls
If a.GetType.FullName =
"System.Windows.Forms.PropertyGridInternal.DocComment" Then
a.set_lines(15)
'a.invalidate()
'a.update()
'a.refresh()
'Me.PropertyGrid1.Invalidate()
'Me.PropertyGrid1.Refresh()
'Me.PropertyGrid1.Update()
End If
If a.GetType.FullName =
"System.Windows.Forms.PropertyGridInternal.PropertyGridView" Then
'a.invalidate()
'a.update()
'a.refresh()
End If
Next
--
Message posted via
http://www.dotnetmonster.com