Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Focus With A MouseClick In A Specific Range
Message
De
01/10/2011 15:50:55
 
 
À
01/10/2011 04:03:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01525330
Message ID:
01525357
Vues:
76
>Hi, I can control OmniForm via VFP using send keys. It works well ! But, when I try to set the focus on a specific control (a listbox) of OmniForm, I cannot. I tried to use TAB to pass from one control to another, but the listbox does not receive focus. It seems the listbox has focus (or TAB) deactivated. So I only need to have the focus on that listbox to be able to use arrows to change from one item to another. I wonder if I could force a mouseclick in a specific location (or range). That could be a solution for me. Someone knows if I can do that using API or something else? Thanks in advance !

Have you tried sending a down-arrow to see if that gets you from the radio button to the list box?

Also I think in some cases you need to use ctrl-tab to get into/out of list boxes, edit boxes etc. You could also experiment with alt-tab, maybe combinations like ctrl-alt-tab etc.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform