Bargraph in same cell as grid data

Bargraph in same cell as grid data

Post by Gordon Ang » Tue, 10 Jun 1997 04:00:00



I am developing a utility that displays a little bar chart in the
same cell of a grid as the data and have come up against several
problems:
(The exe can be downloaded from:
 http://www.iinet.net.au/foxpro/viz.exe
if you want to have a look. It is written in VFP5)

1.  The browse screen does not scroll horizontally at all well.  You have
to click on top of the button after scrolling to refresh the page - I
don't know why.

2.  I can't figure out how to sub class a column and add it to the
grid at runtime by using grid.addcolumn(x) or any other way of
adding code to a column's method when the column is added at run
time.
I have therefore had to pre-define the columns, and those I don't
use I set to zero width and disable.  Unfortunately, the column
borders still exist and build up on the right hand side of the
grid to form a thick black line.  Can't figure how to get rid of
this either. :)

3.   The up and down arrow keys don't work - they send the cursor
sideways.   This may be to do with the fact that the grid cells have
containers inserted in them - but...

Grateful for any ideas. Thanks.

Cheers
Gordon

 
 
 

1. First Cell Empty in Data Grid bound to ADO Data Control

Hello & Help!

I am developing with VB6.0, ADO, ODBC.

When I set the ConnectionString and RecordSource (at runtime) of ADODC to an
ODBC dsn and an SQL statement then REFRESH and display in a data grid the
first cell in the first row is EMPTY!  Everything else is fine.

I cannot seem to find a way to correct it.

Any ideas/help would be appreciated!

-John W.

2. ADO - Annoyingly Delayed Objects?

3. Limit size of edit grid cell in Enterprise Manager

4. Need to store a Word.doc in sql server using db-lib, whats the best approach?

5. API Grid Cell (URGENT!!!)

6. Access 97 to SQL-server

7. dropdown list in grid cell?

8. Database Server Version

9. Grid and color of cells

10. Deleting Highlighted Cells In A Grid

11. Adjusting Font of single Grid Cell

12. Question: How to normalize TDBGrid grid cells to fit the width of their Client area

13. Changing Grid Cells with Mouse Clicks