How to Display Font Face Previews in Option Menu?

Ken Ray kray at sonsothunder.com
Sat Dec 6 14:00:47 EST 2003


Boy, you're just hitting 'em all, aren't you? :-)

This is another one you can't do natively in Transcript. You'd need a
DLL created for both platforms that would do the job for you and return
the data in an image file format compatible with Rev.

Sorry,

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> shishilite at hotpop.com
> Sent: Saturday, December 06, 2003 1:25 AM
> To: use-revolution at lists.runrev.com
> Subject: Re: How to Display Font Face Previews in Option Menu?
> 
> 
> Thanks for your reply, Ken.
> 
> I previously asked the following question to the mailing list 
> but have not received any reply yet:
> 
> I would like to show a list of files in a directory and 
> display the correct icon next to each file (in both Windows and Mac).
> 
> So, how do I do this? I know how to show the file listing, 
> but I don't know how to obtain the appropriate icon for each file.
> 
> Thanks!
> 
> Shishi
> 
> 
> 
> On 6/12/03 4:22 PM, "Ken Ray" <kray at sonsothunder.com> wrote:
> 
> > There isn't an easy way to do this natively in Transcript.  
> You could 
> > craete a very complicated menu stack with a button for each 
> font name 
> > and set its textFont accordingly, but that would be 
> problematic when 
> > it got to be larger than the height of the screen.
> > 
> > Ken Ray
> > Sons of Thunder Software
> > Email: kray at sonsothunder.com
> > Web Site: http://www.sonsothunder.com/
> > 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-> revolution
> 




More information about the use-livecode mailing list