Inno Setup: how to create a page with radio buttons and forms - deployment

How can I put radio buttons and forms on the same Inno Setup page?
I currently have 3 fields:
I would like a radio button over the first field (Company / Name) and the third field (Customer Code).
Once a radio button is clicked, it disables the fields that aren't related to it (meaning making them a little grayish and unclickable).
So is there a way to put radio buttons and fields on the same page?

Inno Setup is flexible enough to allow what you need. But to have such a complicated GUI, you have to program this completely, you cannot do with simple utility functions like you are using atm probably (like CreateInputQueryPage).
You need to create:
a new blank page using CreateCustomPage
add radio buttons (TRadioButton)
add input controls for all three forms
handle TRadioButton.OnClick event and enable/disable respective forms based on selected button.
For a general introduction, see Pascal Scripting: Using Custom Wizard Pages.
Though for a faster start, you can actually start with CreateInputQueryPage, and only add your radio buttons and layout the text boxes correctly. To access individual edit boxes and their labels, use TInputQueryWizardPage.Edits and TInputQueryWizardPage.PromptLabels.
For some examples, see:
Select image file on custom layout page and and copy the file to installation folder
Inno Setup: Combo box on TInputQueryWizardPage

Related

Attaching an ActiveX TreeView Control into a tabbed Access form

I have a tabbed form in Access and on one tab, I'd like to create an ActiveX TreeView object. When I go to build this object and drag it to the tab, it attaches itself to the general form instead of the tab. This puts the control over top of all the tabs instead of the tab I want it in.
How do I attach the ActiveX control to the tab and not the entire form?
I've done a number of different "moves" to try and get it to attach and I've looked through the options to see if there is an easy way to attach it but nothing actually defines how the control is attached unlike a normal Access form control that is contained in the tab.
I would like to keep the extra forms to a minimum and maintain a single, tabbed form with separate controls on each tab.
Answer:
Make sure to select the tab first and then create the TreeView control. TreeView controls cannot be attached to a tab page by drag/drop.
If done correctly, the control will be placed on the tab page just under the tab name within the borders of the tab page. A quick test by selecting other tabs can be done to check that it attached to the right tab and only that tab.

How to create a form allowing multiple checkbox selection in Wix?

Does anyone know if there's a possibility to create a form where users can select multiple checkbox options instead of just one? I need users to be able to check multiple boxes. Any help for a newbie would be greatly appreciated.
I know I'm late, but if you're using Wix Forms, you can click on the form, click the plus sign, then click "Selection" in the left column, then click "Multi Checkbox Field" to get checkboxes where users can select more than one. Right now you're probably using Radio Buttons, which are often used as the default in most form templates but only allow for one box to be selected.

Oracle Button issue

Working on a oracle project. I am new to oracle forms. I am currently using 10g forms. I am successfully able to develop my first form from datablock wizard. It initially contained 10 rows. After that i tried to make a button but 10 buttons show up. All have same name and behave like a single unit but they look like 10 buttons.
http://postimage.org/image/breymi2pn/
Following is the image of buttons which i am getting on form canvas:
The reason for the multiple buttons is that you have added the button to a multi record block. You can fix this problem either by moving the button to a single record control block. If you need to have the button in the multi record block but only want to display one button then you need to set the 'Number of Items displayed' item level property for the button item to 1.

Wordpress - Show Portfolio Categories

I'm working with a WordPress website and a client wants to show a list of categories in the footer. Unfortunately, it is showing as empty because he has no posts and has set the categories to portfolio items which he wants people to be able to click to.
So, how do I show the portfolio categories in the widget rather than the post categories?
Thanks,
Jack
Probably the easiest way I can think of to get the result that you want without having to resort to changing any Theme Files would be this:
Log into your Wordpress Dashboard
Navigate to Appearance->Menus
Create a new Menu, and (if applicable) enable the Custom Taxonomies for your menu by clicking on Screen Options (top right-hand corner of the page) and ticking your Portfolio's Custom Categories and/or Custom Post Types
Once all of the items you want is in your Custom Menu, save it.
Navigate to Appearance->Widgets
Add the Custom Menu Widget to the sidebar in which you would like your items to appear
Select the Custom Menu you just created, and Save
When dealing with Premium Themes, it would always be safest to stay out of their code and avoid changing anything altogether, so try this approach first. Otherwise, you may have to get your hands dirty and alter some code or contact the Theme Developer.

How can I change the whole structure of a form by clicking a button ( Visual C# Express 2010 )

I'm new here as I am programming with Visual C# Express 2010.
Thats the case:
I have the first form, it contains labels, buttons, textboxes etc. I want one of these buttons to change all the aspects of this first form in order to create a second one.
An example of what I want is an ordinary installer program. It has one form ( I think ). And we have "next" button. Clicking on it, the whole form structure will change.
PS: Im not making an installer program.
Thank you!
It might be easier simply to develop a new form, and have the button launch an instance of that new form.
That said, you can programatically change aspect of GUI elements by using the appropriate properties.
For example, suppose you have a label lblStatus somewhere on the form. You can change its location and text with the following lines:
lblStatus.Location = new Point(20, 0);
lblStatus.Text = "Updated Status";
Hopefully this is helpful to get you on the right track.
You could do multiple things:
Use tab pages for each page of things that you want. Add a button outside of the tabs that will change to the next one.
Add a button and a panel on the form. Each page of the form is a different UserControl. When you click the button, fill the panel with a new instance of the UserControl that you want.
Do something like this: http://www.codeproject.com/KB/miscctrl/DesignTimeWizard.aspx
Or this: http://visualstudiogallery.msdn.microsoft.com/en-us/c2c412fd-bd28-4e3b-9c20-4dc381ac5199