Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When does my code run?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
When does my code run?
Divers
Thread ID:
00215068
Message ID:
00215068
Vues:
54
I've made my own search dialog that has a few params passed to it by the calling button. One of those params is a description of what's being searched for, and I'd like to change the look of the caption beside the results box to reflect this dynamic change. Well I've succeeded, however I can't get it to change the position of the caption...when should I be executing this code? I've tested it and the form only sees the new width of the caption when the whole form becomes visible, so if I try and reposition before it sees this new width it uses the width of the caption from the design process.

Also, in a related, but not so related subject...I'm also using VFP foundation class for sorting and setting the sort on the table being searched. However, there is a method that it uses that it uses to get the active session, well it looks to the ACTIVE form to find this, but until the form is visible, it's not active. Where should I be putting the code?

I guess really, my question is what (if any) event I can put the above code that will work with the visible search form window.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform