Hi,
I have a form with a single command button, and a label. When the user clicks the command button, a loop is run against a directory of files, renaming the files. Within the loop I have change the label caption to match the filename, and perform label.refresh. This is working as each file is renamed the label caption is updated. If I minimize the form, or click on another window the label caption does not get updated any more, even though I have a form.refresh in the form.activate method.
What am I doing wrong, how do i get the label to continue to refresh even if I leave the form, and come back to it. Please help. Thanks
I have a form with a single command button, and a label. When the user clicks the command button, a loop is run against a directory of files, renaming the files. Within the loop I have change the label caption to match the filename, and perform label.refresh. This is working as each file is renamed the label caption is updated. If I minimize the form, or click on another window the label caption does not get updated any more, even though I have a form.refresh in the form.activate method.
What am I doing wrong, how do i get the label to continue to refresh even if I leave the form, and come back to it. Please help. Thanks