Title Bar Menu

"Cheat Sheet" for PowerBuilder/PFC "Help"

...PFC 7 Release Notes:  PB 7.0.2   |   PB 7.0.1   |   PFC 7.0 + PB 7.0
...PFC 6 Release Notes:  PFC 6.5.1 + PFC 6.5.1 Y2K + PB 6.5.1   |   PFC 6.5 + PB 6.5   |   PFC 6.0 + PB 6.0
...PFC 5 Release Notes:  PFC 5.0.04 + PFC 5.0.04 Y2K + PB 5.0.04 EBF#3 (includes Y2K fixes) + PB 5.0.04
...PFC 5 Release Notes:  PFC 5.0.03 + PB 5.0.03   |   PFC 5.0.02   |   PFC 5.0.01
...PFC/PB Release Downloads:  Maintenance Downloads
...PFC Upgrade Check List: Cheat Sheet Upgrade Check List | PFCGuide Migration Check List | Faxback #44505
...PFC/PB Y2K FAQ


What's New in PFC 5.0.02?


*****************************************************************
POWERBUILDER FOUNDATION CLASS LIBRARY
Version 5.0.02
October 4, 1996
*****************************************************************

*****************************************************************
NOTE:
*****************************************************************


New extension objects have been included with this release. These should be
included in your customized extension pbls. These objects are listed in the
section entitled "New Extension Objects" below.
The object name, PowerBuilder
library, and release are listed for each new extension object. For more
information or help on retaining customizations to your extension levels when
upgrading to a new release of PFC, please refer to Powersoft Faxline #44505.



pfc_n_tr
Changed default functionality of of_SetUser to set the UID and PWD
ConnectString parameters for the dbparm property. Override this function
for dbms-specific userid and password settings.

pfc_n_cst_appmanager
pfc_exit event: changed default behavior to close the active MDI frame
window if available. Otherwise, event will issue a halt close as before.

pfc_m_master
Removed shortcut keys Ctrl-N for File-New and Ctrl-O for File-Open to allow
for cascading menus. To continue using these shortcut keys, define them in
the m_master extension level.



*****************************************************************
NEW EXTENSION OBJECTS:
*****************************************************************


5.0.02 n_cst_platformmac pfeapsrv.pbl
5.0.02 n_cst_filesrvmac
pfeapsrv.pbl
5.0.02 n_cst_platformsol2
pfeapsrv.pbl
5.0.02 n_cst_filesrvsol2
pfeapsrv.pbl
5.0.02 w_print
pfeapsrv.pbl



*****************************************************************
NEW FUNCTIONALITY:
*****************************************************************

Added Macintosh and Unix (Solaris) support.
Note:
The following files are required for Macintosh support. They are available
as part of the PFC install for Macintosh:
pfcmacfilesrvlib
pfcmacplatformlib

The following functions are not supported on Macintosh:
n_cst_platform of_GetTextSize
n_cst_dwsrv_report of_AddColumn, of_AddText, of_GetTextSizePos

The window statusbar service (n_cst_winsrv_statusbar) is not supported for
Macintosh or Unix. The call to of_SetStatusBar (true) will return -1 when
running under these platforms.


pfc_u_tabpg
Added resize service capabilities to the tabpage.

pfc_n_cst_conversion
of_Date function: converts a string whose value is a valid datetime to a date.

pfc_n_cst_conversion
of_Time function: converts a string whose value is a valid datetime to a time.



*****************************************************************
BUGS FIXED:
*****************************************************************

320830
pfc_n_cst_appmanager
Added of_SetSecurity() and inv_security to class.

352213
pfc_w_master, pfc_u_dw
pfc_save, pfc_dberror Events; of_GetSaveStatus(), of_SetDBErrorMsg() funct;
ib_savestatus, is_dberrormsg instance variables.
Finish the logical unit of work prior to displaying modal dberror message.
This will prevent the database from becoming locked.

341903
pfc_n_cst_dwsrv_linkage
of_SetUseColLinks(). Changed it to return 1 when successful.
Previously it was returning a 0. Documentation has always stated a 1 when
successful.

339213
pfc_n_cst_dwsrv_linkage
of_SetKeyValue() - Insert rows (key value) do not work properly when key
column has formatting (ie dddw).

