Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keyboard Clear type command for double click
Message
From
16/10/2014 08:13:45
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01609505
Message ID:
01609520
Views:
40
>>>I need to check and stop a double click of the mouse (a single click will do). Anyway to do this easily - a code example would be helpful.
>>>
>>>Mel
>>
>>
>>Reading through the whole conversation ...
>>
>>Why don't you set a property once they click and you show the form
>>The second click you can check the property and take no action in case it's set
>
>Gregory, that is what I am trying to do.... I don't know how check the property for the second click.
Init of your checkbox
=m.this.AddProperty('FormLaunched', .f.)

Click

if( !m.this.FormLaunched )
    this.FormLaunched = .t.
    do form Theform
endif
You may want to reset the property to .f. when the form is closed


Or better maybe. Make the form you launch modal. Then you don't need any checking
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform