Changelog for Visual xHarbour Build 237

+ Added DataTable:FromAlias() to adopt an open database into a DataTable object
i.e.
USE “C:\xhb\samples\test.dbf” NEW ALIAS “TESTING” SHARED

oData := DataTable( Self )
oData:FromAlias( “TESTING” )

::DataGrid1:DataSource := oData
::DataGrid1:AutoAddColumns()

! Fixed DataTable:Scatter() and Gather() methods
+ Added DataTable aScatter to contain an array with scattered values allowing
users to use such values besides Gathering them. It also allowes users to
modify the values before gathering i.e.

oData:Scatter()
cName := oData:aScatter[1] // cName is “Downey”

oData:Skip()
oData:RecLock()

oData:aScatter[1] := “Smith”

oData:Gather() // save the new record with first value changed

! Fixed FTPClient to allow Connect() after Disconnect()
+ Added DataGrid security to avoid non-object DataSources.

Changelog for Visual xHarbour

+ Added ImageName property to control Animation to match all image related controls
! Fixed Animation control to save file as resource
! Fixed Animation control to remove resources from resource file when ImageName is changed
+ Added OnContextMenu event to GridColumn objects
! Fixed FTPClient component to reset connection handle after “Disconnect()” to allow it to call “Connect()” again
! Fixed RTE right-clicking an empty DataGrid

Changelog for Visual xHarbour

! Fixed Debugger to use new ToolStrip and match current scheme
! Fixed StatusBar to smooth fonts after changing text
! Fixed ToolStrip to refresh child controls after enabling/disabling
! Fixed bug in ToolStripButtons not moving siblings when size changed.

Changelog for Visual xHarbour

2010-04-22 00:00 UTC-0800 Augusto Infante
* Renamed BindingSource to SqlConnector to follow ms standard.
+ Added property ContextMenu to DataGrid Columns. Any right click will
try to open the column’s ContextMenu and then DataGrid’s
+ Added DataGrid:ColFromPos( xPos ) will return the column number based
on the X coordinate.
! Fixed Flat TabControl not hiding tabs when ShowTabs = False
! Fixed MDIChild form to accept parameters array
! Fixed TabControls to hide < > UpDown arrows when ShowTabs=false and
tabs are wider than the control itself
! Fixed GroupBox to update Caption changes.

Changelog for Visual xHarbour

2010-04-20 00:00 UTC-0800 Augusto Infante
- Removed component DataConnection
+ Added full SQL support
+ Added new BindingSource component
it connects to the specified SQL Server or AutoDetect based
on the ConnectionString.
+ Added BindingSource property to DataTable
+ Added support for drivers SQLRDD and SQLEX
+ Added new “Socket” property to DataTable
When assigning a Socket component, DataTable sends requests to the
specified host in the Socket component in the following format:
‘SOCKETRDD|Request|MyTABLEALIAS|dbSeek|”cData”|.F.’
When the server receives the string it must macro convert the
parameter list starting at the 5th element i.e:
aReceived := hb_aTokens( Sender:RecData, “|” )
cParams := “”
FOR i := 5 TO LEN( aReceived )
cParams += aReceived[i] + IIF( i < 5, “,”, “” )
NEXT
This creates a string like this: “”cData”,.F.” so the function
in the server can be called like this: dbSkip( &cParams )