1. Roy Bungert
  2. PowerBuilder
  3. Thursday, 31 January 2019 09:27 AM UTC

Since years there is one annoying thing for me:

What is the best practice to find the name of a pbl which contains a certain object.

The problem:

I have a project with 40-50 pbls. I want to know where I can find the object "w_user" because I want to export it (or want to import it). The easiest way would be a search in the sytemtree - and only in the systemtree! If I do a search in the systemtree I get all the references etc. too. This ar too much informations.

The object browse could help me a little bit. But there is no search function in the object browser :-(

And ideas?

 

Roy

 

Rodolfo Reyes Accepted Answer Pending Moderation
  1. Thursday, 14 February 2019 15:58 PM UTC
  2. PowerBuilder
  3. # 1

I use PBSerach. It integrates very well with the PowerBuilder toolbar.

Comment
There are no comments made yet.
Phil Wallingford Accepted Answer Pending Moderation
  1. Thursday, 14 February 2019 14:38 PM UTC
  2. PowerBuilder
  3. # 2

PBSearch is it!  Everyone should have it.

 

Phil

Comment
There are no comments made yet.
Ashutosh Varshney Accepted Answer Pending Moderation
  1. Friday, 1 February 2019 20:42 PM UTC
  2. PowerBuilder
  3. # 3

Roy,

I agree with you - finding an object if you do knot know what library it is in is not easy. But it should be. I do not believe the search function of the IDE finds the actual object.  

What I do is I find the object using the object browser, open it and then select File - SaveAs. PB defaults the SaveAs library to the library which contains the object. The object browser lists alphabetically which makes it a tiny bit easier to locate.

HTH.

 

Comment
There are no comments made yet.
Matthew Balent Accepted Answer Pending Moderation
  1. Friday, 1 February 2019 13:44 PM UTC
  2. PowerBuilder
  3. # 4

Right click on the Target, choose 'Search', input the control name, search.

If would be nice if you had the option to only search for a control or object and not everwhere the search string is used.

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 1 February 2019 13:26 PM UTC
  2. PowerBuilder
  3. # 5

I suggest you take a look at PBSearch. It has several features including finding what library an object is located in.

http://www.topwizprogramming.com/pbsearch.html

There is no native way to do that. Even the string search has problems.

 

Comment
  1. Georgios Papageorgiou
  2. Saturday, 2 February 2019 15:28 PM UTC
I have been using the PBSearch now for years - can't imagine a day without :)



/Georgios
  1. Helpful
There are no comments made yet.
Roy Bungert Accepted Answer Pending Moderation
  1. Friday, 1 February 2019 07:13 AM UTC
  2. PowerBuilder
  3. # 6

Thank you. But I'm looking for a native solution inside Powerbuilder.

 

Comment
There are no comments made yet.
Roy Bungert Accepted Answer Pending Moderation
  1. Friday, 1 February 2019 07:12 AM UTC
  2. PowerBuilder
  3. # 7

This is how I do it now. But there is so "Search" option in the browser.

 

Why can't Appeon offer such a simple option like searching through a treeobject?

It shouldn't be so complicated ;-)

 

Comment
There are no comments made yet.
Philippe PILAT Accepted Answer Pending Moderation
  1. Thursday, 31 January 2019 12:44 PM UTC
  2. PowerBuilder
  3. # 8

Hi Roy,

you can use the object browser (Tools -> Browser) to find the object you search then right click and edit. The object will then open in the associated painter.

HTH.

Regards,

Philippe

Comment
There are no comments made yet.
Christophe Dufourmantelle Accepted Answer Pending Moderation
  1. Thursday, 31 January 2019 10:43 AM UTC
  2. PowerBuilder
  3. # 9

Hi Roy,

You can use the Visual Expert search feature, enter the name of your object and search for it.

Optionally, you can specify a type of object, some operators or even a regular expression if you don't have the exact name and need to narrow down a large result set.

The corresponding object(s) will be listed with their respective PBLs.

 

Regards,
Christophe

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.