Subject | RE: [IBO] ListBox does not show data (2nd post) |
---|---|
Author | Kaputnik |
Post date | 2002-03-12T10:00:10Z |
A listbox only works, if you have a number of pre-defined values and
each item in the table is guaranteed among these predefined values. So,
the listbox shows all values defined in the items-property, and
highlights the item which corresponds to the focussed value in the
table.
So its perfectly normal that your example does not work.
Don't mix a listbox with a grid.
CU,
Nick Josipovic
BIT Institute
Prof. Dr. Franz Steffens
University of Mannheim
T: ++49 621 181 1621
M: ++49 179 133 44 16
S: ++49 621 181 1622
F: ++49 621 181 1618
nick.josipovic@...
__
__
each item in the table is guaranteed among these predefined values. So,
the listbox shows all values defined in the items-property, and
highlights the item which corresponds to the focussed value in the
table.
So its perfectly normal that your example does not work.
Don't mix a listbox with a grid.
CU,
Nick Josipovic
BIT Institute
Prof. Dr. Franz Steffens
University of Mannheim
T: ++49 621 181 1621
M: ++49 179 133 44 16
S: ++49 621 181 1622
F: ++49 621 181 1618
nick.josipovic@...
> -----Original Message-----wrong,
> From: Bender Heri [mailto:heribender@...]
> Sent: Tuesday, March 12, 2002 10:29 AM
> To: IBO Yahoo (E-Mail)
> Subject: [IBO] ListBox does not show data (2nd post)
>
> Hi
>
> Since nobody has replied to my question and I cannot see what I did
> Iin
> repost it again:
>
>
> My TestApp has on the main form (from the dfm file):
>
> object IB_Connection1: TIB_Connection
> DatabaseName = 'KULTINFO'
> end
> object IB_Query1: TIB_Query
> DatabaseName = 'KULTINFO'
> IB_Connection = IB_Connection1
> SQL.Strings = ('Select CREATED from OBJEKT;')
> end
> object IB_DataSource1: TIB_DataSource
> Dataset = IB_Query1
> end
> object IB_Text1: TIB_Text
> DataField = 'CREATED'
> DataSource = IB_DataSource1
> end
> object IB_Grid1: TIB_Grid
> DataSource = IB_DataSource1
> end
> object IB_LookupCombo1: TIB_LookupCombo
> DataSource = IB_DataSource1
> DisplayField = 'CREATED'
> end
> object IB_LookupList1: TIB_LookupList
> DataSource = IB_DataSource1
> end
> object IB_ComboBox1: TIB_ComboBox
> DataField = 'CREATED'
> DataSource = IB_DataSource1
> end
> object IB_ListBox1: TIB_ListBox
> DataField = 'CREATED'
> DataSource = IB_DataSource1
> end
>
> If I open the query (very simple one, only 3 records), I can see data
> allfür
> controls, but not in the TIB_ListBox.
>
> What must I do in order to see the 3 records in the ListBox too?
>
> TIA.
>
> Heri Bender
>
> (4.2.Ga, D5Pro, NT4.06a)
>
>
>
>
> ---------------------------------------------------------------------
> Heri Bender
> ERGONOMICS AG
> Schaffhauserstrasse 210
> CH-8057 Zuerich
> Switzerland
> Phone: ++41 (0)1 315 51 64
> Fax: ++41 (0)1 315 51 15
> mailto:hbender@...
> ---------------------------------------------------------------------
> Aktuell:
> www.CultureGate.Ch der neue, gesamtschweizerische Event-Guide auf WAP
> Ausgehfreudige! Powered by ERGONOMICS.________________________________________________________________________
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor
>
>
__
> _________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> without the need for BDE, ODBC or any other layer.
>
__
> _http://docs.yahoo.com/info/terms/
> 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