Help to print label from file ini

Help to print label from file ini

Postby Silvio.Falconi » Mon Apr 24, 2017 9:33 am

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  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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6716
Joined: Thu Oct 18, 2012 7:17 pm

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 16 guests