I have a modal stack that contains a listbox used to select something, and I keep track of the last selection made in a global variable. I want the stack to pop up with the last selection already highlighted, or no line highlighted if there is no matching line. So I compute the number of the matching line in a variable, or "empty" if there is no match, and then do
set the hilitedLine of field "foo" of stack "bar" to n It does bupkis; no matter what, the first line remains selected. If I set a breakpoint on this line, and open the stack manually (i.e., non-modally so that it will actually trigger the break), I can see that n contains the correct value. When I step across the above statement, nothing happens. If I then type exactly the same statement into the Message Box, the proper line is highlighted. What the heck is going on? -- Ciao, Paul D. DeRocco Paul mailto:pdero...@ix.netcom.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode