3.2
* Added a ControlCreated Event.
* Added a MoveSelectionLeft method which will take into
account hidden columns.
* Added a MoveSelectionRight method which will take into
account hidden columns.
* Added a MoveSelectionUp method which will take into
account hidden rows.
* Added a MoveSelectionUp method which will take into
account hidden rows.
* The HScrollValue and VScrollValue properties will now do
nothing if called before the ControlCreated event is fired.
* Did changes in the Win32 rendering engine to prevent a
DC graphics context overflow when compiled with REALbasic 5.x
and used with non NT based Windows systems.
* The StyleGrid will no longer attempt to draw a header if
the ColumnWidth and MinColumnWidth for a given column is
less than 1.
* Fine tuned the KeyDown event.
* Fixed a problem that was born with the RB 5 fix in version
3.0.6 , where all Win32 Apps compiled with RB 4.x would fail
and all Win32 Apps compiled with RB 5 would fail on Win 98.
* Made byte offset tweaks for REALbasic 5.1.
* Improved layout support for REALbasic 5.x (TabPanel support,
resize support, and other layout support).
* Fixed some old drawing glitches.
3.0.6
* Made changes in the Win32 code to support the new
Unicode based Window system in REALbasic 5.0 compiled
Win32 apps.
* KeyDown events will now also be directed to the parent window
to avoid a REALbasic bug where REALbasic corrupts memory if
a KeyDown event is not also sent to the parent window.
* Shift click - selecting will now properly fire SelectionChanged events in
Multiselection mode.
3.0.2
* Made some tweaks in the control to make it work on REALbasic 5 alphas.
(Note that this does not mean in any way that we officially support alpha or
beta software).
3.0
* Cell text is now drawn with Quartz on Mac OS X, making it
antialiased.
* The GridRow object is now a true object rather than
a Floating engine object wrapper, which means that a GridRow
can now be inherited, so any number of item data
parameters can now be added to rows by inheriting from it.
* Added a extra constructor to the GridRow class.
* Font settings are no longer copied between shared matrixes,
which means that different views don't all need to display the
data with the same font.
* Renamed the TextFont property to MacTextFont.
* Renamed the TextSize property to MacTextSize.
* Added a WinTextFont property.
* Added a WinTextSize property.
* Added a GridObjectArray class which implements the IArray
Interface.
* Added a RowSet (Read and Write) property.
* Added a ResynchronizeContainer method.
* The CellGotSelected event was renamed to SelectionChanged,
and it now fires when selection is changed rather than if a Cell was
selected, which means that it will fire event with row number 0 if nothing
gets selected.
* The SelectCell method will now respect the LockDrawing property properly.
* The SelectCell method will now take correct actions if the Grid lives on
a TabPanel or other such container.
* The SelectRange method will now respect the LockDrawing property properly.
* The SelectRange method will now take correct actions if the Grid lives on
a TabPanel or other such container.
* The SelectionChanged event (former CellGotSelected) will now finish all
drawing and release draw buffers before the event is actually fired.
* The Rows property will now fire the SelectionChanged event if needed.
* The KeyDown event is now connected to the CancelEventAction property, which
increases the flexibility of the KeyDown event and corrects Win32 HIG issues
as well as incorrect Win32 focus issues.
* The Win32 plugin size is now 40% smaller than it was before.
* Fixed Win32 crash with LockDrawing in a open event.
2.8
* Added support for Mouse Scroll Wheel under Mac OS X and Windows.
(Mac OS Classic support for scroll wheel depends on your Mouse driver)
* RemoveRow will now fire the CellGotSelected event whenever
needed.
* Added internal intelligence to handle automatic drawlocks
when the Grid lives on a TabPanel or other such container.
(This feature is for REALbasic 3.5 and newer versions only)
* Added a constant to column alignment (10) which specifies left
aligned truncated text.
* Added a TextRightIndent property to the grid.
* Changed off-screen rendering communication with on-screen
rendering to correctly handle REALbasic 4.5 changed graphics
ports behavior.
* HScrollValue property now catches exception if its set to a value < 1.
* VScrollValue property now catches exception if its set to a value < 1.
* The SelectCell method will now respect the LockDrawing property.
* The Grid will no longer write a memory warning to the
OS X console when REALbasic launches.
* Fixed a draw glitch when the control looses focus under Mac OS X.
* Fixed a issue where the control would paint out of bounds under
MacOS Classic.
* Fixed a issue under OS X where a header could still be clicked
when the HeaderHeight was set to minimum.
* Fixed a issue under OS X where scrollbar ghosts from the Grid would
in some cases be left on the screen when a window containing StyleGrid
is resized.
* Made Win32 Alignment Synchronization tables faster.
* Fixed a Win32 concurrency issue with other Einhugur plugins.
* Fixed usage of Up and Down arrow keyboard keys on Win32.
2.5:
* Added a GotFocus event.
* Added a LostFocus event.
* Added a KeyDown event.
* Added a MouseDrag event.
* Added a CancelEventAction property.
* Added GetFocusOnClick property.
* Added suport for CGridSort 1.1 and 1.2.
* Added support for CColumnResize.
* Added a VerticalScrollbar property (See notes in the docs about this one).
* Added a ColumnMinWidth property.
* Text Wraping in cells now works for Win32.
* Column Headers are now appearance savvy on MacOS and
MacOS X.
* Listbox frame is now appearance savvy on MacOS and
MacOS X.
* Sort order indicator is now appearance savvy on MacOS X.
* Added a SortIndicatorColumn property.
(See notes in the docs)
* Longstanding gap-problem in column headers when scrolling fixed on
MacOS, MacOS X and Win32.
* Changed many things regarding drawing of the Grid on OS X.
* Changed behavior of the HeaderHeight property, see docs for
details (expesially regarding OS X).
* Changed behavior of the HeaderBackColor property, see docs for
details.
* Column headers clicks are now generated after mouse up, therefore
therefore the ColumnHeaderMouseDown event was renamed to ColumnHeaderClick
(See upgrade migration notes to upgrade your projects)
* Made minor speed optimizations in drawing cell rendering.
2.2:
* Added Select range method.
* Replaced "Label(Col as Integer) as String" with
Header(Col as Integer) as GridCell.
* Fixed a Win32 OffScreen buffer re-allocation problem.
* Fixed a range selection update bug.
* Improved speed in floating engine text handling.
// The following only apply for RB4 or later:
* Added UseFocusRing property.
* Focus ring is no longer rectangular.
* Focus now works under Win32.
* Greatly improved performance in data setters.
and getters, which speeds up all data manipulation.
2.0.5:
* A minor memory leak in the Win32 drawing engine was fixed.
* A bug where the Grid would draw out of bounds on MacOS
when a SelectCell was called from a different Window was fixed.
* A bug where the Grid would draw out of bounds on MacOS
when a EditCell was called from a different Window was fixed.
* Fixed memory error which only affected Windows 98
(not MacOS, NT and 2000)
2.0.3:
* CellDblClick event fixed when SelectEntire row is set to true.
* OnCellEdit event fixed when SelectEntire row is set to true.
2.0.1:
* Strange selection bug where incorrect cell was painted in some cases
to erase old selection.
* Added SelectedColEnd property.
2.0:
* The Grid has now adopted the Einhugur Floating Engine from StyleGrid
2.0. Like in the StyleGrid then the FLoating Engine is:
- Object oriented.
- Garbage collected internally.
- Multiple Grids can share the same datacontainer and
act as multiple views on the same data.
- Rows can be shared across multiple Grids or within the same Grid.
- Cells which have not been written to are virtual and
do not actually exist until they are needed.
- The floating engine is bounds checked to mimimise risk of crashes.
* Now uses REALEntry API to make the Grid extendable for other plugin
authors. Same API calls are avalible as to the StyleGrid.
* The Grid has now adopted the Einhugur Grid Rendering Engine 4.0 from
StyleGrid 2.5, which gives much faster cell rendering than previous versions.
* Win32 Target is now supported. (This is first implementation
of the Win32 support so it comes as is without guaranties)
* Added support for smart scrolling under PPC (System 8.5 and later).
* More than 32k of Rows now supported under Carbon, PPC (System 8.5 and later)
and Win32.
* Removed all dependencies to the depreciated REALGetControlHWND
(depreciated in the new REALbasic plugin SDK)
* Fixed a DoubleClick bug when SelectEntireRow was true.
1.8:
* Drawing glitch with header MouseDown when Grid had been
scrolled horizontally fixed.
1.7:
* Cell setter now respects the LockDrawing property
* Added SwapRows method which directly addresses the RowIndex
vector to implement fast custom sorting algorithms.
(This method does not check bounds to speed things up)
1.6:
* Fixed AppendRow and InsertRow crash in Open event
* Added SelectedRow property (read only)
* Added SelectedCol property (read only)
1.5.6
* The Grid now guaranties that the grid is fully initialized in the
Open even in stead of only half initialized like before, this should
eliminate lots of bugs and problems
Special Thanks goes to: James A. Wilson and Steven J. Schaeffer
for tracking this problem
* Made some documentation updates
1.5.5
* Crashing bug with multiple Row additions in the
openevent fixed
* Reverted change number 2 in 1.5.2
1.5.2:
* Bug with scrollbarthumbs when the Grid has not
focus fixed.
* Bug with to many rows showing when scrolling fixed
(Special thanks goes to James A. Wilson for helping
with finding and tracking those bugs)
1.5.1:
* Crashing bug with InsertRow fixed
1.5:
* Most of the Grid Control rewritten and many features added