9.0.1
Fixed a crash issue when setting header text on Cocoa targets.9.0:
Cocoa compile is now officially supported. (upcoming REALbasic 2011 versions)Added a ShadeSelection boolean property that uses Quartz when on Cocoa, GDI plus when on Windows and Cairo when on Linux to shade the selection in a nice way when in a full row mode. (Carbon compile does not do shading). Windows has two shading modes that it automatically switches a more list oriented shading if there are no horizontal grid lines and a more grid oriented shading if there are horizontal grid lines.Added a HotTrack property that lets cells be hot tracked when on Windows when hovering over them with the mouse. (full row selection needs to be on as well as ShadeSelection for this to take effect).Fixed a number of Cocoa bugs and did lots of improvements from the beta of the Cocoa port.8.9.5:
PageDown, PageUp, End and Home keys now affect the scrolling of the Grid (all platforms)Improved the scrolling on Linux systems.Cocoa port has been upgraded from alpha to beta stage.Cocoa beta improvement: Scrollbars now work and are correctly drawn.Cocoa beta improvement: Focus handling now works and is correctly drawn.Cocoa beta improvement: Changed text rendering to CoreText.Cocoa beta improvement: Fixed a crash when using the mouse wheel.8.9.4:
Added a HasBackColor property to the StyleGridColumn class.Added a BackColor property to the StyleGridColumn class.Added a Coloring columns example project.Second Alpha of Cocoa build support is included. (Note this is in no way complete alpha).8.9.3:
Fixed inaccuracy in the RowsOnScreen property.Started transitions of changes that will be needed for upcoming REALbasic 2011.First Alpha of Cocoa build support is included. (Note this is in no way complete alpha).8.9.2:
Fixed longstanding issues with Horizontal scrolling. (note horizontal scrolling behavior is now also slightly changed to ensure it always works reliably and the new way speeds the overall rendering engine a bit)Fixed some issues with the FreezeCols proper.8.9:
Added a FreezeCols property.The Grid now supports horizontal mouse wheels.Faster and more compact runtime is now used on Windows systems.8.8.5:
Added a EnableMenuItems event.Improved multi selection row mode when deselecting by holding down cmd or control key.8.8.3:
Fixed a crash issue with 5 parameter CellFromPoint function.8.8.2:
Fixed a issue in REALbasic 2008r3.1 which caused exception when using PopupMenu cell type.8.8:
Changed some constructors to new style REALbasic constructors to make the plugin work on the latest REALbasic version.Did some internal optimizations and replaced use of depreciated SDK functions.Plugin is now linked against and dependent on libstdc++6 instead of libstdc++5 on Linux systems.8.7.9:
Fixed a issue in area selection mode.8.7.7:
Fixed a crash problem on Windows systems when horizontal lines were turned off.8.7.5:
Fixed a problem that prevented the plugin from working on Linux systems.8.7.4:
Improved the mouse wheel handler on all platforms.8.7.2:
Improved drag handling when multiple items are selected.8.7:
Added a new constant - ScrollbarWidth to be used with the GetMeasure function.Improved the Linux portion of the control to get it to draw properly on recent versions of Suse Linux systems.The Universal Binary is now compiled as Bundle instead of dylib to support the new mechanism in REALbasic to load Mach-O plugins directly into memory.8.6.5:
Improved look and feel on Linux systems.8.6.0:
Added a PopUpMenu cell factory type.Added a PopUpMenuCellFullSensitivity property to the StyleGrid class.Added 3 new parameters to the CellAction event.Improved Right click handling in when in multi selection non full row mode.Did some internal restructuring.Fixed a bad crash issue with Progress Bar cells.Fixed cell border issue on Linux systems.8.5.6:
Optimized Linux Builds.Fixed a draw glitch on non composite Windows on MacOS X.Improved Right click handling in when in multi selection mode.Did some internal restructuring.Setting the Cols property to illegal value such as zero or less will now reset it to one instead of crashing.8.5.4:
Added countermeasures to a issue in REALbasic 2006r4 where Composite Window - Resize left the Graphics port in incorrect state.8.5:
Added support for MacOS X Universal Build.Fixed a problem with having both spanned cells and horizontal scrolling.8.3.5:
Changed the parameters in the OnEditCell event to support a new and improved Cell edit class.Fixed a problem with the Placement property on the StyleGridMarker class.Fixed a problem with inaccurate drawing of cell borders on Windows systems.Fixed a MacOS Classic problem where last version had improperly compiled segment.8.3.2:
Fixed a memory leak problem.8.3:
Added a marker property to the StyleGridCell class.Added a StyleGridMarker class.Disabled Masks on pictures when the Grid lives on Composite Windows on MacOS X because of serious problems that it can cause.Moved the BackColor property of a StyleGridCell to the StyleGridStyle class.Added a HasBackColor property to the StyleGridStyle class (this previously existed but was hidden, it was automatically set when the backcolor was set but there was no way to unset it)8.2:
Pictures in the StyleGrid now support masks. (REALbasic 2005 or later for Mac, REALbasic 5.x or later for other platforms)Changed the compile architecture used for the plugin on the MacOS Mach-O target.Changed the compile architecture used for the plugin on the Windows target.Did various of internal optimizations.8.1.5:
Fixed a problem which in some cases was causing a crash if the Cols property was increased after the grid had rows in it.Added a isRightButton parameter to the MouseDown event.Headers no longer get clicked when the mouse click is right click.The right click is no longer marked as handled by the StyleGrid which should let REALbasic properly fire the new REALbasic ContextMenu events.Right clicks are no longer counted in DoubleClick evaluations.Fixed a problem on Windows systems where the StyleGrid was leaking one REALbasic Graphics object per cycle.Shift and Control modifiers are now ignored if the mouse click is right click. (This one will not take effect for users until REALbasic fixes bug ID: rndamwuk with the IsCMMClick function).8.1.2:
Fixed a problem which the StyleGrid has suffered from since version 8.0 where using the readable Cell function to access hidden cells past the last Column would crash.8.1.1:
Fixed a problem when used with the Windows IDE.8.1:
Some tweaks were done to add support for REALbasic 2006.8.0.4:
Fixed continued Windows IDE problems.8.0.3:
Fixed a problem that was introduced in version 8.0.2 which made the REALbasic Windows IDE crash on launch.8.0.2:
Fixed a problem where if a selection was made from code when in Multiselection Full Row mode then it was not possible to change the selection with the arrow keys even if the control has focus.StyleGridSelection.LastSelectedRow now returns the last selected row of the last selection region when in multiselection full row mode. Previously LastSelectionRow was undefined in the documentation when in this selection mode but was returning the last selection row of the first selection region.Fixed a problem on non Themed Windows systems where the first checkbox on the screen was incorrectly drawn.The control no longer responds to MouseDown and KeyDown when it is disabled. (Not sure why REALbasic does not handle this part).Fixed a problem when running the control on Windows 2003 Server.8.0:
Columns now have their own Default cells which for example enables the user of the control to define that all cells in a certain column should be constructed with a certain style or back color.Added a DefaultCell property to the Column class.Added a CopyDefaultCell property to the Column class.Added a ItemData property to the Column class.Added a new example project which shows in a simple way how to make all cells in one column share the same style object.7.8:
Added a RowIsSelected function to the StyleGridSelection class.Added another variation of the CellFromPoint function to the StyleGrid to support pre-detecting cell actions.The plugin is now more optimized.7.7.2:
Fixed a problem when using the StyleGrid with Windows systems where the vertical scrollbar sometimes got enabled when it should not be enabled.7.7:
Added support for non continuous selection when in full row selection mode.Improved support for very uneven distribution of row height.Changed the SelectionChanged event.Added a StyleGridSelection class which has all the needed properties and functions to control the selection.Removed the SelectedRow property.Removed the SelectedCol property.Removed the SelectedRowEnd property.Removed the SelectedColEnd property.Removed the SelectCell method.Removed the SelectRange method.7.6.4:
Fixed a crash problem when the Grid control was scaled down to zero height and or zero width, which prevented it from working with the WindowSplitter docking features.Fixed a problem on non Windows XP systems when compiling using REALbasic older than 5.5.7.6.2:
Fixed a problem where the SelectedRowEnd and SelectedColEnd properties did not always give correct values.7.6:
Added support for next generation of REALbasic (Including the Linux IDE). Please note that the design mode of the control in next generation of REALbasic is not as sophisticated as it was since the control now needs to be emulated while in design mode. Only bare minimum of it is drawn in design mode.Fixed a problem where some measure constants were swapped. This was thought to have been fixed in 7.5.4 but apparently the fix did not make it into the build.Improved the documentation.7.5.5:
Fixed a problem where a non Themed mode Windows XP setting was not correctly detected when drawing the theme border on Windows Systems.7.5.4:
Scrolling with the arrow keys is now smoother.Fixed a problem where SelectedCol was returning incorrect value.7.5.2:
Added support for MacOS X 10.4 (Tiger).Fixed a problem where some measure constants were swapped.7.5:
Added a GetMeasure function.Added a EvenBackColor property.Added a OddBackColor property.Removed the old BackColor property.Fixed a problem where sometimes the Horizontal scrollbar would not enable it self when the Grid was made bigger and then smaller again.Fixed a problem where the bottom line of the Grid was not theme savvy.Fixed a problem where the Scroll Wheel was not properly disabled when the vertical scrollbar is disabled.7.4:
The ItemData property on rows now takes a Variant instead of a Integer.The frame around the control is now theme compliant on new Windows systems.Dropped the legacy HeaderBackColor property.Fixed a problem where grid lines were sometimes incorrectly rendered when OutOfBoundsGridLineColor was used.7.3.4:
The Left property on the StyleGrid picture now supports larger value than 255. (Request ID 159).Fixed a issue where the Horizontal scrollbar on Windows systems was not respecting the LiveScroll property. (Issue ID 160).7.3.2:
Fixed a bug where the new header icon feature was only working for the first Column Header.Fixed a bug where a click in the Resize Glyph area could sometimes trigger unwanted scrolling.7.3:
Headers can now have icons in them, including masked icons.Added a HasHeader property.Dropped the HeaderHeight property.Made rendering faster.Replaced the header controller with a better one from the TreeView control.Changed the CornerButton custom rendering so it can now be done with a Graphics object so it now works on all platforms.Fixed potential memory problem with Progressbar cells.Targeted a problem where headers where sometimes late at updating them self's if their width was set from the ControlCreated event.7.2.7:
Fixed a problem with the variation of the AppendRow method that takes string as parameter where it was not respecting the CellFactory Type for the first Column.Fixed a problem with the variation of the InsertRow method that takes string as parameter where it was not respecting the CellFactory Type for the first Column.7.2.5
Fixed a problem where shared rows were not behaving correctly.Fixed a crash on MacOS X when clicking between the corner button and the scrollbar in some cases.7.2.2:
Added a AfterMouseDown event (To help with use of contextual menus)Fixed a problem in Carbon classic mode when LiveScroll was enabled.7.2:
Designed a new load balancing module in the Grid control engine to ensure greater speed when under load.The MacOS and MacOS Version of the control now use the old renderer for images again because of serious problems that the new one was causing in version 7.0 and 7.1.7.1:
Added UTF-8 support on Windows.Fixed a bug that was introduced in version 7.0 that made UTF-16 encoded strings not get displayed on Windows systems. Fixed a bug with the RemoveRow method that takes count as parameter.Accelerated AppendRow a little.7.0:
Added full Linux compile support.Added a RowsOnScreen() as Integer function.Added protection to the VScrollValue property so that it cannot be set out of bounds.Added protection to the HScrollValue property so that it cannot be set out of bounds.Pictures now have the same drawing capabilities as REALbasic pictures have, that is masks and such is now supported.Progress cells now highlight properly on all platforms.Improved the Scroll wheel support on MacOS X.The Mach-O targets were re-linked without flat namespace to enable multiple Mach-O plugins to run in the same project.The plugin now has high quality HTML documentation instead of RB Plugin Plunger documentation.6.5:
Added Mach-O compile support. (Feature for REALbasic 5.5.2 and later) Added UTF-16 Unicode support for the Windows rendering engine. (Only REALbasic 5.1 or later benefits from this)Cells that contain pictures are now rendered much faster than before on Windows systems. (Only REALbasic 5.5 or later benefits from this)Fixed a crash problem and incorrect functionality problem with the InsertCol method. (More details can be found in the issue tracking system, issue ID 90)Fixed a error in the documentation. (More details can be found in the issue tracking system, issue ID 91)6.4.2:
Fixed a problem with the SelectionTextColor property. (Track ID 39)Fixed a draw glitch in the Corner button when running on MacOS Classic.Fixed a problem where alignment constant 10 was not respected when used on a Column level. (Track ID 31 and Track ID 50)The Vertical Scroll-bar now guaranties that all rows can be scrolled to even when there is a lot of use of the Row Height property.6.4:
Added a HasSelectedTextColor property.Added a HasInactiveSelectionColor property.Added a InactiveSelectionColor property.Added a HasSelectedTextColor property.6.3.4:
Header cells now respect cell LeftIndent, TopIndent and RightIndent properties. (Track ID 7)Fixed a draw glitz with left alignment in headers when using the new Quartz header renderer. (Track ID 1)Doing a column resize will no longer cause text in cells to be clipped in certain font sizes when rendering with Quartz. (Track ID 6)Fixed a memory leak where the initial number value of a header was not cleaned properly. (Track ID 8)The header counter can now count to high numbers. (Track ID 8)6.3:
Rewrote the entire header manager to use advanced buffer technology like cells in the Grid use.Header cells are now drawn on OS X with Quartz.Added a ControlResized event.Made the ControlCreated Event port safe to ensure correct drawing even if the code in the event will change port without restoring it.The Vertical Scrollbar can now truly be hidden.Fixed resize problem when the Grid lives on a TabPanel that is not the front most.Fixed the drawing pattern of the Resize glyph when the Grid lives on a TabPanel and is not in composite mode.Fixed a problem with inaccurate Hit-Test in the new Disclosure cell factory.Fixed a problem in the new Disclosure cell factory where no text was showing in the Disclosure cells.Fixed a problem where drawing images in cells left the graphics port in incorrect state causing some failures in cell factories that inherit from Extended cells.The rendering engine has been made all context sensitive to prepare it for new features.Did some extra optimizations in the rendering engine.The SmallCheckbox cell factory will now fall back to normal checkbox cells on MacOS Classic since MacOS classic has no concept of small checkboxes.6.2.5:
Fixed a problem where the new SmallCheckBox type could not be created with RecreateCell.Fixed a problem where a CheckBox hit-test was not respecting the ControlTopIndent and ControlLeftIndent properties.Fixed a problem where the new SmallCheckBox Cell type was not using the ControlTopIndent and ControlLeftIndent properties.Fixed a problem which caused some non transparent images to be painted in color blend mode.Added a unsupported and undocumented CellFactory 5 (disclosure), this is intended for at least 2 groups who are proving that the StyleGrid can be made to display hierarchal data. (On Windows this will currently fall to the CheckBox cell factory except the Value property is free for custom use which is normally is not on a Checkbox cell factory).6.2:
Added a new cell type for small checkboxes. (This is a Mac feature only, on Windows this type will use the large checkbox type instead).A 3rd state can now be set on cell checkboxes, both for small and large checkbox types.Improved Composite Window support.The value property on StyleGridCells is now also used on checkbox cell types.Added support for REALbasic 5.5 event changes.Fixed class offset for REALbasic 5.5.Updated StyleGridUtilities for REALbasic 5.5 class offsets.Added access to inner objects for Styles to be able to do a handshake with DataGridStyle objects.Added access to inner objects for Pictures to be able to do a handshake with DataGridPicture objects.6.1.5:
Fixed a problem when with the OnEditCell event when in row selection mode.Added automatic encoding detection for MacOS X (works for RB 5 and later). This automatic encoding detection also makes it possible to display for example Roman, Japanese and Arabic characters in the same grid control all at once.6.1.2:
Added support for Double Arrow scrollbars which can be activated in MacOS X by using TinkerTool.Fixed a problem where sometimes a incorrect row was displayed when selecting a cell.6.1:
Added a new cell factory type to create Checkbox cells.Added a CellAction event.Added a Checked property to the StyleGridCell class (supporting Checkbox Cell factory)Added a Enabled property to the StyleGridCell class (supporting Checkbox Cell factory)Added a ControlLeftIndent property to the StyleGridCell class (supporting Checkbox Cell factory)Added a ControlTopIndent property to the StyleGridCell class (supporting Checkbox Cell factory)Added a FactoryType property to the StyleGridCell class .Added auto detection to detect transparency in StyleGridPictures based on transparency setting in the actual REALbasic picture.Removed the Transparent property from the StyleGridPicture class. Removed the Transparency constructor from the StyleGridPicture class.Fixed a problem with cell selection when using arrow keys and the current selected cell is not visible on the screen.Fixed a problem with the Horizontal scrollbar.Fixed a problem with the DrawCell method where it was not always respecting selection flags.Fixed a problem in SelectEntireRow mode where selection events where fired if a cell in a selected row was clicked.6.0.2:
Made the CellFromPoint and CellBounds a lot more accurate in out of bounds calculations.Fixed cell borders on extended cells on Windows systems where the drawing was one pixel off.Fixed a problem with Selection events getting fired twice when in Full row mode.6.0.1:
Windows XP Header Hot Tracking is now more responsive.Fixed drawing glitches with headers drawn with Windows XP themes.Fixed some old drawing issues with the corner button on non XP Windows systems.Fixed a memory leak on MacOS and Windows systems.Fixed a problem when running on Windows XP when themes have been disabled on the machine.6.0:
Put a new rendering engine in the StyleGrid to be able to support Composite Windows.Added a LiveScroll property.Added a new cell type to display progress bars in cells.Added a StyleGridColumn class with the following properties:+ CellFactoryID - To control birth of cells (Can be set to DefaultCell, ExtendedCell and ProgressCell)+ Width+ MinWidth+ Header+ AlignmentAdded a RecreateCell method to the StyleGridRow object. (This one is to let cells be reborn with different type)Added a Max property to the StyleGridCell object.Added a Value property to the StyleGridCell object.Added a Column property to the control.Column Headers on Windows XP now get XP theme.Progress bars now get XP theme when used with Windows XP.Fixed a problem with the corner button.Removed the ColumnWidth property since it now is implemented on the StyleGridColumn class.Removed the ColumnMinWidth property since it now is implemented on the StyleGridColumn class.Removed the Header property since it now is implemented on the StyleGridColumn class.Removed the ColumnAlignment property since it now is implemented on the StyleGridColumn class.Moved the RowVisible property from the control to the StyleGridRow class.Added a directory full of Composite example projects.Added added example projects to show progress bars in cells.Updated the optional support plug-in StyleGridUtilities to support the new class model in StyleGrid 6.0.5.5:
Added intelligent load balancing which will give 73% faster row appends. (Speed tested with 50.000 rows).Added a Recreate method to the StyleGridRow class which can give extra 13% speed boost in certain cases. (Speed tested with 50.000 rows).Added a ControlCreated Event.The HScrollValue and VScrollValue properties will now do nothing if called before the ControlCreated event is fired.Improved layout support for REALbasic 5.x (TabPanel support, resize support, and other layout support).Added a HasHeaderBackColor property.Added a HasSelectionColor property.Added a HasBackColor property.Added a HasCellGridLineColor property.Added a HasOutOfBoundsCellGridLineColor property.Streamlined the appearance model so that appearance color selection on other platforms than the programmers platform is now better.The plugin now ships with a plugin for the REALbasic Windows IDE.5.2.2:
Did 272 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. 5.2:
Fixed a problem where a three parameter StyleGridStyle constructor was not working on Win32 targets.The StyleGrid will no longer attempt to draw a header if the ColumnWidth and MinColumnWidth for a given column is less than 1.Added a MoveSelectionLeft method which will take into account hidden columns and spanned cells.Added a MoveSelectionRight method which will take into account hidden columns and spanned cells.Added a MoveSelectionUp method which will take into account hidden rows.Added a MoveSelectionUp method which will take into account hidden rows.Tuned the CellBounds method to support spanned cells.Tuned the OnEditCell event to support spanned cells.Fine tuned the KeyDown event.5.1.5:
Fixed a problem that was born with the RB 5 fix, 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.Fixed the optional support plugin StyleGridUtilities for REALbasic 5.1.5.1.4:
Made changes in the Win32 code to support the new Unicode based Window system in REALbasic 5.0 compiled Win32 apps.5.1.2:
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.5.1:
Fixed a problem where the Quartz renderer would in some cases render incorrect data.Fixed a problem in the SelectRange method where it would do nothing if the SelectedColEnd property was unchanged.The SelectionChanged event will now also be fired after a drag selection is performed in AreaSelection mode.The Scroll Wheel is now disabled for non NT based Windows systems because of potential crash issues. (The scroll wheel is fully functional on Mac systems and NT based systems (NT, 2000 and XP)).5.0.5:
Tweaked the plugin so that it can run on REALbasic 5 alphas. (NOTE: This does not mean that we officially support any alpha versions of REALbasic)5.0.4:
Fixed a critical problem in a Internal reference counter.5.0.3:
Fixed a problem in text color when converting from REALbasic colors to Quartz colors.5.0.2:
Fixed a drawing problem when truncated cells (Alignment = 10) are drawn with Quartz.Fixed a memory leak when Cell alignment is set to truncating mode (10).5.0:
Cell text is now drawn with Quartz on Mac OS X, making it antialiased.Redesigned the data engine so it can now deliver data much faster to the rendering engine.Redesigned the API for StyleGrid plugin cross talk.The StyleGrid now ships with another plugin called StyleGridUtilities.The StyleGridUtilities plugin defines a MutableStyleGridMatrix object which can: Capture existing StyleGridMatrix object, Create a new StyleGridMatrix object, Mutate a StyleGridMatrix object.4.5:
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. (See migration notes for this changed functionality)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. (See migration notes for this changed functionality)The Win32 plugin size is now 33% smaller.Fixed Win32 data structure padding which in some cases could cause a random Win32 crash.Fixed Win32 crash with LockDrawing in a open event. (This bug came with the recently added scroll wheel support.The StyleGrid now also ships with HTML documentation.4.3:
Changed off-screen rendering communication with on-screen rendering to correctly handle REALbasic 4.5 changed graphics ports behavior. 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.4.2:
Added support for Mouse Scroll Wheel under Mac OS X and Windows. (Mac OS Classic support for scroll wheel depends on your Mouse driver)Fixed a draw glitch when the control looses focus under Mac OS X.4.1:
RemoveRow will now fire the CellGotSelected event whenever needed.Added internal intelligence to handle automatic draw locks when the Grid lives on a TabPanel or other such container. (This feature is for REALbasic 3.5 and newer versions only)4.0:
Changed the Styles per cell model, to be able to support Win32 styles per cell and to be able to support ATSUI styles in future versions of StyleGrid. ATSUI will be enabled when REALbasic has started using Unicode as the default and most common encoding. (Future ATSUI support will be very important as REALbasic seems to be heading more and more into unicode) The changes in this version are probably the biggest syntax changes since we introduced the Floating Engine data layer.Multiple cells can now be linked to the same Style, and when that particular style is modified, then all of the cells that have subscribed to that style object will get the change.The changes of the Style model:StyleGrid Control Object:- Removed TextFont property- Removed TextSize property+ Added StartupMacFont property.+ Added StartupWin32Font property.+ Added StartupMacFontSize property.+ Added StartupWin32FontSize property.+ Added a GetDefaultStyle() as StyleGridStyle function+ Added a GetDefaultHeaderStyle() as StyleGridStyle functionStyleGridCell- Removed FontName property- Removed FontSize property- Removed FontBold property- Removed FontItalic property- Removed FontUnderline property- Removed ForeColor property+ Added a Style property.StyleGridStyle (New object)+ Added FontName property+ Added FontBold property+ Added FontItalic property+ Added FontUnderline property+ Added TextColor property + Added a Mutate() method.+ Added constructor: StyleGridStyle(fontName as String,fontSize as Integer)+ Added constructor: StyleGridStyle(fontName as String,fontSize as Integer,textColor as Color)+ Added constructor: StyleGridStyle(style as StyleGridStyle)3.7:
Added a constant to cell alignment (10) which specifies left aligned truncated text.Added a right indent property to cells.HScrollValue property now catches exception if its set to a value < 1VScrollValue property now catches exception if its set to a value < 1Made Win32 Alignment Synchronization tables faster.3.6.2:
Added Transparent (read only) property to the StyleGridPicture class.Cell Image will now return nil instead of a crash if no picture is in a Cell when the Cell.Image property is used.The SelectCell method will now respect the LockDrawing property.The StyleGrid will no longer write a memory warning to the OS X console when REALbasic launches.3.6:
Added Left (read only) property to the StyleGridPicture class.Added Top (read only) property to the StyleGridPicture class.Added Picture (read only) property to the StyleGridPicture class.Fixed a Win32 concurrency issue with other Einhugur plugins.Fixed right alignment in cells for Win32.Fixed usage of Up and Down arrow keyboard keys on Win32.3.5:
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 documentation)Long-standing 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 documentation for details (especially regarding OS X).Changed behavior of the HeaderBackColor property, see documentation 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.Added a GotFocus event.Added a LostFocus event.Added a KeyDown event.Added a CancelEventAction property.3.3:
Text Wrapping in cells now works for Win32.Added MouseDrag event.Added a VerticalScrollbar property (See notes in the documentation about this one).MakeCellExtended was moved from the StyleGrid control class to the StyleGridRow class, this was done to get it more flexible. See upgrade migration notes for info on syntax change.Added a ColumnMinWidth property.Removed the ColumnHeaderAlignment property since its already available from the Header property. See upgrade migration notes for info on syntax change.Did various of tweaks here and there to support custom Column resizing classes.3.2:
Added OnVScroll event.Added OnHScroll event.Added a CellOddColor property.Added a CellEvenColor property.Removed the CellColor property.The CellFromPoint method now returns the CellX value correctly.Changed the behavior of the return value of the MouseDown event to make the MouseUp event more usable.Improved speed in Floating Engine text handling.3.0.5:
Fixed a Win32 OffScreen buffer re-allocation problem.Optimized the assignment of cell pictures for speed.Optimized rendering cells with images for speed.Optimized the Einhugur Mini-Runtime for code size, making all of the code-segments smaller.Everything in the documentation was revisited streamlined and cleaned up. (Special thanks to Stéphane Moureau - StocksRaiderS.com for for that)3.0:
Added Select range method.Added an Image property to extended cells.Added a new class called "StyleGridPicture".Headers now have the same attributes as non-extended cells.Replaced "Label(Col as Integer) as String" by "Header(Col as Integer) as StyleGridCell".Cell BackColor Getter is now implemented for Win32.Cell ForeColor Getter is now implemented for Win32.Cell BorderColor Getter is now implemented for Win32.Added OutOfBoundsGridLineColor property.Added a SelectRange method.Fixed a range selection update bug.Extended cells are no longer exceptions in the Grid renderer, making rendering faster.Improved speed in floating engine text handling.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.7.2:
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.7:
SelectedCol reader property for Win32 was fixed.SelectedRow reader property for Win32 was fixed.Fixed FontBold getter (MacOS bug).Fixed FontItalic getter (MacOS bug).Fixed FontUnderline getter (MacOS bug).Fixed a redraw problem when Row was appended when no Cornerbutton is rendered and no Horizontal grid lines are used.Fixed a drawing glitch under Win32 where bottom frame line was not rendered when there is no Horizontal Scrollbar.Strange selection bug where incorrect cell was painted in some cases to erase old selection.Added SelectedColEnd property.2.6:
Added support for smart scrolling under PPC (System 8.5 and later).More than 32k of Rows now supported under Carbon.More than 32k of Rows now supported under PPC (System 8.5 and later).More than 32k of Rows now supported under Windows x86.Removed all dependencies to the depreciated REALGetControlHWND (depreciated in the new REALbasic plugin SDK)Fixed a double click bug when SelectEntireRow was true.Fixed a glitch with smart scrolling under Carbon.Fixed a rare refresh bug.Did more optimizations in the Grid Renderer.2.5:
Introducing Einhugur Grid Rendering Engine 4.0, which gives much faster cell rendering than previous versions.Win32 Target is now supported. (This is the first implementation of the Win32 support, so it comes as is without any guaranty).New properties of StyleGridCell:+ BorderLeft+ BorderTop+ BorderRight+ BorderBottom+ BorderWidth+ BorderColor+ IsExtendedNew Methods of the StyleGrid:MakeCellExtendedOther changes are lots of tweaks and fixes here and there.2.0:
Introducing Einhugur Floating Engine 1.0 which is the new data container in the core of the StyleGrid.The Floating Engine is object oriented.Garbage collected internally.Multiple StyleGrids can share the same data container 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.Cells have a Span property so they can be aligned over multiple cells in the same row.The floating engine is bounds checked to minimize risk of crashes.Now uses REALEntry API to make the StyleGrid extendable.1.4:
CellBounds function fixed when it was dealing with large numbers.1.3:
Cell setter will now respect the LockDrawing property.Fixed a bug with ColHeaderAlignment when used in the open event, and renamed the property to ColumnHeaderAlignment to stay consistent with other properties as well as to match the documentation.1.2:
Added SwapRow.Added BackColor property.1.1:
Added SelectedRow (read only property).Added SelectedCol (read only property).1.0.5:
Crashing bug with multiple Row additions in the open event fixed.Font Size bug in the open event fixed.Made sure that the last row always shows up (also a bug fix).1.0.3:
Crashing bug with InsertRow fixed.Bug with scrollbar thumbs when the Grid has not focus fixed. (Special thanks goes to James A. Wilson for helping to find and track this bug).Bug with Cell BackColor fixed.Bug with Cell ForeColor fixed.1.0:
First public version.