Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing objects from a parent form
Message
De
31/12/1997 03:51:38
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00068555
Message ID:
00068564
Vues:
25
>I need to apply changes to a grid in a parent form from a button in achild form. I've been trying this command:
>
>ThisForm.parent.Transgrid1.Columns[30].setfocus()
>
>but I get error messages; how am I supposed to issue the right command?
>
>Thanks in advance,
>
>Gil

Call the child form with this (ie: do form child with ..,..,this) so you would have reference to parent form.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform