Article View: borland.public.jbuilder.java.language
Article #18760Re: How to ? Buttons! Disable after using, re-enable on exit from new frame.
From: Clint Brewer
Date: Thu, 23 Apr 1998 00:00
Date: Thu, 23 Apr 1998 00:00
21 lines
1235 bytes
1235 bytes
Alan J Wright wrote: > > Specifically, a buttonclick on one frame will display another frame(s). > How do you disable the button to prevent the user generating multiple > identical frames? Then, how do you re-enable the button on Frame1 after > exiting from Frame2? New to this. Wading through JBuilder Essentials. > Hiding frame1 not acceptable in this appl. Hello Alan, For the buttonControl, to disable it, set buttonControl.enabled=false; For your frame to , add an onclose event, and in that event, set buttonControl.enabled=true; I believe that this should do it(but i didn't try it out) Clint Brewer
Technical Details
Message-ID:
<353FFE06.3020@borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bd6e49$430968c0$693261cb@haw35.tacacs.canterbury.ac.nz>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,44d95d47efbdcfcb X-Google-Attributes: gidf74b3,public From: Clint Brewer <supportinfo@borland.com> Subject: Re: How to ? Buttons! Disable after using, re-enable on exit from new frame. Date: 1998/04/23 Message-ID: <353FFE06.3020@borland.com> X-Deja-AN: 347179864 Content-Transfer-Encoding: 7bit References: <01bd6e49$430968c0$693261cb@haw35.tacacs.canterbury.ac.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Borland International Newsgroups: borland.public.jbuilder.java.language