Contributed by Sharon Buntz
To determine the PFC Release for a set of PFC PBLs, check PFCAPSRV.PBL(pfc_n_cst_debug)
In PFCAPSRV.PBL(pfc_n_cst_debug)'s instance variables: Public: constant integer ici_pfcmajorrevision = 5 constant integer ici_pfcminorrevision = 0 constant integer ici_pfcfixesrevision = 3 |
or in PFC 6.0
In PFCAPSRV.PBL(pfc_n_cst_debug)'s instance variables: Public: constant integer PFC_MAJOR = 6 constant integer PFC_MINOR = 0 constant integer PFC_FIXES = 0 |
Since these are constants, without even instantiating the debug service, you may use these values anywhere in your application:
ls_version = String(n_cst_debug.ici_pfcmajorrevision) + "." + & String(n_cst_debug.ici_pfcminorrevision) + "." + & String(n_cst_debug.ici_pfcfixesrevision) |
Contributed by Sharon Buntz
This was a problem that was fixed in PFC 5.0.03.
Window StatusBar Service
Object: pfc_w_statusbar
Method: of_RefreshPosition
Fix: Hide statusbar (disable timer) when the parentwindow is minimized. This allows the window to be restored by clicking on the win95 taskbar. Prior to the fix, the only way to restore a minized PFC app which used the statusbar service was to right click and Restore. Tech support#: 393186
If you are not using PFC 5.0.03 yet, here is the fix:
In pfc_w_statusbar's of_RefreshPositiion( ) function: if iw_parentwindow.windowstate = minimized! or & Not iw_parentwindow.Visible then // Hide statusbar (disable timer) when the parentwindow is minimized or // not visible. this.visible = false Timer (0, this) return 1 end if |
The minor revisions of PFC and PowerBuilder are generally independent of each other. For example you can safely use PFC 5.0.03 with PB 5.0.02. Be sure to do a full rebuild and follow the instructions in the PFC readme files.
You cannot use PFC 6.0 with PB 5.0. PFC 6.0 uses a few PB 6.0 features and is not backwards compatible to 5.0. You can use the PFC 5.x.xx with PowerBuilder 6.0, but if you went through the trouble of PowerBuilder conversion you might take the extra step and convert the PFC to 6.0 as well.
Contributed by PFCGuide staff, except
where noted otherwise.
PFCGuide is sponsored by Dynamic Technology Group
The information provided is for advice only and not to be considered a contract or a
liability against Dynamic Technology Group.
Last revised: February 15, 2004 03:58 AM.