364325
pfc_n_cst_dwsrv
of_GetHeaderName does not use the default header suffix property. It
defaults to "_t". of_SetColumnHeaderSuffix therefore has no effect.
Fixed of_GetHeaderName to use the default header suffix property.

325604
pfc_w_statusbar
of_GetSystemSettings(). Provide default value for buttonface color.
This fixes a problem that could occur where the statusbar had a black
background.

352702
All standard visual controls with RMB support
For windows within an MDI not opened as sheets, the right mouse button
popup menu for pfc controls was not opening in the correct location.
The same problem occurred for child windows in an SDI application.

316768
pfc_n_cst_error
of_SetUser(), of_GetUser(), of_Message(...). Allow for the user name to be
included on the message text for logging and/or email notification. Prior
to the change, the is_user attribute did not function.

352744
pfc_w_master, pfc_n_cst_dwsrv_linkage
pfc_accepttext event and of_AcceptText(). During the closequery process,
an AcceptText is no longer performed on Datawindows found on uncreated tab
pages. This fixes erroneous validation messages from being displayed.

357766
pfc_n_cst_dwsrv
of_RefreshDDDW(). Handle cases where the column having a child datawindow
does not match the dropdowndatawindow data column name. Check for required
references and added error checking.

344390
pfc_n_cst_dwsrv_linkage
of_RetrieveDetails(). Corrected code to look at master datawindow when
checking for row status of new! or newmodified!. Previously it was checking
idw_requestor.

325880
pfc_n_cst_winsrv_preference
the of_Restore and of_Save functions returned failure code when performing
actions on a window which had no menu associated. The functions worked
properly but returned the erroneous rc.

339095
pfc_n_cst_dwsrv_linkage
of_Retrieve() function - the RowFocusChanged event did not get triggered by
PB as expected when performing a DW Retrieve. At a specific case
(currentrow=1 prior to retrieval), this caused detail DWs not to be
refreshed when retrieving the master DW.

339213
pfc_n_cst_dwsrv_linkage
of_GetValue() - Changed the call from (of_getItem) to the function
that does not return with formatting values (of_getItemAny).

351657
pfc_n_cst_dwsrv_find
Added SetText() function. Will assure that text is selected once found.
This removes the assumption that the AutoSelect attribute was set to on all
the datawindow columns.

344625
pfc_n_cst_dwsrv_linkage
pfc_rowfocuschanged. Bug affecting the support of mixed styles of linkage

359256
pfc_dwdebugger
Corrected window type from main to response. This prevents modal error
messages from being hidden and unreacheable. Prevent multiple dialogs from
being opened concurrently.

338590
pfc_n_cst_winsrv_statusbar
of_CalculateMicroHelpHeight(). Corrected environment code to look at
OSMinorRevision >=95 instead of >=950. Statusbar now displays correctly
for PB16 running in WIN95.

338590
pfc_w_statusbar
open event. Corrected environment code to look for OSMinorRevision >=95
instead of >=950.

330534
pfc_n_cst_string
Using pfc_n_cst_string service, function of_ParseToArray. If the delimiter
is the last character of the string, the passedbyreference array contains
an empty element and count is 1 greater than it should be.

359248
f_SetPlatform, f_SetFileSrv
Added argument and error checking. Without the checking it was possible to
get a runtime NULL object reference.

339161
pfc_n_tr
Incompatibility between using the PFC's transaction object as sqlca and
other transaction objects used as sqlca.

352696
All standard visual controls
of_GetParentWindow caused a NULL object reference error if control did not
have a parent window.

352779
pfc_n_cst_error
of_CreateLogText(). Added new line character after each error is logged.

352888
pfc_w_filtersimple
of_GetValues(). Added code to handle the case where of_SetTransObject()
had not been called for the DataWindow without getting a system error.

353662
pfc_n_cst_dwsrv_filter
of_BuildFilterAttrib(). Prevent excluded columns from appearing as blank
entries.

353680
pfc_n_cst_dwsrv_find, pfc_n_cst_rtefind
pfc_finddlg and pfc_replacedlg. Close existing dialog window prior to
displaying the new dialog window. Prior to change both windows could be
opened but not refreshed.

