Power builder migration error 10.5

Posted on 2006-04-23
Last Modified: 2013-12-26

This is rajan.We have an application developed in pb 9.0 which is working properly. We migrate it to pb 10.5 while migrating it is giving an error  C0015: Undefined variable: ancestorreturnvalue in getfocusobject event of an user defined tabpage object.
Please help me to resolve the problem.


Question by:ark4877
    LVL 14

    Accepted Solution


    Say you have user defined tabpage object uo_tabpage. So what you do is first check that is this object inherited from any other user defined object.

    If yes, then go to getfocusobject event of parent and check does it returns anything ? If it returns nothing then before migration you comment line AncestorReturnValue in child's getfocuobject event and try to migrate.

    If No, then no need to write AncestorReturnValue in getfocusobject event of you child user defined object. Just comment that line and migrate.

    After completing migration later you can uncomment the line and compile. You will come to know that whether this statement is really required or not ?

    LVL 4

    Author Comment



    Thank you for your response.i will try that and get back to u.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
    Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
    The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now