Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Terminal Server not detecting double-clicks
Message
From
22/02/2001 07:42:08
 
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00477928
Message ID:
00478341
Views:
34
Hi!

than it is because native VFP slow refreshing. For example, when you click on the button, it goies down and than up. With Citrix it requires graphical image transferring to show this behaviour. It takes some time, thus double click did not catched by VFP.

Another sample - when doing this with grid or list, click cause change of record or column or just a text cursor position in the current control. Anyway, VFP does some refreshing of controls between first and second click causing transfer from Citrix and thus causing second click not recognized. Guess you need to use something like a transparent shape over your control that does no any refreshing on click event allowing correct double click. Just try this solution.

>Vlad
>
>>>I guess it is not a problem with Citrix but with VFP or even with a code in application controls.
>
>The problem occurs because VFP fires Click event for first click. When this code runs slowly or make slow huge refreshes of interface parts, second click is not recognized by VFP causing it lost. Programmers often think in such case that this is a bug in VFP that causes double click not working, when really it is related to the delay between slow acting of the VFP application to the first click, thus VFP cannot process second click in the DblClick event for double click action because it did not finished previous code from the click event.
>
>In your case the problem might be the same - with Citrix there is a significant delay compare to the usual running of the application, that might cause the same effect.<<
>
>Thanks for this very interesting info. I don't think it's the problem in my case because there is no non-default code in the relevant click events.
>Also - just in case the native VFP click event code is causing problems, I added a NODEFAULT to the Click event - still the same problem.
>
>I will knock up a small test app with minimum amount of code and see of thise still gives me the problem. If not - then it's probably down to adding code/controls back in until I hit the problem - what fun <g>
>
>Regards
>
>Anna
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform