;;;;;;;;;;;;;;;;;;;;
;;;properties.txt;;;
;;;;;;;;;;;;;;;;;;;;

how to add one property to control

*) Check in the table "propiedades" that this exists , (search in label column and read the value of the id field)
*) If the property does not exist first see how to create a new property (below)
*) Recover id from the table "clases" corresponding to the control required to which add property
*) to add a new record in the table relationships with the following information
    id:        leave in blank, it'd complete for database.
    clase:  Complete with CP
    pri:  Id of control
    sec: Id of property
    orden:  position number, between others properties.
    habilitado: compleat with 1.
*) confirm change


how to delete a property for one control

*) get id of control from table "clases"
*) search in table "relaciones" the record where pri match with control id and the value of sec with id of property.
*) Delete those record.
*) confirm change

how to disable one exist property for one control
*) get id of control from table "clases"
*) search in table "relaciones" the record where pri match with control id and the value of sec with id of property.
*) set 0 in column "habilitado" those registwe.
*) confirm change

How enable a exist property for one control
*) get id of control from table "clases"
*) search in table "relaciones" the record where pri match with control id and the value of sec with id of property.
*) set 1 in column "habilitado" those registwe.
*) confirm change