Oops, I thought I was responding to a recent question, sorry for the noise.
Paul
On 9/2/14, 12:30 PM, Paul McNett wrote:
My untested recipe:
1 control or container
1 checkbox
1 transparent borderless box
Overload container.resize to size the contained checkbox and panel to fit.
Overload container.dblclick to launch your form
Don't mess with the checkbox readonly (I seem to remember having to set
checkbox.Enabled=.F. instead, which changes the look of it anyway.
Make sure the box is on top of the checkbox, so it catches the events.
Paul
On 9/1/14, 12:27 PM, Jeff Johnson wrote:
Read only and nodefault in the click and double click have no affect on
the control. It still checks and unchecks normally.
On 9/1/2014 12:23 PM, Kurt @ VR-FX wrote:
Jeff - this may be a WAG - but, It doesn't make sense to make a
Control Read-Only - and, yet, still expect to interact with it!
Here's another WAG on how to resolve the issue - make a FAKE looking
Checkbox - just an Image you create w/PC Paint - then Display THAT
image - and NOT the Real Checkbox - then it can't get Check, U need
NOT worry about Read-Only, and then implement code in Click or
Double-click to make your pop-up appear.
Again - just a guess/suggestion how to do it - even though it may seem
strange...
-K-
On 9/1/2014 3:06 PM, Jeff Johnson wrote:
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: [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.