Subject Re: [IBO] TIB_Grid ???
Author Geoff Worboys
> 1). Is it possible to add a button to the right side of
> a data field. Is there any examples available to show
> how to implement this?

TIB_Grid.EditLinks - see online help for details.


> 2). I have had no success creating a time field in the
> TIB_Grid. I am using a TIB_Query and have selected
> "NO DATE" in the column attribues for the field
> (Timestamp). Whenever I run this, the time appears
> as 5:PM: but does not show minutes or seconds. Is
> there any examples showing how this can be done?
> What should I be doing to make this work?

It looks like you have discovered a problem in IBO. When you do not
supply a specific DisplayFormat or EditMask entry for the column IBO
will create its own editmask which is always; !99:99:99 However this
is often incompatible with the default ShortTimeFormat string
resulting in the inappropriate display as you have discovered.

Your solution is to provide your own DisplayFormat (and possibly
EditMask). The editmask must be compatible with the string returned
from the DisplayFormat - since the date/time editmasks are filled
using the string returned by the system functions using the
DisplayFormat.


HTH

Geoff Worboys
Telesis Computing