Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ProgressBar while indexing
Message
 
To
06/08/1999 16:07:53
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00248907
Message ID:
00250905
Views:
13
>>>Definitely Doug! I know it can increase the indexing time but indexing a 2 million records table is a process that takes already a long time and because I don't show the progression, the user presses the button a second time anyway!
>>>
>>
>>Once the user clicks the button to start indexing, disable the button before the indexing starts.
>
>Not sure it will work each time - I had such a thing with a Save button which did some lengthy processing, and I actually had to place a transparent shape over it, to eat the extra clicks. Disabled button seemed to still accumulate clicks, so I called its click from the shape's click, if it was enabled. It solved the extra clicks problem.

Hi,

When I disable a command button I put a transparent shape on top of it. Later, when I enable the command button I change ZOrder and put button on the top. So no need to have code in shape's click event.
Igor Gelin
Database Developer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform