Thanks to Glen Pike. The solution ended up being very simple. I blanked the 
text in the input field using enterPage.onSetFocus as below, then added 
Selection.setFocus(null); to all other controls on that screen so the text 
field always gets its focus set when clicked.

enterPage.onSetFocus = function() {
    enterPage.text = "";
                go_btn._visible=true;
};

go_btn.onRelease = function() {
                Selection.setFocus(null);
                if (enterPage.text != "") {
                                if (enterPage.text<=19) {
                                                whichPage = int(enterPage.text);
                                                
holder_uh.myPageFlipperuh.gotoPage(whichPage);
                                                go_btn._visible=false;

                                }
                }
};

Alan Neilsen



This message is for the named person’s use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or; lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify
the sender. You must not directly or indirectly, use, disclose,
distribute, print or copy any part of this message if you are not the
intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and
any of its subsidiaries each reserve the right to monitor all e-mail
communications through its networks. Any views expressed in this
message are those of the individual sender, except where the
message states otherwise and the sender is authorised to state them
to be the views of any such entity.

#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal
#####################################################################################
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to