• Welcome to PlanetSquires Forums.
 

SI Grid DLL v3.1

Started by Chris Bristow, April 05, 2004, 11:38:09 AM

Previous topic - Next topic

Chris Bristow

Software Innovators is proud to provide the first 3rd Party control to support the FireFly SDK Designer.
SI Grid DLL v3.1

SI Grid is a DLL based grid control written entirely
in PB/WIN 7.0 and the Win32 API.

Some features of the SI Grid 3.1 are:

       
  • New data handling allows an unlimited number of grids to be created dynamically
       
  • Provides SetRowData and GetRowData functions to set or get an entire row in a single call
       
  • Supports column selection in addition to row selection
       
  • Supports row/column selection through code
       
  • Provides additional selection notifications
       
  • Supports SetRowParam and GetRowParam which allow an application defined 32bit number to be associated with a row
       
  • Supports the Progress Bar cell type
       
  • New In 3.1 - Customizable cell drawing
       
  • New In 3.1 - New functions for rapid grid/column setup.  These functions can be run any time to change grid/column settings.
       
  • New In 3.1 - IBASIC component file and sample
       
  • New In 3.1 - PureBASIC include file and sample
       
  • New In 3.1 - C/C++ header file
       
  • New In 3.1 - Mouse Wheel support
       
  • New In 3.1 - Full support for the FireFly SDK Designer
       
  • New In 3.1 - Tsunami Record Manger sample
       
  • New In 3.1 - DDoc Print and Preview Engine sample
       
  • Much faster drawing performance
       
  • Many other enhancements ...
Also Includes...

       
  • Fully editable cells
       
  • Ability to set a specific cell value using SetCell and SetCellNum  
       
  • Ability to get a specific cell value using GetCell and GetCellNum
       
  • Add rows using the AddRow function
       
  • Delete rows using the DeleteRow function
       
  • Set the rowcount during grid creation and after using SetRowCount       
       
  • Supports Dialog Editors and Resource Scripts
       
  • Supports DDT
       
  • Supports Visual Basic (as a dll, not an ocx)
       
  • New GridSave function to save grid contents to a file
       
  • Ability to add/delete columns
       
  • Ability to set column headers
       
  • Option to set Flat or 3D drawing
       
  • Option to set Read-Only
       
  • Row change message sent to parent window
       
  • Resizable Rows and Columns
       
  • CheckBox Cells  
       
  • ComboBox Cells  
       
  • Cells Multi Row Select
       
  • Less than 50K in size
       
  • Unlimited runtime distribution
For more details and grid samples see our website:
www.SoftwareInnovators.com

Jean-pierre Leroy

I have used SiGrid in a number of applications in the past and to be honest it
was a bit of a pain to set up. Used it today with FF and cannot believe how simple it now is, although it still needs a few function calls to fine tune it, for setting col widths etc.

Michael

Chris Bristow

Quote from: "Michael Shillito"I have used SiGrid in a number of applications in the past and to be honest it
was a bit of a pain to set up. Used it today with FF and cannot believe how simple it now is, although it still needs a few function calls to fine tune it, for setting col widths etc.

Michael

Hi Michael,

For setting column widths, siSetColWidth would be the simplest function to use.  Also you can change width by using the new siSetupColumns function.

The SI_GRID_MSG_COL_RESIZE notification message provides control over user resizing.  There is also the SI_GRID_MSG_ROW_RESIZE to control rows.

Is there something else you would like to see added?

Haakon Birkeland

You have SiGridsave that works saving to a file. How about a command to save to a 2 dimension array of string.

bert mercier
Haakon 8o)

Jean-pierre Leroy

Chris

Just read your reply over at PB land. I had not spotted that the Caption property could be used to set the column widths. Just so used to doing it
the hard way

Thanks

Michael

Haakon Birkeland

Seems like the CurRowForeColor and CurRowBackColor properties in the properties dialog has been switched around.. :blink:

Chris Bristow

Quote from: "Haakon Birkeland"Seems like the CurRowForeColor and CurRowBackColor properties in the properties dialog has been switched around.. :blink:

Thanks for pointing that out Haakon.  This was really a grid problem and had nothing to do with FireFly.  I have sent an updated sigrid.dll file to Paul that will fix this problem.  

Thanks,

Haakon Birkeland

QuoteThis was really a grid problem and had nothing to do with FireFly.
I guessed so, as I know FF doesn't make up the properties for the controls.

Chris Bristow

Quote from: "Haakon Birkeland"
QuoteThis was really a grid problem and had nothing to do with FireFly.
I guessed so, as I know FF doesn't make up the properties for the controls.

Well, actually FireFly does make up the properties.  This is one of the neat things about FireFly's 3rd Party Control support.  It allows properties to be created where before there was only a function to call.  FireFly presents a list of properties and then converts those properties to the appropriate SDK code.  

In the case of the CurRowFore and CurRowBack color, SI Grid was using 10 for fore and 9 for Back and FireFly was using the opposite.  A change could have been made in FireFly's sigrid.xml file to fix the problem, but I decided to change the colors in sigrid.dll instead.  

This capability of FireFly allows it to provide any number of Properties for a control.  It was very well throught out by Paul.