Navigation:  Updates >

Update to Version 1.4

Print this Topic    Previous pageReturn to chapter overviewNext page

Restructuring of the bBrowser class library

In order to improve the flexibility of the bBrowser class library, this was divided into the following libraries.

 

Library

Content

bDefines

(Type: Library)

Constants from all classes

bSystem Classes

(Type: DLL)

bCodeblock

bItemList

bOutputDebugString

bServer Classes

(Type: DLL)

bArrayServer

bDBServer

bGUI Classes

(Type: DLL)

bBrush

bCheckBox

bColorCondition

bColorConditionList

bComboEdit

bCompoundValue

bEventHandler

bFontCondition

bFontConditionList

bGrid

bIcon

bKeyCommand

bKeyCommandList

bViewStyle

bBrowser Classes

(Type: DLL)

bBrowser

bCell

bCellEditEvent

bColumnEvent

bColumnMoveEvent

bColumnResizeEvent

bDataColumn

bDrawValueEvent

bRecordAppendEvent

bRowEvent

bRowResizeEvent

 

By this division you can use now also classes from the individual libraries without having to include the entire class library.

 

Division into several libraries causes that you must include the individual libraries into your programs. It is not sufficient to include only the library bBrowser Classes. Additionally you must include still the libraries bDefines, bSystem Classes and bGUI Classes. You need the library bServer Classes only if you use the classes bArrayServer or bDBServer.

New classes

bBrush

bCellDragEvent

bCheckBox

bFontCondition

bFontConditionList

bItemList

bRecordAppendEvent

Changes at classes

bColorConditionList

Inherits from class bItemList

bKeyCommandList

Inherits from class bItemList

New methods

bArrayServer

DeletedScope

FLock()

OrderKeyAdd()

OrderKeyDel()

OrderKeyNoToRecord()

OrderKeyVal

RLock()

RLockVerify()

Unlock()

bBrowser

AutoSkip

CaptionArea

CellDragDrop()

CurrentBackground

CurrentForeground

CurrentRecNo

DataArea

Drag()

DragDropMode

DrawInfo()

DynamicDataArea

EditControl

FirstVisibleColumn

FirstVisibleRowNo

FontCondition

FooterArea

FooterClick()

FooterDoubleClick()

GetColumnRect()

GetColumnViewValueAs()

GetFontSpec()

GetFooterRect()

GetInfo()

GetInfoAlignment()

GetInfoBackground()

GetInfoFont()

GetInfoForeground()

GetInfoGrid()

GetInfoRect()

GetInfoView()

GetValueBackground()

GetValueForeground()

HorizontalScrollbarMode

InfoView

IsActive()

IsCellSelectable()

IsInfoVisible()

IsMultipleColorInGrid()

IsRecordVisible()

KeyChar()

KeyCommand (Assign)

LastVisibleColumn

LastVisibleRowNo

RecordAppend()

ResizeColumnAuto()

SelectionRowCount

SelectorArea

SetInfo()

SetInfoView()

SkipToCell()

TabKeyMode

VerticalScrollbarMode

VisibleColumnCount

bColorCondition

InactiveSelectedBackground

InactiveSelectedForeground

SelectedBackground

SelectedForeground

bCompoundValue

DeleteValue()

GetValue()

bDataColumn

FontCondition

GetFontSpec()

HeightVariable

Owner

PropertyDelete()

PropertyGet()

PropertyPut()

ViewValueAs

bDBServer

RecordFilter

RecordFilterFlags

RecordFilterMode

bDrawValueEvent

Current

bGrid

BackgroundList

bRowEvent

RecNo

Changes at methods and accesses

bArrayServer

Init()

New argument:

<iDataFormat>

bBrowser

DrawCell()

New argument:

<iRecNo>

DrawRow()

New argument:

<iRecNo>

DrawFocus()

New argument:

<iRecNo>

DrawSelectorState()

New argument:

<iRecNo>

DrawValue()

New argument:

<lCurrent>

EditCreate()

New argument:

<iRecNo>

EditRecalculate()

New argument:

<iRecNo>

GetCellRect()

New argument:

<iRecNo>

GetEditRect()

New argument:

<iRecNo>

GetRowRect()

New argument:

<iRecNo>

GetSelectorRect()

New argument:

<iRecNo>

IsCellSelected()

New argument:

<iRecNo>

IsCellVisible()

New argument:

<iRecNo>

IsRowSelected()

New argument:

<iRecNo>

IsRowVisible()

New argument:

<iRecNo>

PropertyPut(),
PropertyGet()

New properties:

#CaptionTouchPointer

