Subject | Re: [IBO] Re: Lookup Combo with NULL |
---|---|
Author | Antti Kurenniemi |
Post date | 2005-09-09T14:59:41Z |
Alrighty, thanks - I'll see what I can cook up.
Antti Kurenniemi
Antti Kurenniemi
----- Original Message -----
From: "Robert martin" <rob@...>
To: <IBObjects@yahoogroups.com>
Sent: Friday, September 09, 2005 8:05 AM
Subject: Re: [IBO] Re: Lookup Combo with NULL
> Ummmm honestly don't know. We don't sell components.
>
> However I only mentioned what we had done because its really quite
> simple. If you already have a customized LookupCombo just add a couple
> of properties, one for EnableClearing and one for ClearText. Create a
> TPopup menu on the fly, add the text to it and assign the onclick event
> to a method in your class. In this method simple set
> DataSet.FieldByName(DataField).AsVariant := Null. If you dont already
> have a custom component create one.
>
> The stuff above is for a TLookupCombo (Tdataset) descendant but it
> should be similar code for a TIb_LookupCombo (we don't use these). Hope
> this helps :0)
>
> Disclaimer - all above is off the top of my head.
>
> Rob Martin
> Software Engineer
>
> phone +64 03 377 0495
> fax +64 03 377 0496
> web www.chreos.com
>
> Wild Software Ltd
>