Two questions

Jan Schenkel janschenkel at yahoo.com
Tue Sep 10 15:13:01 CDT 2002


Hi Richard,

Two questions, two answers :-)

1) check the Transcript Dictionary entry for the
'closeStackRequest' message ; it is sent when the user
clicks the close box, but before the stack is actually
closed ; if you 'pass closeStackRequest', the stack
will be closed, otherwise it won't.

2) try this:
  on openCard
    select char 1 to -1 of fld "NN"
  end openCard
-- it will select the text of the field.

Hope this helped,

Jan Schenkel.

"As we grow older, we grow both wiser and more foolish
at the same time."  (De Rochefoucald)

--- Richard Hillen <mail at richard-hillen.de> wrote:
> Hello, alltogether,
> 
> may you help with these two questions?
> 
> 1) If someone clicks on the close-button of the
> stack window, the stack
> is closed.
> Under some conditions I want to intercept the "close
> stack" message, so
> that the stack is not closed and the stack window
> remains visible.
> 
> 
> 2) (Nothing to do with question 1)
> On opencard  the Input-Cursor should be in the fld
> "NN".
> 
> Thanx for help.
> 
> Richard Hillen.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
>
http://lists.runrev.com/mailman/listinfo/use-revolution


__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute



More information about the use-livecode mailing list