Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insertion point appears when using WAIT
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00113375
Message ID:
00113380
Views:
26
>I have a simple form that has nothing on it except a label and a progress bar control.
>
>The form has a custom method that scans through a cursor of SQLServer table names, and creates VFP tables from the SQLServer tables via SPT and COPY TO.
>
>The label's caption is 'Extracting tablename' and I change it to reflect each table as it's processed. I then issue THIS.Refresh.
>
>The problem is that the routine runs so fast that the Refresh never really happens! So I added WAIT '' TIMEOUT .5 immediately after the Refresh to give the video a chance to catch up.
>
>This works fine except for one thing. The label on the form now has what appears to be an insertion point showing up inside of it! While it has no effect whatsoever on the app, it looks extremely tacky.
>
>Can somebody tell me why this happens and is there a way to prevent it?
>
>TIA

Gary,

Give SET CURSOR OFF a try

HTH
regards

Ian
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform