Disabling and or hiding controls based on the value of a popup

How should I do for this? I have defined indicators for the param popup to PF_ParamFlag_SUPERVISE as follows

def. Flags = PF_ParamFlag_SUPERVISE;

() PF_ADD_POPUP

'Mode',

6,

1,

"Option 1 | Option 2 |... »,

POPUP_MODE_ID

);

And I am typing the command PF_Cmd_USER_CHANGED_PARAM as follows

case PF_Cmd_USER_CHANGED_PARAM:

ERR (UserChangedParam (in_data, out_data, params, output, reinterpret_cast < PF_UserChangedParamExtra * > (additional)); )

break;

...

static (PF_Err UserChangedParam)

PF_InData * in_data,

PF_OutData * out_data,.

PF_ParamDef * params [],.

PF_LayerDef * outputP,.

PF_UserChangedParamExtra * additional)

{

PF_Err err = PF_Err_NONE;

If (extra-> param_index == POPUP_MODE_ID)

{

If (params [POPUP_MODE_ID]-> u.cd.value == 2)

{

Code to activate and display controls

}

on the other

{

COSE to disable or hide controls

}

}

return err;

}

I'm doing all right so far? What is the code that I put in the "if (params [POPUP_MODE_ID]-> u.cd.value == 2)" block to turn off a setting? What a difference the code would be to hide the parameter completely? Can I hid the subjects just like I can hide the parameters? I'd have a use for all three things, I just can't understand how do.

Hmmm...

everything seems ok...

a number of things:

1. use a NULL value instead of globP-> my_id

2. who owns & meH? how it was created?

3. making the previous calls to suites in the same scope work? (i.e. is this specific line, or is it just the first to be called)

Tags: After Effects

