Position variable d'un bouton
Answered
GGB Classic 5.0.559.0-d Windows 7
Hello everyone,
I try to have a dynamic position for a button. It works first, but when I close, then reopen my file it doesn't work anymore ...
I have tried 2 methods : with a point and directly in the "position" field of the button.
See the attached file
Did I something wrong ?
Any held would be appreciated
Best regards,
Pierre
Bonjour à tous,
J'essaie de déplacer dynamiquement un bouton. Tout va bien, mais si je ferme mon fichier et que je le rouvre, le bouton ne bouge plus ...
J'ai essayé 2 méthodes : avec un point et directement dans le champ "position" du bouton.
Ai-je raté quelque chose ?
Voir le fichier joint
Toute aide est bienvenue.
Cordialement,
Pierre
Files:
TestPosBouton.ggb
I think that it's ok.
If I rewrite the conditions, save and close, the button doesn't move when e.g. moving the points in your activity, both in v.5 and v.6 classic.
I'm looping your post to the Support Team, thank you
use a script with SetCoords( <Object>, <x>, <y> ) command
SetCoords( <Object>, <x>, <y> ) works in pixel units
you can know the pixels of screen typing corner(5)
it is possible also to calculate in pixels the position of a point
Another workaround
I think no such bug
Comments have been locked on this page!