Help to print label from file ini

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Help to print label from file ini

Post by Silvio.Falconi »

I 'm tryng to create a label designer

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

[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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply