all groups > vb.net controls > august 2004 >
You're in the

vb.net controls

group:

Changing label.text programmatically



Changing label.text programmatically dan
8/21/2004 9:00:23 AM
vb.net controls: The program processes a large number of files. I want to display in a label
the name of the file under process. Thus I inserted the statement:
Me.MyLabel.Text = FileName.
The label remains blank.

In the same program I have the statement:
Me.MyLabel.Text="Validation completed" which works after a certain button is
clicked.

Who could help?
Thanks,
Dan


Re: Changing label.text programmatically hirf-spam-me-here NO[at]SPAM gmx.at
8/21/2004 11:09:25 AM
* "dan" <dea@deamon.com> scripsit:
[quoted text, click to view]

Call 'Me.MyLabel.Refresh' after setting its text to 'FileName'.

--
Herfried K. Wagner [MVP]
Re: Changing label.text programmatically dan
8/21/2004 11:17:02 AM
Vielen Dank Herfried!

[quoted text, click to view]

Re: Changing label.text programmatically hirf-spam-me-here NO[at]SPAM gmx.at
8/21/2004 2:51:01 PM
* "dan" <dea@deamon.com> scripsit:
[quoted text, click to view]

Gerne geschehen!

:-)

--
Herfried K. Wagner [MVP]
AddThis Social Bookmark Button