Similar Questions

  • How to disable a user interface messageCheckBox based on the value of the parameter system?

    Hello

    I implement a messageCheckBox on the UI, and I need, it is not not editable if a system parameter was set to Yes and editable if the defined system parameter or not. Is this feasible? The syntax to use? I think to put it in the field 'Disabled' for the checkBox control.

    Very much appreciate your comments.

    Thank you!

    Hi Michelle,

    What you mean by system setting. If is the value of say certain attribute VO should first read the value of the attribute of the VO.

    and create a transitional attribute in the same VO and set the property accordingly.

    The syntax is ${oa. VewInstanceName.ViewAttributeName}

    Thank you
    -Anil

  • Is there a way to child entities of control based on the values of list drop down Parent entity on the screen of the user interface

    Hi team,

    Need your inputs / help on the scenario below.

    I created the interested part called parent entity (created attributes stakeholder list dropdown attribute with values 'Individual' and 'Organization' and a few other attributes on this entity).

    Child entities created called 'the individual' and 'organization' and created interview screens as below.

    1 entity parent on a single screen (interested party)

    2. child entity on a single screen (the individual)

    3. the entity child another (the Organization) on another screen and created vibility rules like this and applied at the level of the screen.

    Individual information should be displayed, if

    for each all instances of the interested party , the interested party is individual

    Organization identity information should be displayed if

    for each all instances of the interested party , the Type of party's organization

    I created 2 instances. We're interested type as an "individual" and other is by "organization". But as soon as I click on the next button, it doesn't show any entity child screen because it is directly go to another screen.

    If I create instances with the same type, he has been creating the filter based on the type. Please let me know if there is any change to the rules of visibility.

    Thank you

    Viv

    I created as below and the problem is solved without the help of the functions of the entity.

    Individual information should be displayed, if

    the interested party Type = 'individual '.

    Organization identity information should be displayed if

    the party interested in Type = "organization".

    Thank you

    Vivek

  • Toggle controls simple form based on the value of an element

    Is it possible to toggle the controls on simple form based on the value of an element?

    for example, if P21_stat = 1 5 controls behave as type "View as text (saves the State)", otherwise they must be of type "text field"?

    No work around if not?

    Hi Alex,

    Look at the definition of the article page, you will find a 'readonly' section where you can specify a condition that this point should be readonly (in all other cases, it is a normal entry point).

    brgds,
    Peter

    -----
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at

  • How to disable a page based on the value of another element on the Page element?

    Hello

    How can I turn a page element using javascript based on the value of another element on the page?

    Eg: P1_TEXT want to be disabled if the value in P1_LCOK = "LOCK".

    How can I do this using javascript. I want this implemt on loading the page.

    Kind regards
    Benz

    Put this function in the page header:

    
    

    and call it in the footer:

    f_disable_item;
    

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • How can I change the default Google search engine in Firefox 8 Google.com to google.co.uk? Yes, I live in France with a French ISP, but English is my mother tongue and I want responses based in the United Kingdom.

    How can I change the default Google search engine in Firefox 8 Google.com to google.co.uk? Yes, I live in France with a French ISP, but English is my mother tongue and I want responses based in the United Kingdom.

    I use XP Pro.

    You can find on the site of Mycroft Project search engines.

  • Webcam Live Mail 2011 slide show: the slide show can be disabled and allow me to view attachments the old-fashioned way?

    I don't like the slide show feature.  I'd rather see my attachments separately as before.

    The slide show can be disabled and allow me to view attachments the old-fashioned way?

    @Paul7177

    Windows Live Mail 2011 doesn't have an option to turn off the slide show mode (it is part of the program).

    You can click on the image to see (which will open in whatever program is associated with that type of file images) or save (or all of them) and open later in a program of your choice.

    .. .Winston
    MSFT MVP Mail

  • Compare multiple columns and update a column based on the comparison

    Hi all

    I have to update the column STATUS of the slot structure of the table.

    Status should be 'P' if all the columns count are equal on the other should be "F".

    The value of the column can be "NA'. If the value is NA, then avoid this comparison column; compare only other 3 columns.

    My output should look like below.

    State of cnt1, cnt2 cnt3 ID cnt4

    1   4       4       4     4       P

    2   4       5       4     4       F

    3 4 4 NA 4 P

    NA 4 4 3 4

    I tried with the statemnt with BOX WHEN conditions and DECODE UPDATE, but could not succeed, can someone please help

    To do this, if you use my statement in response #11 box (Re: Re: comparison of multi-column and update a column based on the comparison of)

  • Element of change based on the value in LOV

    I'm trying to disable the item (text box), based on the value of the LOV. And it doesn't seem to work.

    Is it possible to see what is happening in the level of the events? The LOV is perhaps not "changing" ing?

    Dynamically change the item values

    Patrick Wolf-Oracle responded to the question - get the firebug.

    Looking at the console I discovered that the returned of LOV value includes spaces. Resolved issues.

  • How to navigate to the next page based on the value returned by the method call inside the action attribute of the command key.

    How to navigate to the next page based on the value returned by the method call inside the action attribute of the command key.

    I use JDeveloper 12.1.2.0.0

    < af:button id = "tt_b2".

    rendered = "#{attrs.nextRendered} '"

    partialSubmit = 'true '.

    action = "#{attrs.backingBean.nextAction} '"

    Text = "next".

    Disabled = "#{attrs.nextDisabled}" / >

    private static final String NEXT_NAVIGATION_ACTION = "controllerContext.currentViewPort.taskFlowContext.trainModel.getNext";

    public String nextAction() {}

    If (validate()) {}

    updateModel();

    Return NEXT_NAVIGATION_ACTION;

    }

    Returns a null value.

    }

    Use case is made for model train, which is being implemented based on this blog: http://javacollectibles.blogspot.co.UK/2014/10/ADF-train-template.html

    We define a generic action following in the model, but the action must be called under certain conditions, based on the question of whether all validation controls had been passed on no.

    You can do this in two ways:

    1 returnValue = (String) ADFUtils.invokeEL("#{controllerContext.currentViewPort.taskFlowContext.trainModel.getNext}");

    return returnValue;

    2.

    public String getNextTrainStop() {}

    String nextStopAction = null;

    ControllerContext controllerContext = ControllerContext.getInstance ();

    ViewPortContext currentViewPortCtx = controllerContext.getCurrentViewPort ();

    TaskFlowContext taskFlowCtx = currentViewPortCtx.getTaskFlowContext ();

    TaskFlowTrainModel taskFlowTrainModel = taskFlowCtx.getTaskFlowTrainModel ();

    TaskFlowTrainStopModel currentStop = taskFlowTrainModel.getCurrentStop ();

    Terminus of TaskFlowTrainStopModel = taskFlowTrainModel.getNextStop (currentStop);

    nextStopAction = nextStop.getOutcome ();

    _logger.fine ("train, next stop:"+ nextStopAction ");

    Return nextStopAction;

    }

  • How to create table selectable line or not based on the value of the line

    Hello.

    JDeveloper 11.1.1.2

    Is it possible to make a selectable table row or not based on a value in the line.

    That is to say. lets say that the row contains a Boolean LOCKED = TRUE.
    This line should not be selectable.

    A line whose value LOCKED = FALSE should be selectable.

    / Erik

    Erik,

    No particular reason to disable a selection of lines for a particular line? If I'm an end user, I would be clicking on the same line of thought again and again my mouse does not ;) (call me dumb :)). How do you differentiate this line (using inlineStyle / styleClass) based on the value of line? In addition, you can disable the other buttons when a row with a particular value is selected (so that the user knows that the selected line is not treatable).

    Arun-

  • How to render components based on the value selected in a list of values

    Hello
    I created a form of the ADF. I have a drop down that is a list of values. I want to toggle certain fields based on the values selected in the menu drop-down. Could you please let me know how to do it in the ADF?

    Kind regards
    Murielle

    Hello

    It should work. It is important to note that in case you use a component selectOneChoice for category then the value returned by #{bindings. Category.inputValue}
    is the index of the selected value in the list and not the value auto. To get the value, you must use ' #{bindings. " Category.attributeValue}"in the disabled state.

    If the problem is no display of code in your page to take a look.

    Gabriel.

  • Display a series of images on the stage based on the value of a variable

    Hi all

    Here's another interesting problem! Well, I have an interactive retention test which is charge of an xml file based on the value of a variable scenario (for example, if script = Architecture, then load Q_set 1, if scenario = history then load something else). Now, I would like to extent this and display a series of images on my stage which will be valid only in the current scenario. Here is my code so far. I thought load a list of images on the beginning of the film (for example, Architecture_list, History_list) and then call them according to the value of the variable of scenario, but I would like to hear what you have to say. Any ideas?

    The answer is a series of managers: one called at the beginning of the movie to fill the lists of the appropriate folders (based on the value of the variable gimage) and the other called next and previous. Here they are in case yu need:

    ---------
    Global gFileList, gImagePath, gimages

    on buildList

    gFileList =]

    -defining the path to images:

    gImagePath = "@images /" & gimages & ' / ' "»

    Repeat with i = 1 to the maxinteger
    thisFile = getNthFileNameInFolder (gImagePath, i)
    If thisFile = EMPTY then exit
    If thisFile = the movie then the next repetition
    types of files = [".pct", ".jpg", ".bmp", ".gif"]
    howManyTypes = count (fileTypes)
    Repeat with thisType = 1 to howManyTypes
    extension = getAt (file types, if thisType)
    If thisFile contains extension then
    gFileList.append (thisFile)
    end if
    end repeat
    end repeat

    Member ("Display"). FileName = gImagePath & gFileList [1] - put the first image in the folder at the appropriate place

    Member ("Display"). Picture = .photo member ("display")

    buildList end

    --------------------
    Global gFileList, gFileIndex, gImagePath

    on nextFile

    gFileIndex = gFileIndex + 1

    If gFileIndex > count (gFileList) then

    whichFile = gFileList [1] - set the image = in the last loaded picture holder
    gFileIndex = 1 - the value of the index to the last trick question

    Member ("Display"). FileName = gImagePath & whichFile
    Member ("Display"). Picture = .photo member ("display")
    updateStage

    -go to the audio issues

    _movie. GB (31)

    on the other

    whichFile = gFileList.getAt (gFileIndex)

    Member ("Display"). FileName = gImagePath & whichFile

    Member ("Display"). Picture = .photo member ("display")

    updateStage
    end if

    end

    Global gFileList, gFileIndex, gImagePath
    -----------------------------------------------------------
    the backfile

    gFileIndex = gFileIndex - 1

    If gFileIndex = 1 then

    whichFile = gFileList [1]
    Member ("Display"). FileName = gImagePath & whichFile
    Member ("Display"). Picture = .photo member ("display")
    updateStage
    Sprite (17) TRUE = FALSE - disable the "back" button

    -gFileIndex = count (gFileList)
    end if

    If gFileIndex > 1 then

    whichFile = gFileList.getAt (gFileIndex)

    Member ("Display"). FileName = gImagePath & whichFile
    Member ("Display"). Picture = .photo member ("display")
    updateStage
    end if
    end

  • Is there an easy way to filter a 2D table based on the values in two fields?

    Y at - it an easy way to filter a 2D table based on the values of one of the fields. In my attached VI the output array has the following format:

    Ident Frame Type bytes TimeStamp data

    10:57:07.621 3AD00016 POUVEZ 8 0000000000000000 data frame

    10:57:07.622 3AD00017 CAN data frame 8 000005E000000000

    10:57:07.624 3AD00018 POUVEZ 8 0000000003300000 data frame

    10:57:07.625 2DC00000 POUVEZ 8 0000000000000000 data frame

    10:57:07.626 3AD00019 POUVEZ 4 0000030000000000 data frame

    I would like to delete all lines that do not have an "Ident" between the values of 3AD00000 and 3AD0001E. So for the data above the fourth row would be removed. The only way I can see to do this is to form a 1 d table. Is there a better approach?

    Thank you.

    Hi chuck72352,

    After you've sorted your data, you can use the function InRange. Combined with a "search in 1 table D", you get the range you really want.

    Mike

  • Canoe open attachment how to "link control panel Association the value of Set?

    Canoe open attachment how to "link control panel Association the value of Set?

    Hello

    something, you should also know, is that you need the program installed on your computer where the attachment file extension refers too

    and read this to set the file association

    How do I... Change file extension associations in Windows Vista?

    http://www.TechRepublic.com/article/How-do-i-change-file-extension-associations-in-Windows-Vista/6172036

