Subject | Re: TIB_Edit Height problem again |
---|---|
Author | Marco Menardi |
Post date | 2003-06-03T16:46:23Z |
I've had a look at the code, but seems something related to the VCL
part (ancestors). Since the VCL TDBEdit and TEdit has the same
behaviour (try height = 35, for instance), I suppose it's something by
design that can't be changed without impacting TIB_Edit in a
unreasonable manner.
TIB_Edit is a "onle line only" edit control, so it's height adjusts
based upon font size or other "environmental" factors. For me, it
works very well as is.
regards
Marco Menardi
part (ancestors). Since the VCL TDBEdit and TEdit has the same
behaviour (try height = 35, for instance), I suppose it's something by
design that can't be changed without impacting TIB_Edit in a
unreasonable manner.
TIB_Edit is a "onle line only" edit control, so it's height adjusts
based upon font size or other "environmental" factors. For me, it
works very well as is.
regards
Marco Menardi
--- In IBObjects@yahoogroups.com, "Paul Hope" <paulhope@a...> wrote:
> Ramil
>
> I had a reply from Jason - saying that he wasn't sure how to solve
it - so
> as far as I know it is towards the bottom of a pile of things to do ;-/
>
> I had a quick look at the source but couldn't quite follow it. It
appeared
> to me that it always does a get metrics and resizes the control
according to
> the font with no facility to override this if it has been set manually.
>
> Maybe someone else feels brave enough to have a look ;-)
>
> Regards
> Paul
>
> > Hi All,
> > Anyone have decision of inveteracy problem of TIB_Edit?
> > I'm talk about TIB_Edit Height problem.
> > Here extract from old messages of IB Objects support list:
> > "...
> > look at the problem with
> > the changing height of TIB_Edit (and other controls)
> > during runtime vs edit time?
> > (Set to 18 height at desingtime and switches to
> > 20 during runtime. Even when constraints set in design)
> > ...." by Steve Fields, Jul 18, 2001
> >
> > "...
> > I set my IB_Edit height to 17 and Autosize to false. They stay like
> that
> > in
> > the IDE but appear as 19 high when the app runs? Is this a bug
or can I
> > control it?
> > ..." by Paul Hope, Aug 6, 2002
> >
> > Or I miss something and this explicit problem was fixed?
> > Any help appreciated.
> >
> > With best regards,
> > Ramil Khabibullin
> >
> >
> >
> >
> >
>
___________________________________________________________________________
> > 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/
> >
> >