Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I Would like to know full code that is in forms databas
Message
De
11/09/2002 04:21:45
 
 
À
10/09/2002 23:37:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00699187
Message ID:
00699224
Vues:
16
Hi,

>>
I always programing with form designer but I 'm looking the way that I can use the dataenviromnet in a source code.
<<

Something like :
WITH this.Dataenvironment
  .AddObject("Cursor1","cursor")
  WITH .Cursor1
    .Alias = "MyAlias"
    .CursorSource = "MyFile"
    * etc 
  ENDWITH
  .AddObject("Cursor2","cursor") && etc....
ENDWITH
called from Form.Load

Relation objects can also be added in this way. Inspect the available properties for these objects from the DE in the form designer for other properties which you will probably need to set (e.g. BufferModeOverRide, Order etc)

It's also worth bearing in mind that you can sub-class the DE,Cursor and Relation objects if required.

HTH,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform