Page 1 of 1

PostPosted: Fri Dec 26, 2003 3:41 pm
by stefangrove
Hi Joe

I have a button linked to a list. It works fine, but I want to change it without the user having to.

This is the button: <blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"> List(catlist,76,110,70,10,catbut);
FaddList(catlist,numcats+1,catarray);
Button(catbut,0x003,76,110,0,0,"Category");<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

I want it to jump to the list item #1 at occurance of X. How?

I tried FsetState(catlist,1), but that's not it.

Merry Xmas
Stef

PostPosted: Sun Dec 28, 2003 2:38 am
by jstadolnik
FsetState should work on lists as you tried. Keep in mind that the first item in a list is at index 0 and not 1.

Joe

The PToolboxLib guy.
http://www.geocities.com/retro_01775/PToolboxLib.htm