VFP does handle transparency correctly, if you load the picture in an image control. For speed reasons, VFP doesn't load the image twice (once for image and once for command button). Because Image control handles transparency (even if it's invisible), the same transparent image will be used for command button as well.
----- Original Message ----- From: "Derek Kalweit" <dkalweit at gmail DO.T com> To: <profoxtech@leafe.com> Sent: Friday, September 30, 2005 5:58 PM Subject: Re: Button icons
It would also be cool if VFP handled transparency properly for these button pictures. Ever since the beginning, I've had to create bmp/msk equivelents. I think VFP handles ico transparency properly in the most recent versions, but gif transparency still does NOT work on command buttons or option buttons(style=graphical)-- hey, the graphical option buttons don't even support word wrap, even though they're basically command buttons anyways... As for your actual question, I can't say. I usually assign ico files to the form's icon property which properly shows the 16x16 version. I believe I've used 32x32 versions here and there, and they displayed properly at 32x32... -- Derek
On 9/30/05, Tristan Leask <trgl at marinesoftware DO.T co.uk> wrote: > > Morning all... > > Bit of a strange question you will probably think, but one buttons you > can put images. Now VFP supports icon files and with icon files you can > have different sized icons within the one file. Does VFP just pick > 32x32 first? Is there a way to specify which icon to use from the file, > or do you have to separate each icon out into individual files? > > What would be cool is that if vfp would look at how big the picture area > is and determine from this which icon size to use from the file. > > Cheers > > Tristan > > [excessive quoting removed by server]
©2005 Grigore Dolghin |