Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make popup to be at the check box
Message
 
 
À
04/01/2021 10:52:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01677728
Message ID:
01677744
Vues:
56
>>>When I use the ObjToClient( this, nPosition) it seems - by the value of the numbers - return the position of the check box. For example, the Left is always 245 (since left does not change). The top could be 189 or higher, 245.
>>>But when I apply these numbers to the define popup as:
>>>
>>>define popup OutputChoice shortcut relative from (lnPosY),(lnPosX)
>>>
>>>Now the popup Outputchoice appears in the right bottom corner of the monitor. Completely different than before. But I think your suggestion to use ObjToClient() should work. I just don't know if I apply the numbers correctly.
>>
>>I appears that for the POPUP to work the coordinates have to be in Foxels (not pixels). So, my questions is, how do you convert Pixels to Foxels? For example, if the Pixels number is 245, how would I figure it in Foxels?
>
>https://www.berezniker.com/content/pages/visual-foxpro/pixels-and-foxels

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform