Subject [IBO] Re: Problems with TIB_Date component
Author phalbanez
Marco Menardi,

The problem is not with TIB_date, it is with SetFocus called out
before showing the message 'Field required', in some situations.

If the component:

- owner different from TForm, like TPainel for example
- is the first in order create

That occurs with all componete TIB_, I am going to verify whether the
problem is caused by some alteration that I did or not.

If you belong to IBO, I am going to do an example and to send to the
Jason.

PHA
Nova Odessa / SP - Brazil

--- In IBObjects@y..., "Paulo Henrique Albanez" <pha@n...> wrote:
> a) Yes.
>
> b) No.
>
> > Anyway, could you please tell us what is the error message?
> Access violation in the address....
>
> As I already said if:
>
> If I:
>
> - remove the component
> - inform the date
> - change the component by TIB_Edit
> - remove the attribute required of the field
>
> The error does not occur and showed the message 'Required field.'.
>
> I think, when the component TIB_Date is in empty, this is stored
some
> invalid value in the field, what is causing the erro.
>
> Do a test, if the error do not occur, I create a demo and send you.
>
> PHA
> Nova Odessa / SP - Brazil
>
> ----- Original Message -----
> From: "mmenaz" <mmenaz@l...>
> To: <IBObjects@y...>
> Sent: Friday, April 12, 2002 3:51 PM
> Subject: [IBO] Re: Problems with TIB_Date component
>
>
> > --- In IBObjects@y..., "Paulo Henrique Albanez" <pha@n...> wrote:
> > > Yes.
> > >
> > > If I:
> > >
> > > - remove the component
> > > - inform the date
> > > - change the component by TIB_Edit
> > > - remove the attribute required of the field
> > >
> > > The error does not occur.
> >
> > Are you joking? ;) You have to do only one change a time!
> > you have to
> > a) remove the attribute required of the field. Insert and then
post. Does
> the error show again? If so, it could be a IB_Date problem, if not
it is
> not.
> > b) set the attribute required of the field again. Remove the
IB_Date
> component. Since you told that you leave it empty, this will be not
a
> problem. Done that, recompile, insert the record and post. Does the
error
> show again? If yes, it's not a IB_Date problem
> > OK?
> > Anyway, could you please tell us what is the error message?
> > Thanks
> > Marco Menardi
> >
> >
> >
> >
> >
>
______________________________________________________________________
_____
> > 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 !
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
> >
> >