Confused about setup type - installshield

I have my setup type dialog looking like this :
The top option is a custom one I added.
So in my next button push event, I have this :
So what I would now like to do is load up the custom setup dialog, but those features should be enabled / disabled depending on what was selected.
OR
If completer or first custom option is selected, I want to open a dialog conditionally.
Is this possible?

You can do the following:
Note the 'value' attribute of your new radio button (by default it should be '3')
Add the appropriate events with the condition _IsSetupTypeMin = "value"
Here is an example showing how to define the 'Next' button behavior to do the following:
When selecting 'typical' it will select the proj_files feature and
proceed to the ReadyToInstall dialog
When selecting 'custom' it would
go to the CustomSetup dialog
When selecting the special option it
will add feature2 and remove the proj_files feature, then proceed to
the CustomSetup dialog.

Related

Add Custom action as part of the Action dropdown (AEF)

I would know how to add an Action button but did not manage to identify how to add this under the Actions menu. It is being added as a separate link button and not as part of the actions sub-menu. How can you achieve this please?
This post should help with your answer: Adding Custom Action to "Actions" Drop Down in Extension
You can add it by using AddMenuAction on your parent button (action in this example):
MyGraph.action.AddMenuAction(myCustomAction);

How to set the edit text disabled from other class

How to set the edit text of other activity to be disabled when i click specific button.
because i have 2 buttons, which will eventually go to same layout. But I want when i click the 1st button, the edit text will be disabled/read only while if I clicked the 2nd button the edit text will be enabled.
NOTE:
The thing is, when the first activity visible, second activity will be pause state. while pause state, you cannot update the UI,. so what you can do is, just pass one flag from first activity to second activity,based on the flag set the enable or disable operation on edittext.thats all.
Intent firstActivity= new Intent(FirstActivity.this,SecondActivity.class);
firstActivity.putExtra("flag","disable");
startActivity(firstActivity);
in Second Activity,onCreate() method
String flag=getIntent().getStringExtra("flag");
if(flag.equals("disable")){
edtText.setEnable(false);
}else{
edtText.setEnable(true);
}

NetSuite Renaming Action Button

Is there a way to rename the 'Receive' button on PO record? I thought this could be accomplished by customising the form > Actions > Standard Actions. It seems the action name is used and not the lable. I want action named to be changed to something like Generate Bill.
Add a User Event script to the purchase order and in beforeload event write the below code
var rcvBtn = form.getButton('receive');
rcvBtn.setLabel('Receive Custom'); //Set as "Generate Bill"
form.getButton is a method of nlobjForm and it will get the button
as nlobjButton
setLabel is a method for nlobjButton to change the
label.
Thanks
Frederick
You can Change Label from 'Customize form'
Go to
Customization >> Forms >> Transaction forms
Select 'Standard Purchase Order'
Action(Tab) >> Standard Action(Sub tab)
Just change the button Label from 'Receive' to 'Receive Custom'
select preferred checkbox and save
Check
http://awesomescreenshot.com/0ba5smd821

Hide CRM form left hand side navigation item

I have my account entity linked to a custom entity called inspections, I only want these inspections to be created for accounts of a certain type. So when it isn't that type I want the left hand navigation to this entity to be hidden away. I've seen some code that says will hide it away, as long as you have the navID of the item.
I've had a crack at hiding it using what i thought could be the ID but it hasn't worked, so I'm wondering if anyone knows how to get this ID, or if there is another way to do this?
The code I'm using to hide the navigation is below:
var navitem = Xrm.Page.ui.navigation.items.get("nav_ts_inspection");
if (navitem != null)
{
navitem.setVisible(false);
}
Load the form
Press F12 to show IE Developer's Toolbar
From here you can use CTRL+F to search for the display name of the item you'd like to hide. This will give you a link that is generated. The Id of this element is what you need to use to show/hide the link.
As an example, you can see results of searching for 'Sub Accounts' on the Account screen for an installation I am working on at the moment. The Id can be seen and is 'navSubAct'
Changes by traversing DOM and manually hide an area is not officially supported.
Luckily if you are on CRM 2011, you can go to
Settings > Customization Or open the solution.
Select the entity > Forms. Inside the Form editor window, open the Form Properties of the entity.
Go to Display Tab and untick "Show navigation items" checkbox.
Finally do not forget to Publish your changes.
Use the relationshipname to hide folder in navigation like this:
If you have folder with the relationship name: ts_inspection
Use this for ID: navts_inspection
So otherwise the same as above, but lose the extra underscore (_) between nav and ts.
var navitem = Xrm.Page.ui.navigation.items.get("navts_inspection");
If you want to hide particular navigation section from the FORM then remove all the links from that section and publish it. That section will not be visible anymore.
If you want to just remove Navigation Pane from FORM, then go to 'Display' tab of form and mark as 'Do Not Show' and then publish it.

Add radio button to existing group - MFC

I am trying to add a new radio button to an existing group box (MFC application). Already there are four buttons. I have added new radio button to this group but application is treating it as different group and does not synchronize with other buttons. I have check GROUP property which is set to false.
Any help would be appreciated...
You are correct that you need to use the 'Group' property but in conjuntion with Tab Order (from the menu) .
According to the Tab Order, the first button that has the Group property checked is deemed to be the first control in the group, the following controls are deemed to be part of the Group. A new Group is started when a control with Group checked is found.
Your new button is probably not in the right Tab Order and therefore not part of the Group.
Hope that helps
Also refer this link:
http://www.functionx.com/visualc/controls/radiobutton.htm

Resources