Hi Alan,

You don't have to use the function LstSetListChoices() if you are using the
static list.
But I tried the samething using the LstSetListChoices()function with the
functions
LstSetListChoices() & LstMakeItemVisible(). It is working with out any
error.
Try to use the function. 

Thanks
Sreenivas Reddy
---------------------------------------------------------
Developers' Nation
You've got the questions; we've got the answers.
Visit Us At :http://www.devnation.net for Palm Developer Support

---------------------------------------------------------- 




-----Original Message-----
From: Alan hand [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 4:28 AM
To: Palm Developer Forum
Subject: RE: Invalid Font error when using LstSetSelection


Thanks for your thoughts, but I am not using LstSetListChoices() since it is
a static list that I have populated and associated using Constructor.  As
for the list pointer, I have verified that it is valid as well.

Do I have to use LstSetListChoices() even though I am using a static list
whose choices never change?

-Alan  

-----Original Message-----
From: Mark Douglas [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 3:49 PM
To: Palm Developer Forum
Subject: Re: Invalid Font error when using LstSetSelection


Alan,

I ran in to the same error message the other day.  My problem was that I was
passing an invalid pointer in the second parameter of LstSetListChoices().
You might also verify that your List pointer is correct, if you haven't
already.

Mark Douglas


"Alan Hand" <[EMAIL PROTECTED]> wrote in message
news:49560@palm-dev-forum...
>
> I am using a debug ROM (Palm Vx version) and trying to set the selection
on
> a pupop trigger that has a static list which was populated using
constructor
> associated with it.  When I call LstSetSelection(pList, nIndex) with any
> value of nIndex (-1, 0, 1, etc) I get a debug ROM error message saying
> "Invalid font" with a line number of 198 in font.c
>
> In addition to the annoying debug error message, the list selections is
not
> "set".  I have even tried redrawing the list after setting the selection
and
> that doesn't work either.  Does anyone know what may be causing this?
>
> Thanks,
> Alan
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to