PDA

Click to See Complete Forum and Search --> : DBGrid again and again


Slimak
Aug 4th, 1999, 06:20 AM
1. How can I change Caption of any column in DBGrid?!?!?!?!?!?!?!?!
2. How can I make two DBGrids to look alike without connecting second one to the database (first one will be connected)?

3. How can I change FontSize of the DBGrid (what I mean is how to make it smaller than 8.25)

4. What about changing color of any Row or Column, or if it is possible one Field?

5. And can you tell me something about DBGrid vs. FlexGrid

Thanks in advance
Any help will be greatly appreciated

SLimak


------------------
Marek Karbarz
My WebPage (http://www.angelfire.com/mb/slimak)
Zarembisty@aol.com

Buzby
Aug 5th, 1999, 04:59 PM
All the things you've asked for will be a pain to achieve in DbGrid or FlexGrid - FlexGrid by the way is about as flexible as a lump of rock!
Buy Apex TrueDBGrid - it'll do just about anything - and I promise you you will never, ever think of using DBGrid or FlexGrid ever every again. (and no, I don't work for apex)
www.ApexSC.com (http://www.ApexSC.com)



------------------
Mark "Buzby" Beeton
VB Developer
BuzbyB@HotMail.Com

valvoj
Aug 5th, 1999, 07:31 PM
I don't know about DBGRIDS but in Flexgrid you could change the caption by
'selecting the column
gridMyGrid.Col = (columnnumber)
'entering what text you want as caption
grdiMyGrid.Text = "Whatever"

scottr
Aug 5th, 1999, 08:32 PM
far point makes a good grid too. Its called spread, you can download it and use it for 30 days.

JHausmann
Aug 6th, 1999, 12:05 AM
If you're using SQL as your datasource for DBGrid, you can use the following syntax:

Select fieldname as newname from table

For example:

Select empno as [employee id] from employee

will populate the header with "employee id" instead of empno when using MSAccess.