Subject RE: [IBO] Re: IB_DateTimePicker and Nulls -- Attention Alan
Author Adrian Wreyford
Dear Alan



My frustration too. I don't want the checkbox, but then won't update the
date field in the table.



How did you get around this? As you mention below.



Adrian



-----Original Message-----
From: Alan McDonald [mailto:alan@...]
Sent: 17 January 2005 01:28 AM
To: IBObjects@yahoogroups.com
Subject: RE: [IBO] Re: IB_DateTimePicker and Nulls



> Sorry if this is a duplicate post. I tried earlier, but it did not
> seem to post.
>
> I think you can get what you want with the "ShowCheckbox" property.
>
> When checked, a null date has and unchecked checkbox and a dimmed
> date. When the underlying table has a valid date the checkbox is
> checked and the date is normal color.
>
> When you want to toggle from a null date, you just check the
> checkbox.
>
> Rick

thanks - I always seemed to have other problems with the checkbox being
visible i.e. the biggest problem was having to constantly explain to users
what the dam thing was for :-) Noone can understand how you can have an
invalid date from a date picker.
And I'm sure you have never tried to explain to end-users about how null is
a state and not a value.
Anyway - I've fixed it another way.
Alan




___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !




_____

Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/IBObjects/


* To unsubscribe from this group, send an email to:
IBObjects-unsubscribe@yahoogroups.com
<mailto:IBObjects-unsubscribe@yahoogroups.com?subject=Unsubscribe>


* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
<http://docs.yahoo.com/info/terms/> Service.



[Non-text portions of this message have been removed]