How to read ident from an ini file?
- by user367856
i have store a list of items from gridView into registry as below:
*
frmPOSConfigSet.tblCatItems.First;
while not
frmPOSConfigSet.tblCatItems.Eof do
begin
RegItemSetting.WriteString('stk
Group\Candy',
frmPOSConfigSet.tblCatItemsCODE.Text,
frmPOSConfigSet.tblCatItemsSPHOTO.Text);
frmPOSConfigSet.tblCatItems.Next;
end;
*
[In Registry Editor]
stk Group
- Candy
- YUPI_GUM_HB , c:\Users\chai\Pictures\POS Item Images\image1.jpg
- YUPI_GUM_SBKISS , c:\Users\chai\Pictures\POS Item Images\image2.jpg
After i close the form and open again, all values in gridView is gone, how do i retrieve the ident (eg. YUPI_GUM_HB) and it's value (eg.c:\Users\chai\Pictures\POS Item Images\image1.jpg) from registry to the gridView when load the form?