If you want a practical example. I have a data form with Edit, Add and Save buttons. When I click Edit or Add I set the tag property of the form; it can be anything "add" "edit or "1" and "2". When the Save button is clicked I then know which action to take. It's use is purely at the developer's discretion. In a sense it works as a global variable but is better because nobody likes globals.
Regards Michael On 12/12/10 01:35, Demosthenes Koptsis wrote: > PROPERTY Tag AS Variant > > Returns or sets the control tag. > > This property is intended for the programmer and is never used by the > component. It can contain any Variant value. > ------------------------------------------------ > > ok but what is the use of this property? > > ------------------------------------------------------------------------------ Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, new data types, scalar functions, improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, best practices and more. http://p.sf.net/sfu/oracle-sfdev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user