>Dr Gerard Hammond <[EMAIL PROTECTED]>
>Date: Sat, 9 Sep 2006 20:35:55 +1000
>
>Checkout data "Data-On-Demand ListBox"

I will certainly.

Meantime I found that the slowdown was caused by this piece of code:

Function CellBackgroundPaint(g As Graphics, row As Integer, column As Integer) 
As Boolean
     me.gridLinesVertical = 0
      if column = 0 then
         g.ForeColor = &cC7FFC1
      elseif column = 1 then
         g.ForeColor = &cFCFFAD
      elseif column = 2 then
        etc.
End Function

Using conditionals as below, things went back to normal:

      if me.gridLinesVertical <> 0 then me.gridLinesVertical = 0
      if column = 0 then
         if g.ForeColor <> &cC7FFC1 then g.ForeColor = &cC7FFC1
      elseif column = 1 then
         if g.ForeColor <> &cFCFFAD then g.ForeColor = &cFCFFAD
      etc.

>From: Trausti Thor Johannsson <[EMAIL PROTECTED]>
>Date: Sat, 9 Sep 2006 14:35:39 +0200
>
>Check out einhugur datagrid.  It is so fast and easy to use.

I know that einhugur's things are excellent, but at tpresent I'm not able even 
to upgrade my RB licence...

Thanks for answering,
-- 
Carlo
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to