Subject | Disappearing grids: Only if ListBoxStyle = true |
---|---|
Author | mail@zisoft.de |
Post date | 2001-09-17T12:30:11Z |
Hi,
since I am using BCB I'm not able to create a Delphi app. But here is
a small scenario to reproduce the problem (IBO 4.2Ef):
1. New application
2. Drop a PageControl (align=client) on the form and create 2
TabSheets
3. Drop a TIB_Connection, TIB_Transaction on the form. Let the
TIB_Connection point to employee.gdb
3. Drop a TIB_Grid on the first TabSheet, align=left
4. Drop a TIB_Query and a TIB_Datasource on the form.
5. The Query's SQL: SELECT CUSTOMER FROM CUSTOMER
6. TIB_Grid.GridLinks = CUSTOMER
7. TIB_Grid.ListBoxStyle = true
8. TabSheet1.OnShow() : Set TIB_Query.Active = true
9. TabSheet1.OnHide() : Set TIB_Query.Active = false
The grid is not visible on application startup if
TIB_Grid.ListBoxStyle is true.
Mario
since I am using BCB I'm not able to create a Delphi app. But here is
a small scenario to reproduce the problem (IBO 4.2Ef):
1. New application
2. Drop a PageControl (align=client) on the form and create 2
TabSheets
3. Drop a TIB_Connection, TIB_Transaction on the form. Let the
TIB_Connection point to employee.gdb
3. Drop a TIB_Grid on the first TabSheet, align=left
4. Drop a TIB_Query and a TIB_Datasource on the form.
5. The Query's SQL: SELECT CUSTOMER FROM CUSTOMER
6. TIB_Grid.GridLinks = CUSTOMER
7. TIB_Grid.ListBoxStyle = true
8. TabSheet1.OnShow() : Set TIB_Query.Active = true
9. TabSheet1.OnHide() : Set TIB_Query.Active = false
The grid is not visible on application startup if
TIB_Grid.ListBoxStyle is true.
Mario