1. it open a dbf and save the structure on a array
2. you can select the fields from the combobox and insert on label
3 . you can insert text,Box,Image on label say
4. you can save all on a file INI
this a test of ini saved with two element
- Code: Select all Expand view
[Label]
Archivio=CITAS
Items=2
[Item1]
Class=TSAY
Tipo=Field
Caption=<<START>>
Row=40
col=8
nWidth=248
nHeight=24
FontName=Arial
FontWidth=10.56
FontHeight=24
lFontBold=No
lFontItalic=No
lFontUnderline=No
Colorpane=15790320
Colortext=0
[Item2]
Class=TSAY
Tipo=Field
Caption=<<DSTART>>
Row=40
col=8
nWidth=248
nHeight=24
FontName=Arial
FontWidth=10.56
FontHeight=24
lFontBold=No
lFontItalic=No
lFontUnderline=No
Colorpane=15790320
Colortext=0
My problem Now is to load the Items from thid ini file a create the label on printer
I thinked to make a function to load from ini but My problem is how save on memory all the Items
because esch item have many properties to load
Any solution please