Maybe you are looking for

  • How can I see my modules in the Manager?

    When I pull up to my "extensions" tab in the Add-ons Manager is empty. It will not charge one of my extensions to manage or be able to remove them. How to solve this problem?

  • HP Pavilion P289SA: Unknown devices

    Hello I have a HP Pavilion P289SA laptop and I installed Windows 7 sp1 with no problems, but I still 2 yellow warnings in Device Manager. Both are unknown devices and hardware IDS are as follows: ACPI\SMB0001 * SMB0001 And ACPI\HPQ6007 * HPQ6007 I in

  • Skype crashes, please help

    (since 2 days. There is nothing extraordinary. only install programs or updates.) everytime I open Skype. I see the loading/login screen. After the screen. nothing appears more. (the startup sound is cut too.) Sometimes, when I open it, I can use 1 s

  • X 360 spectrum: spectrum x 360 technical Question

    Hello. I plan to buy a new laptop and found that the spectrum series x 360 looks attractive.  A decision, however, I would like to know some characteristics of products not appearing only on the specifications page. 1 how many locations does HDD/SSD

  • HP deskjet 2542: misreading of the ink levels

    Please explain how I had no color, 2 weeks ago... I replaced the color cartridge... almost no black... has the expectation of the cartridge... When I got an error ink level today--miraculously, the black filled itself and the color is almost gone aga