Subject Re: [IBO] Re: Question about dates and question about tib_memo.
Author Luiz Alves
Geno,

> Can you be a little more specific. I am using TIB_Querys and have
> tried both TIB_Edit and TIB_Date. I don't see how to access an
> OnSetDate event in either.

I don't need acccess OnSetText event with TIB_Date as since as IBO take care
of this to me.

To Dates, I use a TIB_Date with

EditMask='99/99/9999'
DisplayFormat='dd/mm/yyyy'

It works correctly also when I clear your content editing or inserting.

Luiz.

----- Original Message -----
From: Geno <strtline@...>
To: <IBObjects@egroups.com>
Sent: Wednesday, December 27, 2000 8:51 PM
Subject: [IBO] Re: Question about dates and question about tib_memo.


> --- In IBObjects@egroups.com, "Luiz Alves" <cprmlao@i...> wrote:
> > > OnSetText event to check for a date of ' / / ' and it so do a
> > > field.clear. This worked great but can't figure a way to
> accomplish
> > > a similar thing using IBO.
> >
> > Try it on OnSetText event to DateTime Field:
> >
> > var s:string;
> > begin
> > s:=trim(Text);
> > with (Sender as TField) do
> > if s='/ /' then
> > Clear;
> > end;
> >
> > I tryed and works well to me, although I don't use TIBO components
> to edit
> > data.
> >
> > PS:IB_Date with TIB_Query(not TIBOQuery) treats it better.
>
> Hello Luiz:
>
> Can you be a little more specific. I am using TIB_Querys and have
> tried both TIB_Edit and TIB_Date. I don't see how to access an
> OnSetDate event in either.
>
> Thanks, Geno
> >
> >
> > > TIB_meno:
> > > Have a TIB_Memo control linked to a blob field in my table. Can't
> > > seem to get the TIB_Memo to accept data. Acts like it is read-
> only.
> >
> > I can't see what is wrong. Maybe with more information.
> >
> > Luiz.
>
>
>
>
>