' Rapid-Q by William Yu (c)1999-2000 . ' ================================================================================ ' Upload_il_tuo_script_su_Rapidq.it ' QIni.html Documentation component by D.Glodt (c)2000-2001 Appendix A: QINII ============================================================================== ****** QINI Component ****** QINI is a component no visible to read and write init files for application. QINI Properties Field Type R/W Default ================= ======================== ================= ================== FileName STRING RW Init file name (*.ini) Exist INTEGER R FALSE TRUE if file exist Section STRING LE Name of parameters section from file WinDir STRING R Path of window dir SystemDir STRING R Path of directory system window TempDir STRING R Path of directory temp window QINI Methods Method Type Description Params ================ ================= ========================== ================= FUNCTION Return the value of Key$ Get (Key$,Default$) parameter 2 AS STRING FUNCTION Write value of Key$ Write (Key$,Value$) AS parameter in the init file 2 LONG QINI Events Event Type Occurs when... Params =================== =================== =================== =================== QINI Examples $TYPECHECK ON $Include "Rapidq.inc" $include "Object\QINI.inc" dim ini as QINI ini.FileName="c:\Temp\test.ini" ini.Section="Parametres" ini.write("par1","1") ini.write("par2","2") CREATE Form AS QFORM Caption="init" Width=300 Height=110 Center END CREATE if ini.exist then form.caption=ini.get("par1","no param") Form.ShowModal ' =============================================================================== ' 2003 Holyguard.net - 2007_Abruzzoweb