Jump to content


Photo

DBGrid issues


  • Please log in to reply
5 replies to this topic

#1 FourWhey

FourWhey
  • Members
  • 147 posts

Posted 04 September 2018 - 10:02 PM

- Grid lines are not always drawn when scrolling (clicking the arrow, clicking in the shaft or dragging the scroll box).

 

- When selecting a cell or row, the highlight color is shown and the text disappears. When leaving the cell its text is now blank. In the meantime I've set all columns as Selectable = false.

 

- If a header's caption is manually changed, then the dataset is set to active to preview things in design mode it changes the header caption on all headers to the header's column name. Which undoes all of your manual caption edits.  :(



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,717 posts
  • Gender:Male

Posted 04 September 2018 - 10:34 PM

3) Try setting dboUseFieldProperties of Column.DataBinding.Options
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,717 posts
  • Gender:Male

Posted 04 September 2018 - 10:37 PM

Hi,

For 1st and 2nd, maybe small demo project can help. Maybe is specific to some Database provider or driver?
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#4 FourWhey

FourWhey
  • Members
  • 147 posts

Posted 04 September 2018 - 10:42 PM

Hi,

For 1st and 2nd, maybe small demo project can help. Maybe is specific to some Database provider or driver?

 

I don't know, but I do know that it doesn't do it when using the v5 datagrid.

 

I'll put together a demo project.



#5 FourWhey

FourWhey
  • Members
  • 147 posts

Posted 04 September 2018 - 10:45 PM

3) Try setting dboUseFieldProperties of Column.DataBinding.Options

 

Yes this fixed that.  Thank you.



#6 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 7,717 posts
  • Gender:Male

Posted 04 September 2018 - 11:14 PM

I don't know, but I do know that it doesn't do it when using the v5 datagrid.
 
I'll put together a demo project.


Thanks,

There are always many combinations with db-grid :(
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users