Navigation:  Updates >

Update to Version 1.2

Print this Topic    Previous pageReturn to chapter overviewNext page

New classes

bIcon
bKeyCommand
bKeyCommandList
bRowEvent
bRowResizeEvent

New methods

bBrowser:EnableRowHeightVariable()
bBrowser:EnableRowResize()
bBrowser:ExistRowsWithVariableHeight()
bBrowser:GetRowFrameToMouse()
bBrowser:GetRowHeight()
bBrowser:IsRowHeightVariable()
bBrowser:IsRowResizable()
bBrowser:ResizeRow()
bBrowser:RowHeightMax
bBrowser:RowResize()

 

bBrowser:IsCellSelected()
bBrowser:IsRowSelected()
bBrowser:SelectionFirstColumn
bBrowser:SelectionFirstRow
bBrowser:SelectionMode
bBrowser:SelectionNextColumn
bBrowser:SelectionNextRow
bBrowser:SelectionRemove()
bBrowser:SelectionSet()

 

bBrowser:EnableInactiveSelection()
bBrowser:InactiveSelectedBackground
bBrowser:InactiveSelectedForeground
bBrowser:IsInactiveSelectionEnabled()
bBrowser:SelectedBackground
bBrowser:SelectedForeground

 

bBrowser:CaptionClick()
bBrowser:EnableCaptionClick()
bBrowser:IsCaptionClickable()

 

bBrowser:DrawSelector()
bBrowser:DrawSelectorState()
bBrowser:EnableSelector()
bBrowser:GetSelectorRect()
bBrowser:IsSelectorEnabled()

 

bBrowser:ContextMenuShow()
bBrowser:CurrentColumn (Assign)
bBrowser:FocusChange()
bBrowser:GetOpenColumn()
bBrowser:GetRowNo()
bBrowser:KeyCommand
bBrowser:WordBreakInMemo

 

bCellEditEvent:EditFlags

 

bGrid:CalculateSize()
bGrid:Foreground
bGrid:Height

 

bDataColumn:CalculateHeightOfValue()
bDataColumn:CaptionVisible
bDataColumn:FieldSpec
bDataColumn:IsHeightVariable()
bDataColumn:SuspendEmptyValues
bDataColumn:TextFormat

Changes at methods

bBrowser:EditCreate()
bBrowser:GetCountOfVisibleRows()
bBrowser:Redraw()
bBrowser:RowHeight
bBrowser:SetCurrentColumn()
bBrowser:SetCurrentRow()
bGrid:CalculateWidth()

Important!
The method is replaced by the method bGrid:CalculateSize().

bDataColumn:ValType

New functions

bRegisterByEventHandler()
bUnregisterByEventHandler()

Other changes and extensions

If in the bBrowser the right mouse button is pressed, now the cell under the mouse is selected. Subsequently, as before also an existing context menu is shown.

Error corrections

bBrowser:AutoEdit
At the value #Sensitive the next cell was also selected if the input were not correct and could thus not be closed.
bBrowser:Resize()
When changing the column width it could happen under certain circumstances that the method bBrowser:FillBuffer() was called with invalid parameters. This led to a program crash. The method bBrowser:FillBuffer() examined now the parameters and corrects it if necessary.
bBrowser and SetSelectiveRelation()
A selective relation in the linked server led to a endless loop, because DBServer:RecCount calls the method DBServer:Count() internally to count the records in the relation without to call the method SuspendNotification() before. Now the bBrowser uses internally DBServer:LastRec instead of DBServer:RecCount
bBrowser and Delete()
When deleting records in the bBrowser in frozen columns wrong data were shown. These errors is now repaired.
bBrowser:Refresh(), bBrowser:Skip() and bBrowser:AutoRefresh()
The methods did not work correctly, if no current record were more present. For the recovery of the error the method bBrowser:StabilizeServer() was implemented.
Esc key in the bBrowser
The ESC key was not passed on to the parent window. It is now passed on as WM_COMMAND event to the parent window, as also with the other controls.
bBrowser:Font()
The passed font was not activated. This error is now repaired.
Background color in bBrowser:CaptionView
An existing background color was not shown in the column caption. This error is now repaired.
bDataColumn:Init()
The arguments <uArg3> to <uArg5> were not passed on. This error is now repaired.
bDataColumn:Init()
With a numeric expression with decimals the field length was wrongly calculated. This could lead to a program crash, if the number of decimals were larger than the number of fixed digits. The field length is now determined by SetDigit()+1+SetDecimal().

Spelling mistakes

In follow methods, access, assigns and functions the spelling devil crept in.

Old

New

bBrowser:IsColumnMoveable()

bBrowser:IsColumnMovable()

bBrowser:IsColumnResizeable()

bBrowser:IsColumnResizable()

bDataColumn:Moveable

bDataColumn:Movable

bDataColumn:Resizeable

bDataColumn:Resizable

Font:Esqapement (Assign)

Font:Escapement

 


Page url: http://www.YOURSERVER.com/index.html?update_version_1_2.htm