Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First automated click
Message
From
28/01/2008 10:41:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
First automated click
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Miscellaneous
Thread ID:
01286118
Message ID:
01286118
Views:
72
Hi..

On the activate of a page into pageframe I'd like to use "mouse click" to click straight to some object..

On its init method I'm getting the coordinates by:
procedure init
loObj                   = evaluate( "this." + lcName )
this.nTopclk            = Objtoclient(loObj,1)  + 2
this.nLeftclk           = Objtoclient(loObj,2)  + 2
and, on the activation of a page I'm trying to shoot.. But, the number that I'm getting is not returning the proper x,y coordenates position.. I'm loosing the target by far..
Mouse Click At (This.Mes1.ntopclk),(This.Mes1.nleftclk) Pixels Window (thisform.Name)
please, could someone point me here what I'm missing?

TIA

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Next
Reply
Map
View

Click here to load this message in the networking platform