Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms cursors
Message
 
 
À
06/08/2008 11:40:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01336796
Message ID:
01336937
Vues:
17
Hi Hilmar,

From the futher communication we learned he wanted to be able to use designer (or builder, I guess) to build some controls. I think having the cursor created in the command window will still allow to use the cursor.

>>Hilmar
>>
>>Thanks for your code :)
>>
>>But I wanted it in dataenvironment because I would like to create objects from it,
>>as combos, listboxes, etc
>
>I think that it should be possible in the DataEnvironment, but I don't remember which is the correct event. But as Nadya said, Form.Load() is appropriate. It is important to know the order in which events are invoked, especially the following:
>
  • Form.Load()
    >
  • Init() for objects contained on the form
    >
  • Form.Init()
    >
    >This means that Form.Load() is the correct place to prepare data that will be used on TextBoxes, etc. On the other hand, in Form.Init() you might conditionally enable/disable controls on the form - because these controls already exist. In Form.Load(), they don't.
    >
    >Form.Init() is also the method that accepts parameters.
    If it's not broken, fix it until it is.


    My Blog
  • Précédent
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform