PFC DataWindow Drop Down Calendar
How come changing the date by clicking the calendar does not trigger the ItemChanged Event on idw_requestor?
Of_SetDate() in the object pfc_u_calendar is to blame. Add the row with the comment “// <<<<< This needs to be added <<<<<<” next to it.
Negative Logic
I maintain several PowerBuilder applications which were written a long time ago by developers just starting out in PB. So I see a lot of odd code.
Here is an example of a script which has negative logic
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.
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)
PFC DataWindow Drop Down Calendar
How come changing the date by clicking the calendar does not trigger the ItemChanged Event on idw_requestor?
PFC DataWindow Basic Service
The basic datawindow service allows the ability to obtain basic information about a
datawindow object and its contents. It includes the following features:
-
Archives
- August 2009 (2)
- May 2009 (1)
- March 2009 (1)
- January 2009 (2)
- December 2008 (1)
- November 2008 (2)
- September 2008 (1)
- August 2008 (1)
- July 2008 (24)
- June 2008 (22)
- May 2008 (69)
- April 2008 (25)
-
Categories
-
RSS
Entries RSS
Comments RSS