Hello all, I knew it had to be easy and I was overlooking something: then put ab & cr after the last item of fld "C" of stack "X" Now it shows every cd with the hilited btn :-)
Greetings! 2008/10/16 William de Smet <[EMAIL PROTECTED]>: > Thanks Klaus, > > it works now but I want to define it to show not all cards but only > the ones with a hilited btn on it. > on mouseUp > repeat with i =1 to the number of cards of stack "X" > if the hilite of btn "Y" of cd i of stack "X" is true > then put the short name of cd i of stack "X" into ab > then put ab into fld "C" of stack "X" > end if > end repeat > end mouseUp > > It only shows the last cd with the hilited btn so there must be > something wrong with my repeat script. > Any thought on that? > > Greetings!! > > 2008/10/16 Klaus Major <[EMAIL PROTECTED]>: >> Hi William, >> >>> Hello there, >>> >>> I have a main stack with serveral substacks. >>> I call the cardnames (from a substack) with: put the cardnames of >>> stack "X" into fld "Y". >>> I set up the field as a clickable list with: >>> on mouseUp >>> if the hilitedLine is not empty >>> then put the value of the clickline into tData >>> then go card tData of stack "X" >>> end if >>> end mouseUp >> >> try this: >> on mouseUp >> put the selectedtext of me into st >> if st = empty then >> exit mouseup >> end if >> go cd st of stack "X" >> end mouseUp >> >>> This works but only when the cardnames are the same as the card ID's. >>> As soon as I change the cardnames change into a name like ' apple' the >>> script doesn't work anymore. >>> Probably the value of the clickline is related to the card ID's (I >>> guess!). >>> >>> How do I change this so I can have normal cardnames? >>> And I think it's kind a fancy when I use: sheet stack and then go to >>> the right card. >>> I guess that is impossible? >>> >>> Thanks in advance! >>> >>> greetings, >>> >>> William 'MacSmet' de Smet >> >> Best >> >> Klaus Major >> [EMAIL PROTECTED] >> http://www.major-k.de >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution