PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: SI Grid DLL v3.1  (Read 1230 times)

Chris Bristow

  • Guest
SI Grid DLL v3.1
« on: April 05, 2004, 11:38:09 AM »

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
Logged

Jean-pierre Leroy

  • Senior Member
  • ***
  • Posts: 469
  • expect nothing, be prepared for everything ...
SI Grid DLL v3.1
« Reply #1 on: April 05, 2004, 01:35:25 PM »

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
Logged

Chris Bristow

  • Guest
SI Grid DLL v3.1
« Reply #2 on: April 05, 2004, 02:09:29 PM »

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?
Logged

Haakon Birkeland

  • Master Member
  • ****
  • Posts: 681
  • XP Pro x64 SP2, (Win 7 Pro x64), Win 8 Pro x64
SI Grid DLL v3.1
« Reply #3 on: April 05, 2004, 02:32:27 PM »

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

bert mercier
Logged
Haakon 8o)

Jean-pierre Leroy

  • Senior Member
  • ***
  • Posts: 469
  • expect nothing, be prepared for everything ...
SI Grid DLL v3.1
« Reply #4 on: April 05, 2004, 02:47:01 PM »

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
Logged

Haakon Birkeland

  • Guest
SI Grid DLL v3.1
« Reply #5 on: April 05, 2004, 03:50:45 PM »

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

Chris Bristow

  • Guest
SI Grid DLL v3.1
« Reply #6 on: April 05, 2004, 07:59:15 PM »

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,
Logged

Haakon Birkeland

  • Guest
SI Grid DLL v3.1
« Reply #7 on: April 06, 2004, 04:46:07 AM »

Quote
This 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.
Logged

Chris Bristow

  • Guest
SI Grid DLL v3.1
« Reply #8 on: April 06, 2004, 11:07:59 AM »

Quote from: "Haakon Birkeland"
Quote
This 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.
Logged