Navigation:  Updates >

Update to Version 2

Print this Topic    Previous pageReturn to chapter overviewNext page

Important changes and extensions

•Changed DLLs
The following DLLs were integrated in the file bBrowser.DLL:

•bSystem.DLL

•bGUI.DLL

•bBrowser.DLL

Furthermore the file names of the DLLs contain a version number now. This makes it simpler to use different versions of the bBrowser on the same computer. The following table lists the old and the new file names of the DLL's:

File Name (old)

File Name (new)

bSystem.DLL

bBrw20.DLL

bServer.DLL

bServ20.DLL

bGUI.DLL

bBrw20.DLL

bBrowser.DLL

bBrw20.DLL

•Changed methods and accesses
For the methods and accesses below the arguments, the return value or the behaviors was changed:

•bBrowser:GetFirstVisibleColumn()

•bBrowser:GetLastVisibleColumn()

•bBrowser:GetNewEditableColumn()

•bBrowser:GetNewSelectableColumn()

•Strong typing removed
The strong typing was removed for the following methods, accesses and assigns:

•bBrowser:GoBottom()

•bBrowser:GoTop()

•bBrowser:Skip()

•bIcon:Size

New classes

•bBrowserCollection

•bCheckColumn

•bEditCondition

•bEditConditionList

•bSelectCondition

•bSelectConditionList

•bVirtualColumn

•bVirtualFieldColumn

New methods

•bArrayServer

•CopyDB()

•CopyDelimited()

•CopySDF()

•CopyStructure()

•CopyToFile()

•bBrowser

•AdjustTitleHeight()

•AutoTitleHeight

•CalculateRowHeight()

•CellClick()

•Collection

•ContextMenuMode

•CurrentRowBackground

•CurrentRowForeground

•DisabledBackground

•DisabledForeground

•DrawTitle()

•EditCell

•EditCloseFlags

•EditCondition

•EditStartFlags

•EnableContextMenu()

•ExistColorConditions()

•ExistEditConditions()

•ExistFontConditions()

•ExistSelectConditions()

•FirstVisibleColumnOffset

•GetColumnOptions()

•GetColumnNo()

•GetOpenColumnNo()

•GetTitleAlignment()

•GetTitleBackground()

•GetTitleFont()

•GetTitleForeground()

•GetTitleGrid()

•GetTitleOptions()

•IsCellEditable()

•IsContextMenuEnabled()

•IsHorizontalScrollbarVisible()

•IsVerticalScrollbarVisible()

•ProcessState

•RecordRelease()

•RowSelect()

•SelectorView

•SetRowHeight()

•Title

•TitleArea

•TitleHeight

•TitleView

•bCompoundValue

•InactiveSelectedBackground

•InactiveSelectedForeground

•SelectedBackground

•SelectedForeground

•ValueOptions

•bDataColumn

•EditCloseFlags

•EditCondition

•EditStartFlags

•EnableContextMenu()

•ExistColorConditions()

•ExistEditConditions()

•ExistFontConditions()

•ExistSelectConditions()

•IsContextMenuEnabled()

•IsValueEmpty()

•NameSym

•SelectCondition

•ViewEmptyValuesAs

•bDBServer

•RecordRelease()

•bViewStyle

•Options

Changes to methods and accesses

•bArrayServer

•RecordPut()

New supported argument:

<lUpdateOrder>

•bBrowser

•DrawValue()

New supported argument:

<oBackground>

•GetContextMenu()

New supported constant:

BCM_TITLE

•GetFirstVisibleColumn()

Changed arguments and return value.

 

•GetLastVisibleColumn()

New supported argument:

<iOffset>

•GetNewEditableColumn()

Changed arguments

 

•GetNewSelectableColumn()

Changed arguments

 

•GetRowHeight()

New supported argument:

<iRecNo>

•GetValueBackground(),

GetValueForeground()

New supported argument:

<iCurrentRow>

•GoBottom(),
GoTo(),
GoTop(),
Skip()

New supported argument:

<iSelectFlags>

•MoveColumn()

New supported argument:

<iPositionNew>

•PropertyPut(),
PropertyGet(),
PropertyDelete()

New supported properties:

•#ContextMenuMode

•#DataPointer

•#FooterPointer

•#ScrollHUnitPixel

•#SelectorPointer

•#LogicValueIdentifier

•ResizeColumn()

New supported argument:

<iWidthNew>

•SelectionSet()

New supported argument:

#Invert

•SetFirstColumn()

New supported argument:

<iOffset>

•SetContextMenu()

New supported argument:

<omnuTitle>

•bCompoundValue

•Draw()

New supported argument:

<lFocus>

•Init()

New supported argument:

<iValueOptions>

•bDataColumn

•PropertyPut(),
PropertyGet(),
PropertyDelete()

New supported properties:

#EmptyValueCondition

•bNameArray

•Put()

New supported behavior

If the value does not exist, then its added with bNameArray:Add() automatically.

•bViewStyle

•Init()

New supported argument:

<iOptions>

Changes to samples

•bSample - Edit

New samples

•bSample - BrowserCollection

•bSample - ContextMenu

•bSample - VirtualColumn

Other changes and extensions

•Support of XP Themes (Visual Styles)
The classes bBrowser and bComboEdit supports XP Themes (Visual Sytels) now. So that the XP Themes are supported, a Manifest resource entity must be included in the program.

•Support of RTF Text
RTF Text can be displayed as column value, column caption and column footer. So that text is displayed in RTF format the flag BVO_RTF must be set in the access bViewStyle:Options.
 
The classes bBrowser and bDataColumn contain several accesses of the class bViewStyle in which the flag BVO_RTF can be set. The corresponding accesses are:

•bBrowser:TitleView

•bBrowser:CaptionView

•bBrowser:DataView

•bBrowser:FooterView

•bDataColumn:CaptionView

•bDataColumn:DataView

•bDataColumn:FooterView

The code fragment below demonstrates how the column values for the column #INFO are displayed in RTF format:

 

oColumn := oBrowser:GetColumn(#INFO)

oColumn:DataView := bViewStyle{, , , , , BVO_RTF}

 

•bBrowser and horizontal scrolling
When scrolling horizontally in the bBrowser whole columns were scrolled till now. Now, the columns are scrolled by pixel steps. It can be defined with the property #ScrollHUnitPixel, how many pixels a step is. The property can be determined with the method bBrowser:PropertyGet() and changed with bBrowser:PropertyPut().

•bBrowser and column moving
If columns are moved interactivly with the mouse, and the mouse hits the border of the data area then the columns are scrolled horizontal in pixel steps now. Till now, a whole column was scrolled. If the SHIFT key is pressed in addition when moving a column, then a whole column is scrolled again.

 


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