Subject | Re: IB_Date |
---|---|
Author | mmenaz |
Post date | 2002-04-29T02:38:04Z |
Fortunatly I can reproduce both errors. Of course, my programs work perfectly... strange but true :(
The fix is very simple and fast:
IBC_Date.INT
go to
TIB_Date = class(TIB_CustomDate)
and remove 'property Value" from the published section (last line).
I'm sorry, but fortunatly the fix is already here ;)
Thanks
Marco Menardi
The fix is very simple and fast:
IBC_Date.INT
go to
TIB_Date = class(TIB_CustomDate)
and remove 'property Value" from the published section (last line).
I'm sorry, but fortunatly the fix is already here ;)
Thanks
Marco Menardi
--- In IBObjects@y..., Geoff Worboys <geoff@t...> wrote:
> > What's happening with IB_DATE in IBO 4.2Ha,
> > if i put it into a new form, I get an error when linking:
>
> > [Error]RLINK32: Error opening file "C:\TEST\PROG1.DFM"
>
> > This only happen with IB_DATE, removing the error disappears.
>
> > After that, I would like to use IB_DATE without connect to a
> > datasource, how do i set/get the value entered by user ?
> > The Date, Text or Value property not exists.
>
> With 4.2Ha I get some different problems (using Delphi5)...
>
> When I drop a new control on a form I do get a Value property but the
> ide keeps complaining that 'IB_Date1 is not a valid date'.
>
> I noticed that this seems to upset painting of the object inspector
> and probably saving of the DFM as well - which may be where your
> problems are coming from.
>
> I tried installing a valid initial value in the constructor
> Value := SysUtils.Now;
> but then I had problems with the mask during runtime.
>
> Marco, I see you updated this last - any ideas on the best fix?
>
> --
> Geoff Worboys
> Telesis Computing