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 do I get the frame from a button clicked event
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
Jun 14, 2006
01:53 PM
How do I get the frame from a button clicked event
How do I get the frame from this context?
public void buttonClickedApplicationImagesLocation_TestConnection(com.installshield.event.ui.ISControlContext context)
{
ISFrame frame = context. ?????? .getISFrame();
ISButton nextButton = frame.getButton("next");
nextButton.setEnabled(false);
..
public void buttonClickedApplicationImagesLocation_TestConnection(com.installshield.event.ui.ISControlContext context)
{
ISFrame frame = context. ?????? .getISFrame();
ISButton nextButton = frame.getButton("next");
nextButton.setEnabled(false);
..
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 14, 2006
05:23 PM
It can be done like this:
ISPanel panel = (ISPanel)context.getISContainer();
ISFrame frame = panel.getISFrame();
ISButton nextButton = frame.getButton(NEXT_BUTTON);
nextButton.setEnabled(false);
ISPanel panel = (ISPanel)context.getISContainer();
ISFrame frame = panel.getISFrame();
ISButton nextButton = frame.getButton(NEXT_BUTTON);
nextButton.setEnabled(false);