|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Need help to invalidate my control.Hello all
I have this control which I am writing - sort of a grid with rows and columns. I have a collection for columns so in code I can use mycontrol.columns.add("Column1") I want to know how I can get the control to invalidate so the changes are painted to the control instantly. I have attached my VB.Net source code for you to take a look at. You will see in the class ColumnHeader the property for Text which is where I need the invalidation to happen. Many thanks Scott. [attached file: tbsListView.vb] > I have this control which I am writing - sort of a grid with rows and
Http://EDais.mvps.org/DotNet/
> columns. I have a collection for columns so in code I can use > mycontrol.columns.add("Column1") I want to know how I can get the control to > invalidate so the changes are painted to the control instantly. > > I have attached my VB.Net source code <snip> Hope this helps, Mike - Microsoft Visual Basic MVP - E-Mail: ED***@mvps.org WWW: Http://EDais.mvps.org/ me.invalidate() ?
Show quoteHide quote "Scott Gunn" <n***@thebigspider.co.uk> wrote in message news:e0q9NuMgFHA.3304@TK2MSFTNGP12.phx.gbl... > Hello all > > I have this control which I am writing - sort of a grid with rows and > columns. I have a collection for columns so in code I can use > mycontrol.columns.add("Column1") I want to know how I can get the control > to > invalidate so the changes are painted to the control instantly. > > I have attached my VB.Net source code for you to take a look at. > > You will see in the class ColumnHeader the property for Text which is > where > I need the invalidation to happen. > > Many thanks > Scott. > > > >
Divide a path into a Drivename, Pathname, and Filename?
Definition of an implementation Resizing form Return Security Events for Yesterday Emergency: Unicode Characters in a Dataset. Time fired event, error out of stack space DOS box and ALT_ENTER How 2 get data from a web form VB Package Deployment Problem Enumerate Devices |
|||||||||||||||||||||||