David Dancy | 18 Jun 2012 01:54
Picon

Re: What's the widget's variable name?

If you know the search object's Object Name, you can match that with the
object's Variable Name using FORM GET OBJECTS.

(Caveat: haven't tried it doing what you're doing though).

David Dancy
Sydney, Australia

On 18 June 2012 09:36, Pat Bensky <pbensky@...> wrote:

> Self is deprecated in v12. It's replaced by Object Current or Focus Object
> or whatever.
> The problem is that the variable is dynamic. Yes, Self gives you a pointer
> to the variable. But I need to find out WHICH variable the pointer refers
> to and whether it is the search object variable. But I don't know what the
> search object variable's name is because its name is assigned dynamically
> each time the form is loaded. So one time the variable might be
> called $form.5.C and another time it might be $form.9.C or $form.10.C or
> whatever. I do not care what the CONTENT of the variable is. I need to know
> if the variable whose data was just modified is the search object variable,
> which might be named $form.9.C or $form.5.C or something else..
>
> PB
>
> On 17 June 2012 12:22, Ronald Hofmann <prolog@...> wrote:
>
> > mh, may be I don't understand what the problem is.
> > But anytime I want to know the variable name in a GUI I use Self which
> > gives
> > you a pointer to the variable.
> > Very simple and reliable.
> >
> > Any reason why this simple solution is not working?
> >
> > GR
> > ---
> >
> > --
> > View this message in context:
> >
> http://4d.1045681.n5.nabble.com/What-s-the-widget-s-variable-name-tp5714084p5714095.html
> > Sent from the 4D Tech mailing list archive at Nabble.com.
> >
> > **********************************************************************
> > 4D v13 is available now - with more than 200 new features to make
> > your applications richer and faster
> > http://www.4d.com/products/new.html
> >
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4D_Tech-Unsubscribe@...
> > **********************************************************************
> >
>
>
>
> --
> *************************************************
> CatBase - The Database Publishing Solution
> tel: +44 (0) 1707 226094
> w: http://www.catbase.com
> skype: pat.bensky
> *************************************************
>
> **********************************************************************
> 4D v13 is available now - with more than 200 new features to make
> your applications richer and faster
> http://www.4d.com/products/new.html
>
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> **********************************************************************
>

**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************


Gmane