353702
pfc_n_cst_rtefind
pfc_finddlg and pfc_replacedlg. Open the extension find/replace window
instead of the pfc base find/replace window.

355292
pfc_w_message
of_PaintInitialWindow(). Corrected code that determines the longest text
line being displayed.

357143
pfc_n_cst_debug
Destructor event. SQL Spy service was not being destroyed on destructor
event.

356449
pfc_n_cst_dwsrv_report
of_SetRelativeZoom function gives a system error "cannot convert Any data
to Integer".

357126
pfc_w_message
of_PaintInitialWindow(). The service now takes into consideration the
Display Property Font Settings in determining the size of the Message Box.

357139
pfc_w_message
of_PaintInitialWindow(). Prevent the window from opening beyond the left
or upper screen borders.

350654, 338939
pfc_n_cst_filesrv
of_DirList does not work properly on NTFS files

359442
pfc_w_pagesetup
of_ConvertSizeandIndex is not implemented and is not called anywhere by PFC.

358284
pfc_n_cst_dwsrv
of_DWArguments(...). Fixed to allow for stored procedure support.

364328
pfc_n_cst_numerical
of_BitwiseNot now returns correct value, not a negative number

364330
pfc_n_cst_inifile
of_GetSections and of_GetKeys reference string arrays were not being
initialized. Could result in improper array values returned from function
call. Fixed to reset string array at start of functions.

364333
pfc_n_cst_trregistration
of_Register(). Prevent the same object from being registered more than once.

364335
pfc_n_cst_dwsrv_report
of_GetTextSizePos. Fixed array boundary problem when passing in empty text.

364337
pfc_n_cst_dwsrv
of_SetItem does not work correctly for datetime columns. Datetime columns
are not being set to datetime value specified.

364344
pfc_w_frame
Sheetmanager and Statusbar services were not being destroyed on window close.

364345
pfc_n_cst_datetime
of_DayofWeek function does not work for international date settings.

325833
w_pfcsecurity_applist
of_GetPBINIFile() and pfc_postopen. Added error checking for an invalid
PB.INI entry.



*****************************************************************
ENHANCEMENTS:
*****************************************************************

pfc_n_cst_debug, pfc_w_debuglog
Added functionality to allow for the AlwaysOnTop behavior of the window to
be optional.

pfc_n_cst_sqlspy, pfc_w_sqlspy
Added functionality to allow for the AlwaysOnTop behavior of the window to
be optional.

pfc_n_cst_winsrv_preference
of_Save(...). Added functionality to only save the menu item information
when requested. This will improve window close performance for windows
that did not want this functionality and had large menu structures.

pfc_u_lv
Allow of_AddColumn (format 1) to work for DataWindow column header names
that do not end with "_t".



*****************************************************************
OTHER CHANGES:
*****************************************************************

d_pfcsecurity_applications
Moved from pfcapsrv.pbl to pfcsecad.pbl - was not being used by PFC, only
by security admin utility.

PFC Base Classes
Supplemented all checks for invalid objects [Not IsValid(ref_var)] to also
check for null references [IsNull(ref_var)]. The end result are checks
which look like: IsNull(ref_var) Or Not IsValid(ref_var).



*****************************************************************
SECURITY:
*****************************************************************

The security scanner utility application (found in the pfcsecsc.pbl
library) cannot be run from the development environment as it uses
the setlibrarylist function. It must also be created as a single exe
(no pbds allowed). Use the project object found in that library and
the pfcsecsc.pbr to create the exe. This utility must be named
'pfcsecsc.exe' and be located in either the current directory or on
the path. It is run from the PFC Security Administration utility
(pfcsecad.exe) which can be run from the development environment.

 

8-) ~~ Special thanks to Josef Dufek (Pepa) for passing this along to us

 

[Back to Top] [Sybase Downloads]

 

Click Here to visit our sponsor - DW Book

Visit our sponsors

Click Here to visit our sponsor - XPEDITER/SQL

 

Go to Home Page Home

Where to Go Know where to go

Site Map Work smarter, not harder

Search Answers at your fingertips

   Turn Off MenuTurn On Menu  Contact WebmasterYour Comments   Your New Home

 

Cheat Sheet for PFC/PB Help Home  |  Top