Page 16 of 23

Posted: Sun Feb 01, 2009 7:25 pm
by zikitrake
Finally I'm using this code, and now, it only get 1%-2% cpu when I have 1-5 animated cells:

Code: Select all

Procedure.l ICONO_STATUS_RUN_THREAD(PauseForChangeColor.L)
  Repeat
   
    If IconSTATUS_COLOR = icon
      IconSTATUS_COLOR = icon2
    Else
      IconSTATUS_COLOR = icon
    EndIf
   
    For R.L = 0 To egrid_NumberOfRows(#MyGrid) -1
      If egrid_GetCellText(#MyGrid, 0,R)  = "Running"
        egrid_SetCellText(#MyGrid, 0,R, "Running"); Force Icon update
      EndIf
      Delay(1)
    Next

    Delay(PauseForChangeColor)

  ForEver
EndProcedure 
Thank you Srod

Posted: Wed Feb 11, 2009 2:17 pm
by srod
EsGRID version 1.3.2 - 11 February 2009.
Version 1.3.2 fixes a very long outstanding bug related to the click-and-drag selection of multiple cells + a couple of minor bugs!
Automatic selection would occasionally assume a life of it's own!

Currently this fix is implemented only in the source code version of EsGRID for PB 4.3. A version for PB 4.2 will follow only if there is a demand for this.

http://www.nxsoftware.com

Posted: Wed Feb 11, 2009 2:34 pm
by rsts
I've converted all my source so 4.3 is fine by me.

cheers

Posted: Wed Mar 18, 2009 3:55 pm
by Justin
Is it possible to change the cell height?

Posted: Wed Mar 18, 2009 4:14 pm
by Kiffi
Justin wrote:Is it possible to change the cell height?
yes, with the rowheight-parameter in egrid_CreateGrid()

Code: Select all

egrid_CreateGrid(gadgetnum, x, y, width, height, rowheight, windowstyles, furtherstyles)
Greetings ... Kiffi

Posted: Wed Mar 18, 2009 6:34 pm
by Justin
thanks

Posted: Sat Apr 04, 2009 9:38 pm
by ts-soft
small problem:
i have a esgrid in a container, sitting in a splitter, i can't see anything :o

can you solve this problem or must i the container remove?
the container makes somethinks easier for me :wink:

Posted: Sat Apr 04, 2009 10:05 pm
by srod
Works fine here on both XP and Vista.

I have had problems with Frame3d gadgets in the past. You wouldn't have one of these around the grid would you?

Can you post some code?

Posted: Sat Apr 04, 2009 10:18 pm
by ts-soft
I have made a testcode, and it works, but not in my program.

I will find the bug, thanks for your help.

(No Frame3D)

// it works, :oops: i'm so stupid

Posted: Sun Apr 05, 2009 12:28 am
by srod
ts-soft wrote:I have made a testcode, and it works, but not in my program.

I will find the bug, thanks for your help.

(No Frame3D)

// it works, :oops: i'm so stupid
You certainly are! :wink:

In my tests, the grid flickers a lot if inside a container whilst moving the splitter's divider etc. Applying #WS_CLIPCHILDREN to the container seemed to sort it out.

Posted: Sun Apr 05, 2009 1:06 am
by ts-soft
thx for the tip, flickering is my next problem :wink:

Greetings
Thomas

Posted: Sun Apr 05, 2009 1:30 am
by srod
I have used EsGRIDs inside containers inside nxSplitters inside containers inside other nxSplitters without any problems or flicker. :wink:

Posted: Sun Apr 05, 2009 2:34 am
by ts-soft
srod wrote:I have used EsGRIDs inside containers inside nxSplitters inside containers inside other nxSplitters without any problems or flicker. :wink:
I can't use nxSplitter :roll: no x64 :(

Posted: Sun Apr 05, 2009 12:24 pm
by srod
That's true! The lazy b*stard author of Nexus still hasn't gotten around to converting it to x64! Then again he no longer has access to a 64-bit version of Windows!

Oh well...

Posted: Tue Apr 07, 2009 12:49 pm
by srod
EsGRID version 1.3.3 - 7th April 2009.
This update/bug-fix is for the Purebasic 4.3 version of EsGRID only.

Changes :
  • Adjusted headers to use/allow multiple rows of text.
  • Fixed a bug with the #egrid_SingleLineText flag.
  • Rectified a Vista related issue when using right justified text.
http://www.nxsoftware.com