Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting to properties on another open non MDI form.
Message
From
26/11/1998 20:42:51
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00161616
Message ID:
00161887
Views:
16
>I need to access properties on another form. In a very basic setup here is >what I have:

(skipped)

>***error msg
>object form2 not found (btw: I am looking right at it. I copied and pasted the >name into the code incase I was misspelling)

The question of the year ;-) I think, it's VFP bug. Nevertheless, I have choosed such a way -

PUBLIC name1,name2
DO FORM form1 NAME name1 LINKED
DO FORM form2 NAME name2 LINKED

* now you can reference any properties of theese forms. For example,
name1.caption or name2.height without any errors.
Release forms on completion with RELEASE name1,name2 (erasing both variables and forms,linked with them).

Sergey Rewa
reware@cafe.redcom.ru
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform