Can I get the text label of a checkbox procedurally?

View: New views
3 Messages — Rating Filter:   Alert me  

Can I get the text label of a checkbox procedurally?

by Conrad Hoy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would like to procedurally get the text name of the checkbox when  
it's selected using the "self" pointer  some other way.

Any suggestions?

Thanks in advance.

Conrad

**********************************************************************
4D Basics hosted by 4D, Inc.                       http://www.4D.com/

Did you know?  The 4D Partner Program now gives you
access to Hotfix releases as soon as they are available!
To learn more, go to http://www.4D.com/support/partner.html

To Unsubscribe:                        mailto:4DBasics-off@...
**********************************************************************




Re: Can I get the text label of a checkbox procedurally?

by Dave Batton-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Conrad,


> I would like to procedurally get the text name of the checkbox when  
> it's selected using the "self" pointer  some other way.


If you mean the variable name, you can do this using the RESOLVE  
POINTER command. If you mean the button's label, then you're out of  
luck. You can't get this procedurally. You can only set it  
procedurally. So you'll need to track its value yourself.


--
Dave Batton
http://www.FoundationShell.com/
The best way to enhance your existing 4th Dimension project.



**********************************************************************
4D Basics hosted by 4D, Inc.                       http://www.4D.com/

Did you know?  The 4D Partner Program now gives you
access to Hotfix releases as soon as they are available!
To learn more, go to http://www.4D.com/support/partner.html

To Unsubscribe:                        mailto:4DBasics-off@...
**********************************************************************



Re: Can I get the text label of a checkbox procedurally?

by Conrad Hoy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Dave.

I was after the button's label. Sorry I wasn't clear. I suspected the  
answer you've given was the one I would get. Oh well.

Conrad


On Feb 25, 2008, at 12:16 PM, Dave Batton wrote:

> Conrad,
>
>
>> I would like to procedurally get the text name of the checkbox  
>> when it's selected using the "self" pointer  some other way.
>
>
> If you mean the variable name, you can do this using the RESOLVE  
> POINTER command. If you mean the button's label, then you're out of  
> luck. You can't get this procedurally. You can only set it  
> procedurally. So you'll need to track its value yourself.
>
>
> --
> Dave Batton
> http://www.FoundationShell.com/
> The best way to enhance your existing 4th Dimension project.
>

**********************************************************************
4D Basics hosted by 4D, Inc.                       http://www.4D.com/

Did you know?  The 4D Partner Program now gives you
access to Hotfix releases as soon as they are available!
To learn more, go to http://www.4D.com/support/partner.html

To Unsubscribe:                        mailto:4DBasics-off@...
**********************************************************************