On Friday 13 October 2017 00:15:29 fredvs wrote:
> Perfect for a easy cue list (to enable/disable a file to mix).
>
> See picture:
> <http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/gridcheckbox.png>
>
> And that stat file that keep all the data in the grid + checkox-state -->
> wow.
>
In a twidgetgrid place a tbooleanedit in order to get the same effect. Any
editwidget from component palette 'Edit' can be used in a twidgetgrid in
order to build a column of the corresponding data type.
> Huh, do you have some advice how to do to save-load at run time that stat
> file feature (and use it instead of a database-file).
>
tstatfile.readstat(), writestat().
"
procedure readstat(const stream: ttextstream = nil); overload;
procedure readstat(const afilename: filenamety); overload; //disk file
procedure readstat(const aname: msestring;
const statreader: tstatreader); overload;
procedure writestat(const stream: ttextstream = nil); overload;
procedure writestat(const afilename: filenamety); overload; //disk file
procedure writestat(const aname: msestring;
const statwriter: tstatwriter); overload;
"
Martin
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk