Schultz’s PowerBuilder Notes

PFC Treeview (u_tvs)


I had a GUI where I was selecting available resources from a tree view called tv_resources. The tree view levels were Business Area, Region, Plant, Resource Group (Type), and finally specific machine (resource).

Once a specific machine was selected on the tree view, it could be removed from the available machines and copied to the datawindow of selected resources called dw_selected. Selected resources could later be removed from the selected datawindow and returned to the tree view.

Continue reading

June 17, 2008 Posted by | 3. PFC, PFC Standard User Objects | , , , , , , , , , , , , , , , | Leave a comment

PFC Datastore (n_ds)


Set Parent window

Datastores need a reference to their parent window or run time errors may occur.

lds_temp.of_SetParentWindow ( this)

If there is no Parent Window, such as a datastore on gnv_app, then use of_SetUpdateRequestor

lds_temp.of_SetUpdateRequestor(this)

June 17, 2008 Posted by | 3. PFC, PFC Standard User Objects | , , | Leave a comment