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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Another PB Searching Question

Status
Not open for further replies.

Statey603

Programmer
Nov 10, 2009
196
US
I am trying to locate the original declaration of a global function [ gf_chk_role() ] that is used throughout our code. I tried a search by right-clicking at the top of the treeview in the left pane. this search returned 1593 results. We have 30 plus PBLs.

I am trying to locate the function declaration and thus the source (not each individual call to it). It seems that someone else out there must have had to do this.
Is there a more efficient way locate a function declaration in PowerBuilder? I am used to Visual Studio where a right click gives the option to Go To Definition.

I appreciate any assistance with this.
 
In version 10.5 you can:
Open the library painter
Choose menu option Design - Options
Choose the Include Tab
Uncheck all but the function object checkbox
Save the setting
Look at the library painter for the pbls which have a plus sign (indicating they have global functions in them).
Look in each .pbl for your function.

Once you are done remember to go back and include all the other objects again.

Matt

"Nature forges everything on the anvil of time
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top