Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Declaring a window

Status
Not open for further replies.

sujosh

Programmer
Nov 29, 2001
93
US
I have a window w_a which is a descendent of w_sheet. In w_a I am declaring a window variable lw_win of type w_a. so far everything is great.

Now I did a saveas w_a as w_b and tried to change the variable declaration of lw_win from w_a to w_b. As soon as I did it I got the "Type of actual parameter cannot be ancestor of formal reference parameter type."

Any ideas?

Thanks
JD
 
Hi Sujosh,

Where are you declaring the variable of type w_sheet? is it local variable in window w_a or instance/shared/global variable.
So far I'm not getting any error of any kind when I followed the steps you have mentioned.

Girish
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top