Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Move Window Using Another Procedure
Versions des environnements
hi,
i have a question here, i have a form with no titlebar as its aesthetic design, the problem is the user suddenly wanted to move / drag the window around, but because of the aesthetic feature i could no longer revert back to the traditional vfp running with the _screen with the titlebar on, so i googled around and found a procedure it worked fine, however, i've noticed it would be a daunting task if i would have the procedure recreated everytime i create a form instead of putting it into a procedure then i'll just have it called with parameters,,
is it possible to pass the form name into the procedure, then let the procedure access the object,
say im on move.prg then i have form1 as the object name? how can i access it? like form1.drag, form1.click etc.. in the move.prg?
thank you very much
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement