Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing objects from a parent form
Message
From
31/12/1997 03:51:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00068555
Message ID:
00068564
Views:
35
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform