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
Changes at classes
New methods
•KeyCommand (Assign)
Changes at methods and accesses
New argument: |
<iDataFormat> |
New argument: |
<iRecNo> |
|
New argument: |
<iRecNo> |
|
New argument: |
<iRecNo> |
|
New argument: |
<iRecNo> |
|
New argument: |
<lCurrent> |
|
New argument: |
<iRecNo> |
|
New argument: |
<iRecNo> |
|
New argument: |
<iRecNo> |
|
New argument: |
<iRecNo> |
|
New argument: |
<iRecNo> |
|
New argument: |
<iRecNo> |
|
New argument: |
<iRecNo> |
|
New argument: |
<iRecNo> |
|
New argument: |
<iRecNo> |
|
New argument: |
<iRecNo> |
|
New properties: |
•#CaptionTouchPointer •#ColumnMovePointer •#ColumnResizePointer •#InfoInEntireArea •#MouseWheelUnitSize •#RowResizePointer •#ScrollPointer •#ScrollThumbDragRefresh •#ValueViewList |
|
|
|
|
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> |
New argument: |
<uMode> |
|
New argument: |
<iRecNo> |
|
New argument: |
<iRecNo> |
|
New argument: |
<iRecNo> |
New elements in return value |
New argument: |
<lCurrent> |
Access was strong typed |
New argument: |
<lCurrent> |
New argument: |
<cKey> |
New argument: |
<iRecNo> |
New argument: |
<iRecNo> |
New functions
New samples
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.
•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