try this:<div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(80, 0, 80); "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: arial; font-size: small; ">DBCheckBox4.Enabled := </span>not DBEdit2.Field.IsNull;</span><br>
<br><div class="gmail_quote">2010/4/27 Bob Pawley <span dir="ltr"><<a href="mailto:rjpawley@shaw.ca">rjpawley@shaw.ca</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff">
<div><font size="2" face="Arial">Hi</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">The following works well and it is simple enough
that I can almost understand it.</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">Thanks everyone.</font></div>
<div><font size="2" face="Arial"></font> </div><font color="#888888">
<div><font size="2" face="Arial">Bob</font></div></font><div class="im">
<div><font size="2" face="Arial"></font> </div>
<div>if DBEdit2.Text <> '' then<br>DBCheckBox4.Enabled :=
true<br>else<br>DBCheckBox4.Enabled := false</div>
</div><blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px"><div class="im">
<div style="font:10pt arial">----- Original Message ----- </div>
<div style="font:10pt arial;background:#e4e4e4"><b>From:</b>
<a title="colin.adug@gmail.com" href="mailto:colin.adug@gmail.com" target="_blank">Colin
Johnsun</a> </div>
<div style="font:10pt arial"><b>To:</b> <a title="delphi@delphi.org.nz" href="mailto:delphi@delphi.org.nz" target="_blank">NZ Borland Developers Group - Delphi
List</a> </div>
</div><div class="im"><div style="font:10pt arial"><b>Sent:</b> Monday, April 26, 2010 5:53
PM</div>
<div style="font:10pt arial"><b>Subject:</b> Re: [DUG] Enable CheckBox</div>
<div><br></div></div><div><div></div><div class="h5">Yeah, that was my thinking on the topic too! But you said it
much better :)
<div><br></div>
<div>BTW, I'm wondering if Bob, the originator of this thread, wants to chime
in and let us know if any of these suggestions helped or not.</div>
<div><br>
<div class="gmail_quote">On 27 April 2010 10:34, Jolyon Smith <span dir="ltr"><<a href="mailto:jsmith@deltics.co.nz" target="_blank">jsmith@deltics.co.nz</a>></span>
wrote:<br>
<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span style="font-size:11pt">Maybe it’s just me, but “A
doesn’t equal B” surely reads more closely to the <i>real meaning</i> than
“not (A does equal B)”.</span></p>
<p class="MsoNormal"><span style="font-size:11pt"></span> </p>
<p class="MsoNormal"><span style="font-size:11pt">Apart from anything else,
the latter <b>requires</b> parentheses to avoid the compiler getting
confused and trying to do : “(Not A) equals (B)”. i.e. the latter
syntax is also to the compiler less close to the real meaning (since it
requires disambiguation).</span></p>
<p class="MsoNormal"><span style="font-size:11pt"></span> </p>
<p class="MsoNormal"><span style="font-size:11pt">From a human perspective
the scanning is more fluid: A <> B, reads left to right entirely
as intended: “A does not equal B”.</span></p>
<p class="MsoNormal"><span style="font-size:11pt"></span> </p>
<p class="MsoNormal"><span style="font-size:11pt">NOT (A = B) on the other
hand requires me to read it like a syntax tree parser: “NOT “ … (OK,
store the fact that I have to logically invert what follows, keep a mental
note of parentheses) … then what follows is “( A is equal to B )” , right
OK, so “A is equal to B inverted”, i.e. A does not equal B.</span></p>
<p class="MsoNormal"><span style="font-size:11pt"></span> </p>
<p class="MsoNormal"><span style="font-size:11pt">In other words, exactly
what is menat literally and clearly when I write… A <> B.</span></p>
<p class="MsoNormal"><span style="font-size:11pt"></span> </p>
<p class="MsoNormal"><span style="font-size:11pt">But as I say, maybe it’s
just me.</span></p>
<p class="MsoNormal"><span style="font-size:11pt"></span> </p>
<p class="MsoNormal"><span style="font-size:11pt">NOT (I think like a
computer).</span></p>
<p class="MsoNormal"><span style="font-size:11pt"></span> </p>
<p class="MsoNormal"><span style="font-size:11pt">;)</span></p>
<p class="MsoNormal"><font color="#993366" size="4"><span style="font-size:15px"><br></span></font></p></div></div></blockquote></div></div>
</div></div><p>
</p><hr><div class="im">
<p></p>_______________________________________________<br>NZ Borland
Developers Group - Delphi mailing list<br>Post: <a href="mailto:delphi@delphi.org.nz" target="_blank">delphi@delphi.org.nz</a><br>Admin:
<a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>Unsubscribe: send an email to
<a href="mailto:delphi-request@delphi.org.nz" target="_blank">delphi-request@delphi.org.nz</a> with Subject:
unsubscribe</div><p></p></blockquote></div>
<br>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe<br></blockquote></div><br></div>