Jump to content


Photo

Bug in Drawing of the SortColumn arrow indicator


  • Please log in to reply
4 replies to this topic

#1 octal

octal
  • Members
  • 54 posts
  • Location:France

Posted 28 January 2005 - 01:15 AM

Hi Boki,

When the column is narrow (less than 40pix width) or does not contain text, and when sorting indicator (arrow) is enabled the arrow is not visible :?
I tracked the bug and in the DISPLAYS.PAS unit, there are some defined constants at the top of the unit , and it seems that the constant
spArrowDistance = 19
is too big.
I put it to
spArrowDistance = 9;
and that quite fine. (i think that the number 1 at the left of 9 was a taping mistake .... :wink: )
May be i'm wrong ... :oops: please correct me if so Boki

Sincerely

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 28 January 2005 - 02:06 AM

Hello octal,

It is not typing error smile.gif

I have made it to look exactly as in MSOutlook smile.gif , but if you like you can change this parameter .

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.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 octal

octal
  • Members
  • 54 posts
  • Location:France

Posted 28 January 2005 - 08:28 AM

Ok Ok Ok !!! thats right ... i have checked Outlook and it have the same behaviour
:wink:

Thanks .... i'l keep it 9 ... and perhaps i'll make a descendent if the grid that will make it a published property :shock:

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 28 January 2005 - 08:31 AM

Hello,

I will not change this constant spArrowDistance in new version. So, when you install new version, simply change this distance again. smile.gif

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.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.

#5 octal

octal
  • Members
  • 54 posts
  • Location:France

Posted 28 January 2005 - 08:34 AM

ok .. thanks for your support and fast reply.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users