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.

IDEInspector - how to know if cVarName is in use?

Xailer professional forum in English
Responder
Avatar de Usuario
Hurricane
Mensajes: 262
Registrado: Mar Mar 24, 2015 10:21 am
Ubicación: Brasil
Contactar:

IDEInspector - how to know if cVarName is in use?

Mensaje por Hurricane »

Hi,

I insert a new control on the Form and name it normally.
For more security, how do I know if a given name is in use by some control on the Form?
If it's in use, I leave the name automatically and let you know with a message.

In the documentation it says "oControls has the list of controls", but it doesn't.

regards,
Developments | Trainings | Projects
Site | E-mail | Messenger | YouTube
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5705
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Re: IDEInspector - how to know if cVarName is in use?

Mensaje por jfgimenez »

it has, but aControls (not oControls) has track of its own contained controls. If you need *all* controls in a form, just use a recursive function to get all them
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Responder