Orca and Setup Project: show checkboxes form conditionally - visual-studio-2010

I'm creating an installer for my application, using Setup Project in VS 10. The installer has a Checkboxes (A) form in it. My problem is, I want to show that form conditionally, based on one registry entry. How can I achieve this? I'm using Orca to edit my installer file, but what should I change to show this form conditionally? When I edit InstallUISequence>CustomCheckA_SetProperty_CHECKBOX1, the value of the checkbox is changed. I can't see any other property, I could edit to achieve this :(. Please help, thanks a lot! Greetings.

You need to define a registry search to see if your entry exists or not. The search name is actually an installer public property, so you can use it to set a condition.
To hide/show enable/disable controls from an MSI dialog you need to add a control condition, in Control Condition table. Make sure you define two control conditions for the same control, one to hide it if the condition is not met and one to show it when the condition is true.

Related

How to create context menus which appear on right clicking in oracle apex report?

I need to display a context menu when a user right clicks on a report
and the user can perform an action on the rows selected. How to achieve this?
I can see there is already an action button on top of an interactive report. Can we customize that?
There's no built in way to do this. I see a few options:
You could hack together your own actions. You would add a Dynamic Event on mousedown on your report, then some Javascript to handle the action.
If it doesn't have to be a right click option, you can add a custom menu to a report. Here's one way of doing it. http://hardlikesoftware.com/weblog/2015/07/13/apex-5-0-custom-menus/
Also, if using the Interactive Grid is an option, that menu can also be customized. See: http://hardlikesoftware.com/weblog/2017/01/24/how-to-hack-apex-interactive-grid-part-2/
If you're willing to use a commercial Apex add-on product, I have used the FOEX add-ons with great success. However, it's not cheap and it would require changing your report to use their report-style (which we like). Then you can add a context menu that's maintained via the Shared Components -> Lists.
https://www.foex.at/home/
I'm just a user, not a shill or employee...

Which is the most appropriate mfc control to use while creating a dialog window to modify values in a database?

I have to modify existing entries in a database. My Addition entry dialog uses edit controls in order to get values and a submit button to update in database.
I have the need to create a modify dialog that should be able to modify entries when needed by user. Is there appropriate mfc control that can be used for my task?
If you do not want to edit directly on the list control, you can use CListCtrl or CMFCListCtrl.
I think MFC does not provide a list control for editing directly. So, if you want to do it, consider using a 3rd party, like the free Ultimate Grid.

Are there any special event hooks for joomla modules

I have been searching special event hooks for use to track and update module forms. I found contenthooks on the documentation site but I couldn't get anything for modules. I want to add a plugin so that it adds an extra field viz. radio button to every module form. Finally I want to use the value of this radio field in templates/your-template/html/module.php. Can someone point me in the right direction towards this. Thanks :)
Jooma does not have event driven structure like for example .NET or Java. However if you want to trigger some additional functionality on certain event you may create a plugin. Plugin is something different than module or component but it 'collaborates' with them. It handles some per-defined events:
[http://docs.joomla.org/Plugin/Events][1]
[1]: http://docs.joomla.org/Plugin/Events and it lets you define your own.
You may also try the way I usually take which is customize module display. You simply copy
view file of the module you want to modify to your template. For example:
/modules/mod_feed/tmpl/default.php
to
/templates/{your template}/mod_feed/default.php
Now you can freely modify this file without any risk that it may be overwritten on the next Joomla update. Just don't forget to set your overwrite in module settings: go to administrator, modules, choose module to edit and in the tab 'Advanced' select 'Alternative Layout'.
I hope this helps and good luck!
Take a look at the new com_ajax that is in 3.2.

How to change InstallShield controls properties dynamically?

I have a custom dialog in my IS installer and I want to change some properties such as Height, Top etc. according to the text written in the text areas (on run-time).
Are there any InstallScript functions that handle those parameters (something like CtrlSetText for changing the text)?
Assuming you are using a Windows Installer project type, you can use temporary tables and data. If you understand the underlying table schema you can use InstallScript to write a custom action that changes this during the installation. For starters see:
Q103295 : Dynamically Add and Remove Values from a Combo Box at Run Time

Set up Enable Rule in CRM Visual Ribbon Editor

I'm using the CRM Visual Ribbon Editor to create a custom button which sends all selected emails. However, since Email is an Activity entity, other activities could be in the user's selection when pressing the button.
Is there is an enable rule that specefies that all selected items are Emails?
If so, how do I use it?
If not, could a custom rule written in JScript work?
Thanks for any help!
I had to do something like this with a custom entity of mine. I needed to enable a button based on the record status.
I think something like this will only really be possible using a custom rule written in JScript that you could use to query the records and see what type they are.
Hope this helps

Resources