Fred: Thanks for your help but I have it solved. In the double click of the grid I call a routine with the current record as well as .relativecolumn. Even though the grid is read only it still returns .relativecolumn which is cool and is everything I need.

Thanks,

On 9/1/2014 3:01 PM, Fred Taylor wrote:
Put a transparent, borderless shape over the grid column you want to handle
(make sure that the ZOrder is in front of the grid).  Put your double click
code in the Shape,DblClick event.

That is strange that a CheckBox in a grid doesn't respect NODEFAULT.

Fred


On Mon, Sep 1, 2014 at 12:52 PM, Jeff Johnson <[email protected]> wrote:

On 9/1/2014 12:49 PM, Ted Roche wrote:

On Mon, Sep 1, 2014 at 3:06 PM, Jeff Johnson <[email protected]> wrote:

  I have checkboxes in a grid that I want to behave in a certain way.
I have a radical suggestion. If you want to have a checkbox in a grid, but
you don't want it to act like a checkbox, perhaps using the checkbox
control is not what you want to do.

Perhaps you should use a less interactive control, like a textbox or a
picture button, and then add it it the data-binding and behaviors you
want.

I'm not certain it would work in this case, but as a general rule, I've
found it easier to add my own custom behaviors in Fox than to try to block
a control from doing what it was designed to do.


  What I want is the visual aspect of a check box.  I want a box checked
or unchecked based on the control source.  I don't want it to do anything
other than run a popup on the double click - which actually changes the
value.

I can do this sort of thing with any other controls but the checkbox does
not appear to respond to readonly or nodefault.

Thanks,

--
Jeff

Jeff Johnson
[email protected]
SanDC, Inc.
(623) 582-0323
SMS (602) 717-5476
Fax 623-869-0675


Visit our forum at www.san-dc.com/forum
Register and join in the discussion

www.san-dc.com
www.cremationtracker.com
www.agentrelationshipmanager.com



[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
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/[email protected]
** 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.

Reply via email to