
Quote from rafamacor on May 17, 2021, 11:34 amNecesitaría obtener el Nombre de un Objeto, por ejemplo: si pulso en mi aplicación sobre el PushButton1
que me almacene en una variable "PushButton1".
I need get "Object Name ", for example: if I press on PushButton1 that one variable store "PushButton1".
Necesitaría obtener el Nombre de un Objeto, por ejemplo: si pulso en mi aplicación sobre el PushButton1
que me almacene en una variable "PushButton1".
I need get "Object Name ", for example: if I press on PushButton1 that one variable store "PushButton1".


Quote from rafamacor on May 17, 2021, 12:30 pmQuote from lolo on May 17, 2021, 12:00 pmObjects -> GetObjectInfo
I can't use it because I don't know "Object Name", that is that I want get when I push on a Button
Quote from lolo on May 17, 2021, 12:00 pmObjects -> GetObjectInfo
I can't use it because I don't know "Object Name", that is that I want get when I push on a Button
Quote from Gaev on May 17, 2021, 6:33 pm@rafamacor
I need get "Object Name ", for example: if I press on PushButton1 that one variable store "PushButton1".
Use the Global (Reserved) Variable named [Self]
From the Help file at https://winhelp.visualneo.com/PredefinedGlobalVariables.html ...
The name of the object that executed the currently running Action script. For scripts not executed by objects (such as page enter/exit), [Self] will be empty.
I need get "Object Name ", for example: if I press on PushButton1 that one variable store "PushButton1".
Use the Global (Reserved) Variable named [Self]
From the Help file at https://winhelp.visualneo.com/PredefinedGlobalVariables.html ...
The name of the object that executed the currently running Action script. For scripts not executed by objects (such as page enter/exit), [Self] will be empty.

Quote from rafamacor on May 17, 2021, 8:44 pmMuchas gracias, era lo que estaba buscando.Thanks, that is.Quote from Gaev on May 17, 2021, 6:33 pm@rafamacor
I need get "Object Name ", for example: if I press on PushButton1 that one variable store "PushButton1".
Use the Global (Reserved) Variable named [Self]
From the Help file at https://winhelp.visualneo.com/PredefinedGlobalVariables.html ...
The name of the object that executed the currently running Action script. For scripts not executed by objects (such as page enter/exit), [Self] will be empty.
Muchas gracias, era lo que estaba buscando.Thanks, that is.
Quote from Gaev on May 17, 2021, 6:33 pmI need get "Object Name ", for example: if I press on PushButton1 that one variable store "PushButton1".
Use the Global (Reserved) Variable named [Self]
From the Help file at https://winhelp.visualneo.com/PredefinedGlobalVariables.html ...
The name of the object that executed the currently running Action script. For scripts not executed by objects (such as page enter/exit), [Self] will be empty.

Quote from proforma.guyot on May 18, 2021, 6:53 pmPour une gestion simple de 3 objets ...
Claude GUYOT
"Thank you very much for loving this software as much as I do."
"Merci beaucoup d'aimé ce logiciel autant que moi."
Pour une gestion simple de 3 objets ...
Claude GUYOT
"Thank you very much for loving this software as much as I do."
"Merci beaucoup d'aimé ce logiciel autant que moi."
Uploaded files:

Quote from proforma.guyot on May 19, 2021, 3:19 am@rafamacor
Une autre approche pour des boutons dans un MessageBox (pour cet exemple au nombre de cinq boutons).
Les boutons dans un MessageBox non pas vraiment de NomObjet du fait qu'il sont inclus dans un MessageBox, alors en jouant avec des variables il est possible de leur créer un NomObjet à chacun de ces boutons.
... Ou pour une autre utilisation dans mon précédent post de pas faire apparaitre comme vrai Nom de l'objet "PushButton1" mais lui attribué un Nom d'objet de remplacement.
Voir l'exemple Pub.
Claude GUYOT
"Thank you very much for loving this software as much as I do."
"Merci beaucoup d'aimé ce logiciel autant que moi."
Une autre approche pour des boutons dans un MessageBox (pour cet exemple au nombre de cinq boutons).
Les boutons dans un MessageBox non pas vraiment de NomObjet du fait qu'il sont inclus dans un MessageBox, alors en jouant avec des variables il est possible de leur créer un NomObjet à chacun de ces boutons.
... Ou pour une autre utilisation dans mon précédent post de pas faire apparaitre comme vrai Nom de l'objet "PushButton1" mais lui attribué un Nom d'objet de remplacement.
Voir l'exemple Pub.
Claude GUYOT
"Thank you very much for loving this software as much as I do."
"Merci beaucoup d'aimé ce logiciel autant que moi."