Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form properties ignored - error returned
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Form properties ignored - error returned
Miscellaneous
Thread ID:
00653191
Message ID:
00653191
Views:
57
In my application, I have one main form which occassionally calls up other forms for specific data processing. I am having a problem with the properties of one of the called forms not be seen by procedures which reference them.

Let's call the main form Form1. It calls a modal form, Form2, which calls another form Form3. Form3 references procedures found in a prg file called UTILTIES.PRG. This file contains many functions and procedures used throughout the program. For some reason, references to any property form3.x are not acknowledged. I get an error saying that the form3 does not exist. Form3 is open when the procedures are called, but so is Form2 which calls it and Form1 which calls Form2. Form3 references properties of Form1 and Form2 without any difficulty.

Why don't the procedures see the properties of Form3? I have the SET PROCEDURE command referencing the UTILITY.PRG file and other functions and procedures in this file seem to have no difficulty reading the form properties of other secondary forms that the program calls elsewhere. Is it possible that the .PRG file will not see beyond two levels of form calls?

TIA

Richard Bates
Next
Reply
Map
View

Click here to load this message in the networking platform