Page 3 of 4
Re: MicroGrid ~ Does anyone want Rev0.96?
Posted: Thu Mar 13, 2014 3:20 pm
by Thorsten1867
Sounds interesting. I use often SQLite in my programs.
Re: MicroGrid ~ Does anyone want Rev0.96?
Posted: Thu Mar 13, 2014 8:14 pm
by Mohawk70
Yes
Re: MicroGrid ~ Does anyone want Rev0.96?
Posted: Fri Mar 14, 2014 2:24 am
by GoodNPlenty
I'm very interested. Thank You for sharing your excellent project.
Re: MicroGrid ~ Does anyone want Rev0.96?
Posted: Fri Mar 14, 2014 9:36 am
by flaith
Definitively interested

Re: MicroGrid ~ Does anyone want Rev0.96?
Posted: Fri Mar 14, 2014 12:13 pm
by Tenaja
+1.
Thanks for sharing.
Re: MicroGrid ~ Does anyone want Rev0.96?
Posted: Fri Mar 14, 2014 3:43 pm
by RichardL
Hi Folks,
OK... it is your lucky day!
I have put all the files needed to play with the latest version of uGrid in a dropbox.
Hopefully this will work; I'm a DropBox newbie, but it seems straightforward enough.
Famous last words... this is a new link to a zipped directory...
https://www.dropbox.com/s/sztq0ch2oohm7 ... uation.zip
Please read the ReadMeFirst... and you will need a few 'picture.jpg' files and edit their path\names into my test code.
The user notes are reasonably up to date.
Please let me know how you get on!
RichardL
Re: MicroGrid ~ Does anyone want Rev0.96?
Posted: Fri Mar 14, 2014 4:10 pm
by Thunder93
Your firewall might be blocking access.
Re: MicroGrid ~ Does anyone want Rev0.96?
Posted: Fri Mar 14, 2014 4:37 pm
by RichardL
Hi,
Reposted the stuff to DropBox and downloaded OK... see link in my earlier post today.
RichardL
Re: MicroGrid ~ Does anyone want Rev0.96?
Posted: Fri Mar 14, 2014 4:50 pm
by Kwai chang caine
The download works
Thanks a lot RICHARDL for sharing and also to have thinking to the request of little Kcc
I'm on my phone now, i test your code, when i found a PC somewhere

Re: MicroGrid ~ Does anyone want Rev0.96?
Posted: Fri Mar 14, 2014 6:52 pm
by GoodNPlenty
Download works. Thank You RichardL for sharing such a great project.

Re: MicroGrid ~ Does anyone want Rev0.96?
Posted: Fri Mar 14, 2014 11:27 pm
by Mohawk70
Thank you ! Downloading now ...
Re: MicroGrid ~ Does anyone want Rev0.96?
Posted: Sat Mar 15, 2014 4:53 am
by flaith
Thanks a lot

Re: MicroGrid ~ Does anyone want Rev0.96?
Posted: Sat Mar 15, 2014 11:47 am
by RichardL
Good morning all,
I forgot to mention in my earlier posting:
In the demo program the code to create a database full of random data is commented off... please undo this
It creates 10,000 entries and takes several minutes. For quicker testing it would be better to reduce the number of records to 100.
(There are two instances of '10000')
Cheers,
RichardL
Re: MicroGrid ~ Does anyone want Rev0.96?
Posted: Mon Mar 17, 2014 3:15 pm
by Kwai chang caine
Hi RichardL
Like promise, i have test your great code

I have try to have only two columns without success...
And i have try to have the picture at right and text left and i not had success too

What i have missing ?
Code: Select all
XIncludeFile "MicroGrid96.PBI"
Enumeration 4242
#Win_Test
#Gad_Grid3
EndEnumeration
Procedure uGridCallback(uGridNum,uGridEvent,IParam.i,*uGridCell)
EndProcedure
Global GadHelp,DB_RowCount
OpenWindow(#Win_Test,0,0,1020,755,"MicroGrid Test 0.94",#PB_Window_ScreenCentered|#PB_Window_SystemMenu)
;{- Demo two state Image cells
With uGridDefaults
\GridFont = "Arial"
\GridFontH = 8
\TitleFont = "CourierNew"
\TitleFontH = 12
\ImageCellH = 100 ; Cell height when #uGrid_UseAuxH specified **
EndWith
k$ = "Pics[300]|Text[70]|[100]|"
uGridGadget(#Gad_Grid3,0,0,0,0,k$,3,#uGrid_AutoSizeX|#uGrid_AutoSizeY|#uGrid_UseAuxH) ; Make grid with tall cells **
uGridSetCellType(#Gad_Grid3,1,0,2,-1,#uGrid_CellImageFlip) ; Columns 2 and 3 to be images.
; ========== Modify Filename$ to suit your system =========== USER WORK HERE !!!!
UseJPEGImageDecoder() ; Define libraries
FileName$ = "Picture.jpg"
T = uGridGetCellPtr(#Gad_Grid3,2,0)
uGridDrawFileImage(T,0,FileName$)
FileName$ = "Picture.jpg"
T = uGridGetCellPtr(#Gad_Grid3,2,1)
uGridDrawFileImage(T,0,FileName$,0)
FileName$ = "Picture.jpg"
T = uGridGetCellPtr(#Gad_Grid3,2,2)
uGridDrawFileImage(T,0,FileName$)
uGridRefreshGrid(#Gad_Grid3) ; show initial states.
Repeat
Select WaitWindowEvent(10)
Case #PB_Event_CloseWindow
Break
Case #PB_Event_Gadget
uGridService(EventGadget())
EndSelect
ForEver
Re: MicroGrid ~ Does anyone want Rev0.96?
Posted: Mon Mar 17, 2014 5:32 pm
by RichardL
Hi KCC,
You probably need to specify the full path and picture name...
Richard