realbasic-nug
[Top] [All Lists]

Re: List selection

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: List selection
From: Dennis Birch <dennisbirch at gmail dot com>
Date: Tue, 28 Nov 2006 12:50:05 -0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:x-sender:message-id:in-reply-to:references:date:to:from:subject:content-type; b=eO7/5q1XA7I561IRlcDIZ0NnFnRJ61RDUY3vtDidomgaGT9VyYkMHIm67hoe+tUc7aT5fGdtUPCRjLko/FU4zrLopcGzdwuHQ1zi+Jze4IMteLDbENxX16H/L/ZvX5/1I0TlqaVEnt+IqQtXRCUiXn8Bt3kG6aXzjAe2dAg5JrU=
References: <C191D395 dot 1A38B%seth at johnfinley dot com> <456C9FE5 dot 7030108 at free dot fr>
You might want to check to see if TextEncoding is causing problems.

Seth,


Thanks for the bit of code, but the index (n) returned is always "0" even thought the font name is rigth.

I did put a test as

MsgBox "Font name is " + myFontName + " n = " + str(n)


But it seems that there might be a pb with my code to populate the listbox.

If I check how many times the max value of i = f.count, I get 31, but my listbox shows many more fonts (about 60).

However, when I selct any of the font between 32 and 60 the font is not recognised.

Could this be the problem in my listbox?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>