Subject | RE: [IBO] Edit a field with an alternate format |
---|---|
Author | Brian Dunstan |
Post date | 2000-11-20T09:46:26Z |
Helen,
Oh is THAT what you mean. I had already discovered the handy EditLinks
property. I am trying to keep the UI the same as it was in the BDE version,
or at least not make it any worse :-)
Using the EditLinks would require the user to click the button and then
enter data into the pop-up editor and then close the pop-up editor. With the
BDE version they can type directly into the grid cell. OnGetText and
OnSetText events handle the necessary conversion.
Brian
Oh is THAT what you mean. I had already discovered the handy EditLinks
property. I am trying to keep the UI the same as it was in the BDE version,
or at least not make it any worse :-)
Using the EditLinks would require the user to click the button and then
enter data into the pop-up editor and then close the pop-up editor. With the
BDE version they can type directly into the grid cell. OnGetText and
OnSetText events handle the necessary conversion.
Brian
> -----Original Message-----
> From: Helen Borrie [mailto:helebor@...]
> Sent: Monday, 20 November 2000 5:34 PM
> To: IBObjects@egroups.com
> Subject: RE: [IBO] Edit a field with an alternate format
>
>
> At 03:40 PM 20-11-00 +0800, you wrote:
> >Helen,
> >
> >That sounds like an advanced sort of topic. Do you know of any sample
> >programs that use this technique, or any adequate
> documentation on it?
> >
> >Thanks for your help,
> >
> >Brian
>
> Look up the help on EditLinks for TIB_Grid. You can read about the
> in-place editor in the Delphi help for TCustomGrid.
>
> Basically you specify in Editlinks the columns on which you
> want to have an
> editor window pop up (these appear in the the grid with an Edit
> button). Use the OnEditButtonClick event to attach custom
> handlers to
> these columns for editing.
>
> I'll be writing a TI-sheet on this handy little feature.
>
> Cheers,
> Helen
>
> All for Open and Open for All
> InterBase Developer Initiative ยท http://www.interbase2000.org
> ___________________________________________________
>
>
> -------------------------- eGroups Sponsor
> -------------------------~-~>
> eLerts
> It's Easy. It's Fun. Best of All, it's Free!
> http://click.egroups.com/1/9699/3/_/685810/_/974712928/
> --------------------------------------------------------------
> -------_->
>
>
>