Thank you all for your help!
Regards, German De: Darmawan Sugiarto [mailto:[EMAIL PROTECTED] Enviado el: miƩrcoles, 18 de julio de 2007 11:05 p.m. Para: [email protected] Asunto: Re: [lazarus] Initialize a DBGrid "German C. Basisty" <[EMAIL PROTECTED]> wrote: Hi! Here goes another question: I have a form. This form contains a DBGrid. The DBGrid retrives information via an SQL connection from a PostgreSQL Database. How do I do to initialize parameters (like DBGrid1.Columns[1].Width := 20) when the form is shown (when the form appears)? Best Regards , German You can init this OnShow event or OnActive or Oncreate it's depend from your application. If you want to init when form show - Form.Show -> OnShow If you want to init when form change from Z-windows -> OnActive or if just once initialization when form created -> OnCreate; You can choose... Thanks sorry for my english =============INTOSOFT============ ALEXIO CHAOS [EMAIL PROTECTED] Yahoo Messager ================================= _____ Looking for a deal? Find <http://us.rd.yahoo.com/evt=47094/*http:/farechase.yahoo.com/;_ylc=X3oDMTFic DJoNDllBF9TAzk3NDA3NTg5BHBvcwMxMwRzZWMDZ3JvdXBzBHNsawNlbWFpbC1uY20-> great prices on flights and hotels with Yahoo! FareChase.
