Important changes and extensions
•Strong typing removed
The strong typing was removed for the following methods, accesses and assigns:
Removed methods
•DrawGrid()
The Grid is now drawn in method bBrowser:DrawData().
•SetFirstRow()
As a replacement the access bBrowser:FirstVisibleRecNo can be used.
New classes
New methods
•ExistRecordGroupsWithVariableHeight()
•GetRecordGroupInfoAlignment()
•GetRecordGroupInfoAlphaBlendRatio()
•GetRecordGroupInfoBackground()
•GetRecordGroupInfoForeground()
•GetRecordGroupItemAlignment()
•GetVisiblePosFromRecordGroupItem()
•VisibleRecordGroupHeaderCount
•RecordFilterRemoveDuplicateRecNo()
•Cell
Changes in methods and accesses
New argument: |
•uOuterSpace |
|
|
|
|
New arguments: |
•<oColumn> •<oRecordGroupLevel> |
|
|
|
|
New supported value: |
•<uSpecial> |
|
|
|
|
New supported value: |
•BECF_ONMOUSEWHEEL_MOVETOROW |
|
|
||
New supported value: |
•BESF_ONMOUSE_BUTTONUP |
|
|
|
|
New argument: |
•<lRecordGroup> |
|
|
|
|
New supported values: |
•#EditCloseFlags •#EditStartFlags •#HeightVariable •#ToolTipText •#ValueTransformList •#ViewEmptyValuesAs •#WidthMax •#WidthMin |
|
New arguments: |
•<iColumn> •<nRowNo> •<nRecNo> •<oForeground> •<oBackground> |
|
|
|
|
New supported value: |
•BCM_RECORDGROUP |
|
|
|
|
New arguments: |
•<iColumn> •<nRowNo> •<nRecNo> |
|
|
|
|
New argument: |
•<oRecordGroupItem> |
|
|
|
|
New argument: |
•<oRecordGroupItem> |
|
|
|
|
New arguments: |
•<iColumn> •<nRowNo> •<nRecNo> |
|
|
|
|
New supported value: |
•BCM_RECORDGROUP |
|
|
|
|
New argument: |
•<iMoveFlags> |
|
|
|
|
New properties: |
•#CaptionPointer •#CellGroupMoveEnableIcon •#CellGroupMoveDisableIcon •#ComboListHeightMax •#DragMultiplePointer •#DragSinglePointer •#DragStartDelay •#DropNotAllowedPointer •#RecordGroupCaptionGrid •#RecordGroupCaptionBackground •#SelectorCaptionBackground •#SelectorCaptionGrid •#SortMarkerHeight |
|
|
|
|
New supported values: |
•BPS_INCLOSERECORDGROUP •BPS_INOPENRECORDGROUP |
|
|
|
|
New supported values: |
•#Count •#LastRow |
|
|
|
|
New argument: |
•<iOptions> |
|
New supported values: |
•#MultipleInColumn •#MultipleInRow |
|
|
|
|
New argument: |
•<iOptions> |
|
New argument: |
•<omnuRecordGroup> |
|
|
|
|
New supported value: |
•BINFO_INREADPROCESS |
|
|
|
|
New supported value: |
•#CellRegion |
|
|
|
|
New supported value: |
•BEDIT_CALCULATE |
|
|
|
|
New arguments: |
•<iColumn> •<nRowNo> •<nRecNo> |
|
|
|
|
New arguments in condition: |
•<iColumn> •<nRowNo> •<nRecNo> |
|
|
|
|
New arguments: |
•<iColumn> •<nRowNo> •<nRecNo> |
|
|
|
|
New argument: |
•<uTransformBlock> |
|
|
|
|
New supported Values: |
•BESF_ONMOUSE_BUTTONUP |
|
|
|
|
New arguments: |
•<iColumn> •<nRowNo> •<nRecNo> |
|
|
|
|
New arguments: |
•<iColumn> •<nRowNo> •<nRecNo> |
|
|
|
|
New arguments: |
•<iColumn> •<nRowNo> •<nRecNo> |
|
|
|
|
Neuer Wert: |
•DBRFF_REMOVEDUPLICATERECNO |
|
|
|
|
Neue Argumente: |
•<iAlphaBlendRatio> •<oCell> |
|
|
|
|
New arguments: |
•<iColumn> •<nRowNo> •<nRecNo> |
|
|
|
|
New arguments in condition: |
•<iColumn> •<nRowNo> •<nRecNo> |
|
|
|
|
New arguments: |
•<iColumn> •<nRowNo> •<nRecNo> |
|
|
|
|
New arguments: |
•<iColumn> •<nRowNo> •<nRecNo> |
|
|
|
|
New arguments in condition: |
•<iColumn> •<nRowNo> •<nRecNo> |
|
|
|
|
New arguments: |
•<iColumn> •<nRowNo> •<nRecNo> |
|
|
|
|
New supported value: |
•#OpenColumn |
|
|
|
|
New supported constants: |
•BVO_ASPECTRATIO •BVO_STRETCHIMAGE |
|
|
|
|
New argument: |
•<iPosition> |
|
|
|
|
New functions
New samples
•bSample - Relations
The new sample replace the old sample "bSample - MultipleServer"
Other changes and extensions
•bDBServer and Record-Filter
The bDBServer:RecordFilter supports an active order scope now. Furthermore when a bDBServer:RecordFilter or bDBServer:RecordFilterMode is set, the data server is moved on the first record that corresponds to the record filter.
•Grid in bBrowser and Visual Styles
If the Visual Styles are active in the bBrowser and a grid with style BGRID_OUTLINE, BGRID_OUTLINEVERTICAL or BGRID_OUTLINEHORIZONTAL is defined but no foreground color for the grid (see bGrid:Foreground), then the grid is drawn with the foreground color of the visual style. This has the consequence that the grid is not drawn in the color black any more but in the color which is defined by the Visual Styles.
The images below shows the different for the grid style BGRID_OUTLINE in Windows XP.
Old representation with active Visual Styles
New representation with active Visual Styles
So that the grid is drawn in black, the foreground color must be defined in the bGrid object. The following code fragment demonstrates the procedure.
oGrid := bGrid{BGRID_OUTLINE, , , , , Color{COLORBLACK}}
Important Note: The new behaviour only have an effect when no foreground color is defined for the grid (see bGrid:Foreground) is defined. If a foreground color is defined, then the grid is drawn as usual.
•bBrowser:CellSelect()
In the past, the bBrowser has used the callback method bBrowser:CellSelect() to check whether a method CellSelect() exists in the owner of the bBrowser and has invoked this with an object of class ControlEvent. Now, the method is passed an object of class bCellSelectEvent instead the ControlEvent. Because the class bCellSelectEvent is inherited from ControlEvent, no modifications are necessary in your source code. If you should have strongly typed the method CellSelect() in your source code, then you can adapt the source code as below:
Old source code:
method CellSelect(oEvent as ControlEvent) as logic pascal class myDataWindow
...
New source code:
method CellSelect(oEvent as bCellSelectEvent) as logic pascal class myDataWindow
...
This modification is not necessary. The old source code will still work correctly. The modification is only necessary when you want to access the new properties of the class bCellSelectEvent.
•bViewStyle
The class bViewStyle was not inherited from any other class until now. The class bViewStyle is now inherited from class bTextStyle.
Important note: You must not change your source code because of this modification.
•Support for RightSLE
The support for the class library RightSLE from wmConsulting (www.wmconsulting.com) is improved. Note now that the calendar button in the control DateSLE is shown and managed correctly.
Page url: http://www.YOURSERVER.com/index.html?update_version_4.htm