Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding to record pointer move in cursor???
Message
De
13/10/2014 15:10:47
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
13/10/2014 11:30:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01609233
Message ID:
01609264
Vues:
70
>Is there any way at all to use BindEvent to hook into the record pointer getting moved in a cursor?
>
>This is not a UI / grid thing, so I cannot use the Before/After RecordPointerMoved stuff.

A WAG - have a bound control with =recno("youralias") as controlsource. It will, of course, be readonly. See whether change of recno() fires its.ProgrammaticChange() event. I think it may fire, but only after a refresh, which would make it more complicated... in case you invent a timer to refresh it, well then you can use the timer code to check for recno() change.

You may also put the code which would check for it in a skipfor clause of some menu item, these seem to be evaluated at appropriated times (but mind the context in that case - or make it in-form menu).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform