PDA

View Full Version : [HELP]:How to disable the cancel button in SetupProgress Dialog



NewsArchive
12-04-2001, 01:00 AM
Hello ,
I want disable the cancel button in my custom action (installshied
script).
How to implement it? please help me!

Best regards,
Bound
www.farstone.com
farstone RD

NewsArchive
12-04-2001, 01:00 AM
Try using the old style status bar -

Enable(STATUSOLD); etc

It does not have a 'cancel' button! neat - IS introuduce a feature which
does not work by design :)


"bound" <bound@farstone.com> wrote in message
news:3c0c99d3@news.installshield.com...
> Hello ,
> I want disable the cancel button in my custom action (installshied
> script).
> How to implement it? please help me!
>
> Best regards,
> Bound
> www.farstone.com
> farstone RD
>
>

NewsArchive
12-04-2001, 01:00 AM
At the end of OnFirstUIBefore function, call

Disable(CANCELBUTTON);

Or if it doesn't compile, call:

Disable(56);

Fei


"bound" <bound@farstone.com> wrote in message
news:3c0c99d3@news.installshield.com...
> Hello ,
> I want disable the cancel button in my custom action (installshied
> script).
> How to implement it? please help me!
>
> Best regards,
> Bound
> www.farstone.com
> farstone RD
>
>

NewsArchive
12-04-2001, 01:00 AM
Whoopse, forget about the OnFirstUIBefore part.. I read Andrew's replay and
got misguided.

Call that funtion before you show any dialog. Enable it again when you need
it.

Fei

"mingbiaofei" <mf@installshield.com> wrote in message
news:3c0d3bb6$1@news.installshield.com...
> At the end of OnFirstUIBefore function, call
>
> Disable(CANCELBUTTON);
>
> Or if it doesn't compile, call:
>
> Disable(56);
>
> Fei
>
>
> "bound" <bound@farstone.com> wrote in message
> news:3c0c99d3@news.installshield.com...
> > Hello ,
> > I want disable the cancel button in my custom action (installshied
> > script).
> > How to implement it? please help me!
> >
> > Best regards,
> > Bound
> > www.farstone.com
> > farstone RD
> >
> >
>
>

NewsArchive
12-10-2001, 01:00 AM
oh,i forget tell you.
i use the basic mode project
"mingbiaofei" <mf@installshield.com> wrote in message
news:3c0d3c21$1@news.installshield.com...
> Whoopse, forget about the OnFirstUIBefore part.. I read Andrew's replay
and
> got misguided.
>
> Call that funtion before you show any dialog. Enable it again when you
need
> it.
>
> Fei
>
> "mingbiaofei" <mf@installshield.com> wrote in message
> news:3c0d3bb6$1@news.installshield.com...
> > At the end of OnFirstUIBefore function, call
> >
> > Disable(CANCELBUTTON);
> >
> > Or if it doesn't compile, call:
> >
> > Disable(56);
> >
> > Fei
> >
> >
> > "bound" <bound@farstone.com> wrote in message
> > news:3c0c99d3@news.installshield.com...
> > > Hello ,
> > > I want disable the cancel button in my custom action (installshied
> > > script).
> > > How to implement it? please help me!
> > >
> > > Best regards,
> > > Bound
> > > www.farstone.com
> > > farstone RD
> > >
> > >
> >
> >
>
>