PDA

View Full Version : Default image



sonata31
February 16th, 2008, 10:08 AM
How define the default image for a GAC object ?

sonata31
February 20th, 2008, 06:28 AM
Resolved : default.gif in the directory of NetRemote

mhwlng
February 20th, 2008, 07:16 AM
or use FolderImage

I do something like this :

MYALBUMLIST = GAC:new{var='ALBUMLIST',FolderImage='noimage.jpg', GroupByAlbum=1,count=20, useGP=1,imageSize='N', fields='Year,Album,Artist,Complete Album' };

you are correct that the image must go into the netremote directory


Marcel

sonata31
February 20th, 2008, 11:37 AM
or use FolderImage

I do something like this :

MYALBUMLIST = GAC:new{var='ALBUMLIST',FolderImage='noimage.jpg', GroupByAlbum=1,count=20, useGP=1,imageSize='N', fields='Year,Album,Artist,Complete Album' };

you are correct that the image must go into the netremote directory


Marcel

It's more simple to change the default.gif image

mhwlng
February 20th, 2008, 11:46 AM
not if you want more than 256 colours, note my use of a JPG file instead of a GIF file...

Marcel

sonata31
February 20th, 2008, 11:57 AM
not if you want more than 256 colours, note my use of a JPG file instead of a GIF file...

Marcel

Ho yes, but on a small image the distinction is not obvious

sonata31
February 22nd, 2008, 01:08 AM
We can use the function :
NetRemote.SetDefaultImagePath([path])