Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object below object
Message
De
24/12/2009 11:56:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Object below object
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01440541
Message ID:
01440541
Vues:
119
Hi all,

Who knows a way to get a reference to an object below another object? In my case I have an object on top of a gridheader and want to get a reference to the header object.

I have tried a combination of amouseobj and sys(1270), but it fails so far due to the fact that both functions use different reference systems for x and y. The trick I had in mind was first to get x and y of the clicked upper object with amouseobj. And then get the object reference of the currentcontrol of the column by calling sys(1270,x,y+30). And then going to the header of that column. However, the x and y values are not compatible and so far I can't discover their relationship.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform