Jump to content
Server Maintenance This Week. ×

Capture button object name


bcooney

This topic is 6119 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Sorry about the loose use of the word "focus," comment. I'm building a technique and was hoping not to edit the button's script parameter. If you both don't see anyway of doing this, then it's just not possible. Rats.

Somehow using the tab order might be a cludge?...Go to next object, go to previous? Nah...

Link to comment
Share on other sites

Don't mean to be obtuse, just not wanting to bother you all with the details. We're trying to build what we think is the ultimate list view sort script.

We have a button whose scriptparameter is a field object name. The script then goes to that object (field) and gets its field name. Once we have the field name, we set some globals which are read by a calc. The sort step always sorts the list on the calc field.

But, we're left with going into each button scriptparameter and changing the value for the object that we want the script to go to. We thought that if we named the button something like "Field1 btn" and use leftwords, we could avoid going into the button scriptparameter. We'd have matched pairs of buttons and field objects.

Yes, all this to avoid changing a button scriptparameter.

Link to comment
Share on other sites

This topic is 6119 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.