This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: how to catch next or back button events
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 22, 2007
01:42 AM
how to catch next or back button events
wen we press buttons on a panel how to get the event?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 22, 2007
01:45 PM
The button event code is handled in the frame of the panel and not the individual panel itself. You can capture the events there. You can get access to the buttons inside the actual panel code as well if you need to do that.
Here is an example of disabling the back button from within the initUI code of a specific panel, rather then the frame.
Here is an example of disabling the back button from within the initUI code of a specific panel, rather then the frame.
ISFrame frame = context.getISFrame();
ISButton backButton = frame.getButton("back");
if (backButton != null) {
backButton.setEnabled(false);
}
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 23, 2007
01:43 AM
thanks for the response. althought wat I want to know is some thing like this
wen back/next button is pressed, execute a functionality. So i want to know how the event button pressed can be captured. Much like in AWT MouseButtonPressed etc
when buttonPressed()
do
something()
wen back/next button is pressed, execute a functionality. So i want to know how the event button pressed can be captured. Much like in AWT MouseButtonPressed etc
when buttonPressed()
do
something()
![](/skins/images/D3004062EE959BB5114D71A9BAF91CB3/responsive_peak/images/icon_anonymous_message.png)