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!

get.child 1

Status
Not open for further replies.

bryan2011

Programmer
Aug 15, 2011
1
ZW
DataWindowChild ldw_Ayuda, ldw_Ayuda2

This.GetChild("recibos_tip_fact",ldw_Ayuda2)
gnv_dddw.nf_recuperar(ldw_Ayuda2,'FT',"T")

f_seleccionar(1)

hie im kind of new to powerbuilder.

I'm going through this really big system developed in power builder and i cant seem to find a certain child data window being generated by the code above...

can anyone please assist with a general explanation of what the code snippet above does??
 
This.GetChild("recibos_tip_fact",ldw_Ayuda2)

This line gets a reference to the datawindow used in column "recibos_tip_fact" (a drop down datawindow column on the datawindow referenced by 'This'). It returns a 1 if successful and -1 if not although your example code always assumes success.

After that there appears to be a call to a global non visual object which passes the reference of ldw_Ayuda2 and two parameters to the method 'nf_recuperar'.

Then a global function 'f_seleccionar' is called with the parameter 1.

Matt

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

Part and Inventory Search

Sponsor

Back
Top