Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Move Window Using Another Procedure
Message
De
29/07/2009 02:06:28
Paul Ong
Knights of Christ Foundation
Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Move Window Using Another Procedure
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01415254
Message ID:
01415254
Vues:
104
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
Fil
Voir

Click here to load this message in the networking platform