Hi Team,
Could you please add this new property to 7 types of controls? (T*MaskEdit, T*Memo...). I promise not to ask for anything else (this semester )
This new native property will be extremely useful for anyone who wants to create utility routines to validate and make the code cleaner.
Xailer would just display the property in the Object Inspector and nothing else. The programmer would be responsible for any use of this property and creating the necessary logic.
Of course I can create the controls with that, but it would be a step towards de-characterizing the Xailer for something so simple and important for any system.
regards,
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
suggestion: lRequired (new property)
Re: suggestion: lRequired (new property)
Hi,
you may use this code in your own component's dll, just where you're calling RegisterComponent():
This code adds the property "lRequired" to the TEdit class and all of its descendants, and you'll see it in the object inspector
you may use this code in your own component's dll, just where you're calling RegisterComponent():
Código: Seleccionar todo
XA_ObjAddProperty( TEdit(), "lRequired", .F. )
Re: suggestion: lRequired (new property)
Hi,
I tested and everything works.
thanks.
I tested and everything works.
thanks.
regards,jfgimenez escribió: ↑Mié May 25, 2022 11:27 am you may use this code in your own component's dll, just where you're calling RegisterComponent():
This code adds the property "lRequired" to the TEdit class and all of its descendants, and you'll see it in the object inspectorCódigo: Seleccionar todo
XA_ObjAddProperty( TEdit(), "lRequired", .F. )