Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8137093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T10:58:55+00:00 2026-06-06T10:58:55+00:00

PowerBuilder 10.5 Apparently, in a function I cannot pass an argument of the base

  • 0

PowerBuilder 10.5

Apparently, in a function I cannot pass an argument of the base type NonVisualObject. I can pass a argument that is of type UserObject, but that’s not what I’m looking for. I created a simple NonVisualObject as means of a DTO (Data-Transfer-Object) to pass simple data to my function.

Any ideas on how to pass a type of NonVisualObject to my function?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T10:58:58+00:00Added an answer on June 6, 2026 at 10:58 am
    1. Are you are looking in the dropdown list for the argument type? You can type any valid class name in those boxes.

    2. If you declare the parameter as nonvisualobject the function won’t have access to any of the properties you added to your object*. You should declare the parameter as the class name you gave your NonVisualObject (see #1).

    *It’s possible to cast the argument to the correct type within the function but you should have a very good reason to pass an ancestor and cast to a descendant. Doing so safely is an advanced technique.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking for a Sybase PowerBuilder 8.0 setup. I found http://www.sybase.com/detail?id=1013232 , but
In PowerBuilder application, How can I get the time:minute:seconds details which function executes with
I wish to run a powerbuilder application but I cannot find the runtime environment
I am not a PowerBuilder expert. My impression is that PowerBuilder is used to
PowerBuilder seems to have some support for plug-ins since version 10. However, I can't
We currently have a number of desktop applications (PowerBuilder, Winforms, WPF) that make use
Is it possible to create XBAP applications in Powerbuilder 12 ? I learned that
I've looked at the queries on SO that pertain to similar errors - but
I have an old PowerBuilder application that we are slowly phasing out. We are
I am trying to deploy my powerbuilder project to EAServer with orca api. But

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.