PDA

View Full Version : show feature with checkbox checked at the start



NewsArchive
04-07-2022, 01:56 AM
Hi,

I have an install with 12 features.
Most of the times the same feature is checked at install.

Is it somehow possible to set the feature checked in advance, so that
the user sees the feature is selected (checked) ?
I've seen there's an option to select a feature by default.
But when I use this, the feature is not checked on screen.

thanks

Hans Vinckier

NewsArchive
04-07-2022, 01:56 AM
Hans,

yes, absolutely no problem. You have full control over this. Just use the
"Set Feature State..." script function.

Does this help? If you need a demo project, just let me know.

Friedrich

NewsArchive
04-07-2022, 01:56 AM
Hi Friedrich,

Thanks for replying.

I've tried to use the 'set feature' option.
I've put it after the feature declarations, also just before the loop
wizard that runs through the dialogs.
But the option remains unchecked. And when I run the setup, the feature
is not installed.
So somehow I'm still doing something wrong I believe.
Any ideas ?

Thanks

Hans Vinckier

Setupbuilder developer edition 2019.7
Version 10.0.6976

NewsArchive
04-07-2022, 01:57 AM
> I've tried to use the 'set feature' option.
> I've put it after the feature declarations, also just before the loop
> wizard that runs through the dialogs.
> But the option remains unchecked. And when I run the setup, the feature
> is not installed.
> So somehow I'm still doing something wrong I believe.
> Any ideas ?

Hi Hans,

When I need to make changes to items that will appear on a dialog I usually
use the "Set Feature State" in the script editor just before the dialog is
called.

Then I use the "Refresh Next Dialog" option to update the dialog before it
is displayed.

I hope that helps!

Charles

--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)

www.clarionproseries.com - ProDocument, ImageEx, ProScan, ProImage, ProPath
and other Clarion developer tools!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
-------------------------------------------------------------------------------------------------------

NewsArchive
04-21-2022, 02:37 AM
Hi Hans,

if you are interested, please send your project file to support [at]
lindersoft [dot] com and I'll review your script code.

Friedrich