lazarus/examples/grid_semaphor
2005-04-18 14:40:36 +00:00
..
example fixed invaldating hintwindow on changing hintstr 2005-04-18 14:40:36 +00:00
readme.txt updated New LCL TSemaphorDBGrid and changes in SemaphorGrid example from Salvatore 2005-04-04 12:17:23 +00:00
semaphordbgridicon.lrs updated New LCL TSemaphorDBGrid and changes in SemaphorGrid example from Salvatore 2005-04-04 12:17:23 +00:00
semaphordbgrids.pas added missing file 2005-04-05 19:01:34 +00:00
semaphorgridlpk.lpk updated New LCL TSemaphorDBGrid and changes in SemaphorGrid example from Salvatore 2005-04-04 12:17:23 +00:00
semaphorgridlpk.pas updated New LCL TSemaphorDBGrid and changes in SemaphorGrid example from Salvatore 2005-04-04 12:17:23 +00:00
semaphorgrids.pas updated New LCL TSemaphorDBGrid and changes in SemaphorGrid example from Salvatore 2005-04-04 12:17:23 +00:00
semaphorgridsicon.lrs updated New LCL TSemaphorDBGrid and changes in SemaphorGrid example from Salvatore 2005-04-04 12:17:23 +00:00
TSemaphorDBGrid.xpm added missing file 2005-04-05 19:01:34 +00:00
tsemaphorgrid.xpm updated New LCL TSemaphorDBGrid and changes in SemaphorGrid example from Salvatore 2005-04-04 12:17:23 +00:00

Hi for all,

I'm not so able to improve the source code of the Lazarus Project, it's too complicated

for my knowledge, but nevertheless I wanna try to contribute designing derivative

components wich are more accessible for me.



I think TSemaphorGrid is quite original and it seems to work fine on both

Windows and Linux OS except "HideCol" under Linux that sometimes show a bit

of text contained in the hidden cells.



All the Info you need for TSemaphorGrid are in the source code.

I've commented the main methods in the abstract and other important steps in the code.

I've registered it in the 'Additional' page of Lazarus IDE components because I use it

instead of TStringGrid and if you want you can change this.



TSemaphorGrid come in a Lazarus Package "SemaphorGridLPK.lpk", just install it in the

Lazarus IDE by Components-->Open package file(.lpk)

Compile and install it

In the ".\example" direcory there is a Lazarus project (.lpi) that use TSemaphorGrid

with the main properties and methods.



ABSTRACT:

SEMAFORO (Semaphor) in Italian Language means Traffic Lights. If Semaphor is

set to true,when TSemaphorGrid detect in a non Fixed Cells a string like

StringGreen or StringYellow or StringRed, it show a colored sign in the

corrispondent cells (shape choosed in SemaphorShape). It can be Case Sensitive

(SemaphorCaseSensitive). If Semaphor is false, nothing happen.



SemaphorGrid is able to store and restore data by indipendent method

LoadFromFileG and SaveToFileG wich manage also accented chars in data and

similar. Data are separeted by CHSEP. LoadFromFileG has autoadjust wich allow

SemaphorGrid to AutosizeColumns. SemaphorGrid, at the moment, is unable to store

setting grid (only Column Hidden and in general ColWidth). With the method

ExportToExcel, SemaphorGrid is able set CHSEP so that the file generated is

MS Excel compatible. SemaphorGrid is also able to sort a column wrapping all

the Grid with the method SortFromColumn with indipendent sorting method (maybe

it should be better to use onCompareCell)



Thanks for the Lazarus Project



Salvatore