Re: Checkbox Question

Author: Jeff Johnson

Posted: 2014-09-01 at 14:43:23

Neither this nor the return false from the valid work.

On 9/1/2014 12:34 PM, Rafael Copquin wrote:

> Try this in the click event:

>

> if this.value = .t.

> this.value = .t.

> else

> this.value = .f.

> endif

>

> I did not try it but the click event will change a .t. to a .f. Then

> you should leave a .t. as a .t. and a .f. as a .f.

> Rafael Copquin

>

>

> El 01/09/2014 16:06, Jeff Johnson escribió:

>> I have checkboxes in a grid that I want to behave in a certain way. I

>> want the checkbox to display the control source - checked or

>> unchecked - but I want it to be "read only." I also want a double

>> click to pop up a form. Everything works fine except I can't get the

>> click or double click to not change the value. The only thing I want

>> to happen is the double click event. I have tried nodefault in the

>> click and read only, but it still changes the value when clicked.

>>

>> How do I make it so the double click is the only thing that happens

>> on the checkbox?

>>

>> TIA

>>

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/5404CC5B.3000008@san-dc.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2014 Jeff Johnson