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!

Problems with FindClassDefinition and external PBLs

Status
Not open for further replies.

sibbim

Programmer
Oct 27, 2004
4
DE
good morning pb-developers ;-)

I have a problem with writing an application
to display all windows of an external pbl in
a report.

I got already every pb window name with
***libraryPathList*** but I need further
infos about the different windows. (like
window title or even the layout...)

I try to use following example to get further
information about the windows in an EXTERNAL
pbl (EXAMPLE to get infos about "w_info"):

String libList[]
libList[1] = "C:\app.pbl"

ClassDefinition cd_windef

cd_windef = FindClassDefinition("w_info", libList)

IF IsNull(cd_windef) THEN
MessageBox("Error - w_info is not present in the present Library List!")
ELSE
MessageBox("TEST", String(cd_windef.LibraryName))
END IF

But this example doesn't find the window "w_info"
altough it is in the external pbl???

Do you have an idea?

Thanks, Sebastian
 
And your .pbl is at the root of C as specified in liblist[1]?
 
Hi,

damn sure :)

I found the problem - I forgot the pbl it was
inherited from...

Thanks,

Sebastian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top