Change the type of region based on the value of the element

Hi all
Is it possible to change a type of model of a region based on the value of the page element?
For example, if I have a template type for the area has as the type of model and the region to hide/show for area B as hide/show as well.

I want that type of region B model will be replaced by a type of custom template based on the value of an element in A region.
Is this possible?

Enjoy your entries.

Thank you!

Spriya wrote:
Hi all
Is it possible to change a type of model of a region based on the value of the page element?
For example, if I have a template type for the area has as the type of model and the region to hide/show for area B as hide/show as well.

I want that type of region B model will be replaced by a type of custom template based on the value of an element in A region.
Is this possible?

N ° you either need to have 2 instances of region B, based on different models and make one of them conditionally based on the value of the area A; or to develop a unique model with a structure that is flexible enough to be used in both cases and change its appearance and behavior, for example, Exchange classes in dynamic Action.

Tags: Database

Similar Questions

  • Dynamically change the elements in a control menu ring array

    I have a table menu ring controls (32 rows, 5 columns).  When a menu choice is made in the first column of a given line, the content of the menu for the following columns (same line) ring may vary.  If this is possible, how would you do it?  Thank you.

    jschichl wrote:

    For example, if I had a ring of 1,2,3,4 menu.  I want to write a logic that says that when the 4 is selected, then ring menu in the following line replaces 5,6,7,8.

    A ring is just a number as far as LabVIEW is concerned, so the cluster underlying need only store numbers, not rings.

    In the example I posted in a thread bound, where the controls are moved on a table, you need to control a ring. Whenever you show the ring, you can assign a new set of strings and values, using the property of strings and values. You can decide what the value of the channels show based on the existing data in the cluster, which will be updated each time you change the value in a cell in the table. Who is? I don't have the time now to set up a more detailed example than what I already downloaded in other threads, and it is only a small change to it.

    Ring menu updated at the time wherever the user wants to select a value from it, not at the time the user changes the value that determines which set of menu items to display.

  • How can I change the elements of an Enum to execution?

    I have an enum that is full of items. I would like to change the labels on these elements using the runtime. When I try using the property node '[] strings' I get the following error:

    "Error 1073 in property node (arg 1).

    Possible reasons:

    LabVIEW: This property is writable only when the VI is in edit mode, or this method is available only when the VI is in edit mode.

    "Property name: [] channels."


  • Change the elements of control Enum or ring gives weird dialogue

    Whenever I did a right click on a control Enum or ring on my FP and choose Edit items... I see the following image. It's almost as if I'm missing a dll or something that shows the info to change the Page Properties dialog box elements. Any ideas?

    Hey Ben,

    I use 8.6.1.  I ended up uninstalling LV altogether and put it back.  The question went, and all is well now.  I hope he doesn't because it would be a pain to have to reinstall every time LV.

    The repair, which I mentioned earlier has not fixed the problem.

    Thank you

  • Animate the edge - how to change the size of the stage without changing the element of the scene & the size of the element?

    Hello

    I've created a demo using lively edge, the size of the demo is 1280 x 720. After that I want to change my size to 1280 x 600. But when I change dimension, the element in the file also change its dimension.

    For example - original size is 1280 x 720 & my element is rounded circle.

    When I hid it at 1280 x 600, the rounded cicle convert oval.

    but I want the same element of dimension to the stadium.

    Help, please...

    Concerning

    E. Kumar Muduli

    I'm having a hard time following your scenario...

    How you resize your internship?

    On the edge resize your stage normally does not affect the size of items on your stage.

  • change a State of buttons based on another value of buttons

    do not remember how to change a State of buttons depending on the value of another button.

    I think it was a structure of the event?

    can someone point out an example?

    Thank you

    There are several elements to your question:

    In response to a status change button: this can be done with either a structure of the event in a loop, or by querying the button in the loop. Examples are provided with LabVIEW on the use of the structures of the event.

    Changing the value of another button: this can be done with either a local variable or a "Value" property node (Cue the crowd of local variables at this stage.). Note that the lock of your button action will affect if you can do it. See this article for more information: why is my property a Boolean node a Variant?

  • What is the best way to change the elements of the array (without copies of the table)?

    Hi all

    I am new to Labview, so I'm sorry for the newbie question.

    I'm using Labview check parts in an assembly as a precursor to the test. For my 'list' I create an array of clusters, with the cluster containing a string for the part number and a Boolean value if the latter has been analyzed. I read in my parts list, and then I add on behalf of the party to each cluster in the table. I don't want to do multiple table if possible copies. The code below does not work - I've had the 'matrix' (my Checklist) outside the while loop, because I assumed that the box of items inplace should not output. The cluster created in the inplace elements is correct, but the 'picture' does not change.

    Any help woud be appreciated, I would have preferred a simpler solution elements inplace if possible (once again without making multiple copies).

    Concerning

    Ray

    You do not show the rest of the code, but I'm guessing that your "matrix" is never initialized with all values. Thus, 'replace' will not work since you can't replace an element that does not exist. If the case you are showing is supposed to be the initialization of the table (and based on what you say, it seems as if this is the case), and then abandon the inplace structure. All you need to do is automatic index of your array of strings and just do this:

  • All of a sudden when I click a Google Calendar item, I get a blank page and am unable to change the element.

    This same problem was asked months ago ( https://support.mozilla.org/en-US/questions/976863#answer-564132) and it has NOT been resolved. Turns on Google Calendar.

    I'm having this problem since the 29,0 upgrade FireFox just released (I'm on Windows 8). Really me honks, too!

    When I try to edit an event, the page never gives up and is empty. It works in Chrome, but I hate Chrome and do not wish to give up FireFox, unless no one bothers to fix this problem!

    The steps that I've taken (which did not work):

       Turned off extensions and restarted browser
       Cleared cache and cookies, then restarted browser
       Changed FF connection settings per instructions
    

    PLEASE solve this problem instead of ignore it!

    I thought about it! Apparently, YouTube automatically installed a plug-in that I knew of high definition. Once I removed it, everything works fine, including Google Calendar (and do not receive the error, either).

  • View and change the elements of the array

    Hello

    I'm using LabVIEW to read a set of parameters of an instrument and display them in a table indicator. This first part is pretty easy and works very well. I want to be able to do (so far unsuccessfully) is to change certain values directly on the table indicator and then ironing the new values on the table indicator to the LabVIEW. I would be really grateful if someone could help me understand if this is possible and how?

    Thank you very much

    Gianni

    Make the table a control and writing program with a local variable. Be aware of race conditions. For example, in this case, you have two writers: the instrument and the user, and one who writes last, wins.

  • on-line database to change the element

    Hi all

    I have a question about the database Toolbox.  How to make a particular line in a query table and change an element in the same row?  In doing so, the database table is updated.

    Yik

    You use the query to execute and make an UPDATE

    UPDATE table_name
    SET Column1 = value, column2 = value2...
    WHERE some_column = some_value

  • Script to change the element using screen orientation does not not on Dev Alpha in Portrait mode

    OK, so I wanted to update my application WebWorks Testing (https://github.com/SCrid2000/WebWorks-Testing) to make it easier to test webworks apps for the difference in screen resolution between the Alpha of Dev and the 10 next of BlackBerry.

    Basically, instead of opening your html, js and css files directly in the test application, the update would be to open your files in an iframe in the app. The iframe will resize itself based on the orientation of the device.

    The javascript function looks like this:

    function displayCurrentOrientation() {
    
        if (window.orientation === 0) {
            document.getElementById("currentOrientation").width = '1280px';
            document.getElementById("currentOrientation").height = '720px';
            return false;
        }
        if (window.orientation === 90) {
            document.getElementById("currentOrientation").width = '720px';
            document.getElementById("currentOrientation").height = '1280px';
            return false;
        }
        if (window.orientation === 180) {
            document.getElementById("currentOrientation").width = '1280px';
            document.getElementById("currentOrientation").height = '720px';
            return false;
        }
        if (window.orientation === -90) {
            document.getElementById("currentOrientation").width = '720px';
            document.getElementById("currentOrientation").height = '1280px';
            return false;
        }
    }
    

    Now it works just perfect on the PlayBook (but of course, this isn't much help for the screening of the BB10)

    However, on the Dev Alpha it ONLY works in the LANDSCAPE; in other words, if the application is launched in the landscape, the iframe rezises and everything is just perfect. If the test application is started in portrait mode, the iframe is still resized to the size of portrait.

    Anyone have any suggestions for what I'm doing wrong? I am quite at a loss here (and since this is a free application and open source, I'm not too motivated to spend another couple hours trying to fix lol).

    Thank you.

    Shane

    Nevermind, turns out it only is not yet supported by BB10.

  • The Parent page is unable to change the elements of back to back

    Hi all

    Can someone help me in this area,

    I created a modal page in apex 4.0, the problem is that I am not able to open file edit after making changes in the previous record.

    Thank you
    Pitard

    Hello

    Can clarify you your problem, it would be much better if you can put it in apex.oracle.com.

    Kind regards
    Little Foot

  • How to change the elements of the weather to the title of Assistant staff - impossible to delete or move individual locations

    There is no button "Edit" for Firefox Version 16.0 for the locations of the weather to the title of Assistant staff. Some versions had a button "Edit".
    You can drag places, but cannot delete them. Therefore, you can not move their sequence.
    In addition, no way to delete individual locations. I have a list of locations of 8 or 10 under the weather section of Assistant staff.

    Hello

    Please try here.

    Support

  • dynamically change the selection table of

    is it possible to dynamically change the table used in a select statement for an interactive report 3.2 on 11g database? I have a series of similar tables, one for each month of the year. I want to click a month on one page and to set up a table for this month report. I want to use a page for this report and have all the links from the link to the previous page on the same page, just different results based on what month has been clicked.
    I know I could just install 12 different reports and conditionally display each region based on a value passed to the page, but I prefer to create only a single page and a report on this page.

    Thanks for ideas or solutions.

    Hello:

    Because the tables involved are fixed for a given month, you can try something like

    select * from tab_1
    where :p_mth=1
    UNION
    select * from tab_2
    where :p_mth=2
    UNION
    ....
    select * from tab_12
    where :p_mth=12
    

    only the query for the IR. "P_MTH" is the page element has the value entered by the user for the months for which data should be retieved.

    CITY

  • Change the Image Source programmatically

    Hello

    I have a problem changing my source of image based on a value in a variable.

    The following function gets the shot, but I'm getting a TypeError: Error #1009: cannot access a property or method of a null object reference. error.

    I tried embedding, and the solution you see below (I've found here - as I am chaning to run time http://forums.adobe.com/message/116979#116979), but no luck

    I'm sure its how I am mapping the png, but I can't be sure... any suggestions?  I was banging my head against my desk for centuries on this!

    function (note: track proves that the value to modify the image is correct)

    public void LeversComplete (): void {}

    if (PodContentBase._ProjectDetail.getItemAt (0).) IndustryLeadingMastery is "N")

    trace ("Value" + PodContentBase._ProjectDetail.getItemAt (0).) IndustryLeadingMastery)

    imgIndustry.source = ' / assets/bigcheese.png ";

    else {imgIndustry.source = ' assets/Nocheese.png'}

    }

    Image (note - it is placed as a default - default settings and in fine)

    < mx:Image id = "imgIndustryleadingtechnicalmastery"

    source="assets/bigcheese.png"/ >

    Photo of the Directory Structure:

    path.JPG

    A few questions... The 'id' settings are different in your example.  In your actionscript code, the id is "imgIndustry" but in the mxml the id is "imgIndustryleadingtechnicalmastery".  Pass, how do you know that your image has been created yet, which is often a source of null pointer exceptions.  Whenever I think that this is a problem, I do something like that

    ... AS3...

    [Bindable] public var imageSource:Object;

    ... MXML...

    If in fact the problem is that the image is not created, it will solve it because the image will go and get its source when it is good and ready.

Maybe you are looking for