#ColumnMovePointer

#ColumnResizePointer

#InfoInEntireArea

#MouseWheelUnitSize

#RowResizePointer

#ScrollPointer

#ScrollThumbDragRefresh

#ValueViewList

Redraw()

 

 

bBrowser:Redraw()

bBrowser:Redraw(#Cell, ...)

bBrowser:Redraw(#Line, ...)

bBrowser:Redraw(#Focus, ...)

bBrowser:Redraw(#SelectorState, ...)

New areas:

New argument:

New argument:

New argument:

New argument:

#Selector, #Info

<iRecNo>

<iRecNo>

<iRecNo>

<iRecNo>

Refresh()

New argument:

<uMode>

ResizeRow()

New argument:

<iRecNo>

RowResize()

New argument:

<iRecNo>

SetCurrentRow()

New argument:

<iRecNo>

bColorConditionList

GetColorSpec()

New elements in return value

bCompoundValue

Draw()

New argument:

<lCurrent>

bDataColumn

ColorCondition

Access was strong typed

bDrawValueEvent

Init()

New argument:

<lCurrent>

bKeyCommand

Init()

New argument:

<cKey>

bRowEvent

Init()

New argument:

<iRecNo>

bRowResizeEvent

Init()

New argument:

<iRecNo>

New functions

bwinGetDefaultButton()

New samples

bSample - DataBrowser

bSample - MultipleServer

bSample - SortMarker

bSample - Images

bSample - DragDrop

Other changes and extensions

bBrowser:Append()
Before and after an append the callback method bBrowser:RecordAppend() is called. With the method can be reacted to the append.

bBrowser:DrawValue()
The method does not determine any longer independently the foreground color for the states Selected, Disabled or Deleted. The foreground color must be specified for these states in the argument <oForeground>. For determining the appropriate foreground color the method bBrowser:GetValueForeground() can be used.

bBrowser:MenuInit()
The callback method is called if a context menu of the bBrowser or the associated edit control is to be displayed. See also Control:MenuInit() in the help of CA-Visual Objects.

bBrowser:MenuSelect()
The callback method is called if in a context menu of the bBrowser or the associated edit control a menu option were selected. See also Control:MenuSelect() in the help of CA-Visual Objects.

bBrowser:MenuCommand()
The callback method is called if in a context menu of the bBrowser or the associated edit control a menu option were activated. See also Window:MenuCommand() in the help of CA-Visual Objects.

bBrowser:MoveColumn()
When moving a column with the mouse the insert position of the column is shown by a vertical blue bar.

 

ColMove

bBrowser:RowMode
With the RowMode #Absolute the vertical scrollbar remains switched on. However the slider is always positioned in the center. Only with the first or last record the slider is moved to the top or bottom of the scrollbar.
 
With the RowMode #Absolute the block selection is not no more supported by cells/rows with the mouse or the keyboard for technical reasons. Several single cells/rows can still be selected.

bCompoundValue:Draw()
The method draws now also bitmaps and icons.

Error Messages

bBrowser:CaptionView
In the CaptionView defined background was not drawn.

bComboEdit and choice dialog window
If the bComboEdit control were destroyed during the dialog window were opened the dialog window was not closed automatically.

bBrowser:SelectionRemove()
The mode #Single caused an error if the selection which can be removed were the first row of a block selection.

bBrowser and AutoEdit #Sensitive
In a check box the following keys were not supported:

Arrow Left,

Arrow Right,

Arrow Up,

Arrow Down,

Page Up,

Page Down

bBrowser:AutoRefresh()
On Windows NT and Windows 2000 the auto refresh caused crashes.

bBrowser:Freeze
In certain situations the access was processed not correctly or caused a crash.

bBrowser:MoveColumn()
During moving a column an empty window (for the column caption) was displayed in the taskbar of Windows.

bDataColumn:GetContextMenu()
The method did not return a context menu.

bCompoundValue:Draw()
If the bCompoundValue contained the alignment BALIGN_LEFT this was not used when drawing.

ADS and scope
In combination with the ADS server a skip over end of file within an active scope the program crash.

bDBServer and selective relation
The ConcurrencyControl mode CCStable caused in certain situations crashes.

bDBServer:ClearRelation()
Selective relations were not closed.

bArrayServer:Notify()
With NOTIFYINTENTTOMOVE was always returned the value TRUE.

bArrayServer:Seek()
With seek the setting DESCEND of the current order does not consider.

bArrayServer and orders
New or changed records were not appended or not updated to the orders.

bArrayServer and orders
Irrevocablly deleted records were not removed from the orders.

 


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