Dynamic Indicator/Control on GUI

Is there a way to dynamically change a control or indicator on a GUI's front panel without using a Subpanel? I'm specifically thinking about an application which contains multiple hardware configurations. Each configuration is an Object-Oriented child of type "UUT" with different control/indicator configurations.
I have an example which uses sub panels, but I'm looking for something that can use the Class control directly instead of creating an additional control 
Attachments:
Dynamic GUI Example.zip ‏64 KB

Peter W wrote:
Hi Nelson,
I'm trying to understand what you are asking, do you want the control itself to change for the different hardware configurations or are you wanting to change what controls are shown, just without using subpanels?
Regards,
Peter W.
In a word, yes. More specifically, I want to be able to use the control in the Class. However I could live with creating
a type def and then have that be my class control. 
Ben wrote:
Question:
What is wrong with using a sub-panel?
i just insert a VI using methods of the class that loads a screen consitiant with itself.
Curous,
Ben
I'm not saying that there's anything necessarily wrong with that except for the added complexity. 
Have you had a chance to look at the example I created? Is that like something you do?
I think I'm coming to the realization that there may not be a perfect way to change a control on a gui without a subpanel.

Similar Messages

  • How do i drag indicator control type on WPF instead of using Drag and Drop points

    In my WPF application, i have a window which is docked with the screen. i want to automate to expand the window using an Indicator control type, by sliding it. As of now i use StartDrag and StopDrag using specific points, which is not correct when it runs
    in many other screens.
    Could you please let me know, is there way to slide the control (to set window display size to viewable) without using  drag and drop action using points.

    Hi Pavithra,
    >> As of now i use StartDrag and StopDrag using specific points, which is not correct when it runs in many other screens.
    To really understanding this issue, could you share us what you mean by ”which is not correct”? It would be much helpful if you could share us a screen shoot about your UI and your issue.
    >> Could you please let me know, is there way to slide the control (to set window display size to viewable) without using  drag and drop action using points
    Do you mean that the control of the WPF is invisible and you want to set the window display size to make it visible? If so, I think you could use the Mouse.MoveScrollWheel Method to change the windows view until the control is visible. The link below might
    be useful to you:
    # CodedUI cann't find the controls outside the screen view, Mouse.MoveScrollWheel doesn't work too
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/e1dba9ee-dc51-4160-9a1a-a2220c903db0/codedui-cannt-find-the-controls-outside-the-screen-view-mousemovescrollwheel-doesnt-work-too?forum=vstest
    If I misunderstood you, please feel free to let me know.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Bringing dynamically created controls into scope

    Normally I can bring controls into scope in a function with
    the line
    var myControl = myControl;
    where myControl is the name of the control.
    If I dynamically create controls (called say cbx1, cbx7 etc.
    where the
    numbers are all different, but not necessarily contiguous)
    and save
    their names in myArray, then myArray[0] will contain the name
    of one of
    my new controls.
    How can I bring this control into scope in my function?
    And is there a way to create, read and change variable
    variables in
    ActionScript?
    Doug

    create an array within your function that's local to your
    function, if that's what you want. what's the purpose,
    though?

  • HCM Form Dynamic UI Control change

    Hi,
    I need a solution on the dynamic UI control change in Adobe form, I am populating the backbend values in the dropdown, but the requirement is if i get only one value in the dropdown i need to show that in textfield It means that i need to change the dropdown control to textfield control based on the single value condition dynamic
    Let me know if any one have solution on this.
    Thanks
    Nag

    Hi
    Var count =  list of items in the DDL
    Var DDl = xfa.form.data.DDL (position of DDL in the form)
    Var textfield = xfa.form.data.textfield (position of textfield in teh form)
    if (count<1){
    ddl.presence = visible;
    textfield.presence = hidden;
    }else{
    ddl.presence = hidden;
    textfield.presence = visible;

  • I have a bunch of technical indicator controls that I am thinking of displaying in a popup

    I have a bunch of technical indicator controls that I am
    thinking of displaying in a popup. The only thing is I have to use
    outer document to pass lots of parameters into it from the popup,
    Is there an easier way to have these controls communicate with the
    parent application without stuffing them into the already crowded
    application space?

    "The only thing is I have to use outer document to pass lots
    of parameters into it from the popup."
    Pass lots of parameters into "what" from the popup? Into the
    technical indicator controls?
    Are you trying to figure out how these controls (located in
    the popup?) can communicate with the parent application?
    If so, you could pass the data using custom events, and
    define your custom events so the event object contains the data you
    want to pass, and have the application listen for the events.
    Or you could use a model to store the data, and the
    application accesses the model.
    Here is my Flex Cookbook entry on a simple MVC
    implementation:
    Building
    a wizard using a simplified MVC architecture

  • Can you customize an Indicator/Control shape?

    Hello everyone,
    This is a question that has puzzled me for a long time. Is it possible to make an indicator/control any shape other than a rectangle? I am well aware of creating custom controls and using .pngs as a method of making controls appear irregular shaped by using transparency, but you can still click on the transparent parts and have it register as a click on the control. I want to be able to define the actual edge of the control as something irregular. My end goal is to fit many of these controls together like a puzzle, and I don't want to be clicking on the wrong piece because the transparent corners of one control overlap the other.
    I put together an extreme example to illustrate my point.
    The image below shows the border of a custom indicator:
    If I put a blue indicator of the same type next to it you will see that the transparent border of the red shape blocks the blue shape and it is now impossible to click on the blue shape.
    What I would like to be able to do is make a border (not rectangular) that hugs the exact shape of the indicators. Like I said, this is obviously an extreme example, but hopefully you see what I'm talking about.
    I have searched around the forums and the internet for a solution and I have not found anything, leading me to believe that it might not be possible. But, as no one has actually said it's impossible, I'm still hopeful. 
    My one glimmer of hope is that some of the Boolean controls are truly round and maybe there is a way to apply this to a custom control.
    Thanks in advance,
    -Aaron

    Yes and no (very helpful, I know).
    Yes, it can be done - the graphics are drawn using both vector and bitmapped images. The vector format allows you to create shaped controls. You can see this if you customize the control and replace the image with something from the decorations palette.
    The problem, however, is that the vector format (called PICC) is proprietary. There are no tools available for editing it and, if memory serves, any vector graphic you will import from outside LV (such as EMF and WMF, which are supported) will not give you that specific behavior (although I suggest you do try it with a proper program, as opposed to PowerPoint, which is what I usually use, as it might work).
    What some people do to work around this is use a picture control to draw up the graphics, then analyze where the clicks were using a Mouse Down event and some logic. If you want to simplify your logic, let each block have a distinct color. You can then just look at the color of the pixel which was clicked and use a lookup table to determine which block has that color.
    Try to take over the world!

  • AutoScrolling of PanelLayout and setting Location of dynamically created controls

    Hi, I have a question related to setting Location of dynamically created controls when my PanelLayout is scrolled down or up.
    So basically I have wrote a code that lets me drag on control over other other and replace their's locations.
    So I wanted to add possibility for user to dynamically add new controls (every new control is suppose to be 200px below previous) - everything is fine as long as I add them from upper section of my LayoutPanel (without scrolling) but when I try to add
    them while I'm half dawn scrolled they are placed based on CURRENT left upper corner which is NOT a upper left corner of LayoutPanel therfore they are placed with wrong padding based on current scrolled position.
    So my question is how can I avoid it and always add new controls based on LayoutPanel upper left corner? (I have already tried disabling AutoScroll while adding new control and enabling it back after adding - it works but I want to find PROPER way because
    I'm sure there must be some kind of solution to it)
    Thanks in advance.

    Hi darekg11,
    >> I have a question related to setting Location of dynamically created controls when my PanelLayout is scrolled down or up
    I am wondering what the PanelLayout was, was it a “flowLayoutPanel” or “tableLayoutPanel”?
    >> basically I have wrote a code that lets me drag on control over other other and replace their's locations
    Did you mean you drag the control at runtime or at design time?
    >> how can I avoid it and always add new controls based on LayoutPanel upper left corner
    I could not reproduce your issue, and could you share us some key code or a simple demo to reproduce your issue?
    I made a research about “scrolling panel”, and I think the link below might be useful to you:
    # Scrolling Panel
    http://www.codeproject.com/Articles/226381/Scrolling-Panel
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Dynamic Access Control : Suggested Value Claim

    Currently studying for my 70-417 Exam, there's one thing i don't fully understand and can't find any resources that explain it.
    A claim type can be created, from what I understand the "suggested values" are optional, these can remain empty like for example the department resource property. 
    But why is there an suggested value option for the department? 

    Hi,
    When we create a new claim type, in the Suggested Values section, click No values are suggested.
    But search for the department attribute in the Filter box and make sure that the
    department string is highlighted in the results. Add Finance and
    HR as suggested values.
    You could refer to:
    http://www.petri.com/dynamic-access-control-dac-kerberos-claim-types-resource-properties.htm
    Step-by-Step: Protecting your information with Dynamic Access Controlhttp://blogs.technet.com/b/canitpro/archive/2013/05/07/step-by-step-protecting-your-information-with-dynamic-access-control.aspx
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to control iTV GUI from server

    I wanna develop iTV like DVB-MHP Ref-Impl at devicetop.com, but I want to control the GUI from server not build the GUI at client. it's like if we build web page database. at client side will request page to server and server send the UI+database to client. but the client side is iTV from devicetop. can I realize this???
    what web server that can make it realize??

    Well, MHP doesn't explicitly support it, but if you can implement it, then it's allowed. Implementing it is the hard part :)
    The rest of this answer assumes that you're not using DVB-HTML (fairly safe, since no available platform that I know of currently supports it). If this isn';t the case, please ignore the rest of this.
    Narakrishna, why do you want to build the GUI on the server and not the client? Given the way that MHP is designed to operate (e.g. like writing any other Java code, where the client running the app handles everything), then doing this will get extremely complex. You're assuming that a return channel exists and is always on, which will not be the case for most users. Since most of the existing MHP implementations use PSTN modems for the return channel if they have one, using an application like this could get very expensive for the user. This situation isn't likely to change in the short term.
    It could also be more computationally expensive to render a GUI built on the server than to just build the GUI on the client, since the GUI would eventually have to be converted to Java objects to be displayed. It's much easier to simply build the GUI on the client from Java objects int he first place.
    One way of doing someting similar (at the expense of object carousel size and application loading time) would be to hold the descriptions of pre-built GUI components in the oject carousel. You can then update these when you need to. There's a couple of downsides to this approach though:
    1) the GUI components are the same for every user
    2) depending on what you wanted, you'd still need to do some customisation on the client.
    3) you need some way of turning the description in to a real Java GUI component. Maybe you could serialise Java objects for your GUI and do it that way, but I'm not sure.
    On the whole, I don't think that this is the best approach to building a GUI for MHP apps due to the limitations of the platform.

  • How to create Dynamic Table Control

    Hi
    How to create Dynamic Table control , The field names and values to be displayed in table control are to be fetched from Add-on Tables.
    Regards
    Prasath

    Hi Jonathan,
    Actually the columns to be displayed are not constant . It will be increased based on the database values, Anyhow it will not exceed 100.
    Please confirm my understanding.
    1. In this case I have to create 100 custom columns and make it visible / invisible based on my requirement and I can set the title at runtime.
    2. How can i assosicate / reassociate the datadictionary reference for the columns that i use. Because I need to show the search help values for the
    dynamic columns.
    Your opinion on this will be helpful.
    Regards
    Prasath

  • Creating a dynamic sqlldr control file

    Hi,
    I am in need of creating a dynamic sqlldr control file that will check the flat file, delimiter and load the data in a table. The table is having all the columns but the flat file can vary time to time.
    looking forward for your valuable suggestions.
    Regards
    Rajib.

    You may want to post more explicit requirements if you want sample code. For example, what the file looks like, what variations are allowed, what variations are disallowed, an example control file that would be output, etc. Specifying the precise language you're using (there are many different shell scripting languages) would also help.
    In my experience, though, this sort of thing is almost always a one-off-- examples don't tend to be particularly helpful because every set of requirements tends to be very particular. If you have a full understanding of the requirements, and a decent understanding of your scripting language, I doubt it would take more than half a day to knock something together.
    Justin

  • Cant turn off dynamic range control

    i have a 40ft2u1 and i cannot for the life of me figure out how to turn off the dynamic range control ..it shows it audio set-up but it is not selectable
    any help here would be kind

    You mean VoiceOver?
    First try triple-tapping the Home button
    If not:
    Settings > General > Accessibility > VoiceOver > VoiceOver - Off
    Tap once to select an item
    Double-Tap to activate the selected item
    Swipe three fingers to scroll

  • Delivery Completion Indicator- Control?

    Hi all,
       In our organization we have defined the release strategy in such a way that, we are having 8 release codes in a release strategy,, by means of release indicator blocked and released,,,once the PO was released bythe initial hierarchy release indicator is set as blocked i.e we cant do any changes to the PO.
    Requirement is I hv created a PO for 10 quantity.
    Received only 04 quantity,,, by this time vendor told that he cant supply the balance quantity,,, so want to short close the PO. so set the delivery completion indicator during GR time,,, by which the Header status in PO was changed like this.   Ordered -10, delivered -4, still to be delivered -0.  This is what exactly we require,,, bur our end user try to do GR for the balance 6 items for the same PO,,, it has taken in even we set the delivery completion indicator,,,
    Why this indicator is not having control?system should not allow us to do further GR if this indicator is set,, even its allowing us do, how to overcome this?
    If ur suggestion is try to short close the PO by changing the ordered qty to 4,,, this is not possible in our business scenario as v r having typical release procedure as explained above. help me out
    regards,
    urendra

    Hi,
    This is a problem that is typically caused by blocking changes to an authorised PO.
    It would be better to allow certain changes and reset the release instead of completely blocking the PO for change. That way if anything that affects the release changes, it will have to be authorised again, but if something changes that is NOT part of the release check, it can be done without problem.
    That way you could set the "blocked" indicator as suggested, but if you changed the qty or price etc. the PO would have to be released again.
    One final option would be to use a user exit in MIGO that checks for the DCI  flag and prevents the GR.
    Steve B

  • Dynamic Table control header text

    Hi everyone,
    I need to change the column header texts of a table control dynamically.
    There are 32 columns in my table control. I got the information that I have to use I/O fields for every columns as the column header texts to change it dynamically.
    But it didn't work as the I/O box goes into the body of the table control instead of being placed in the header area. So I checked w/title and tried to drag and drop the I/O boxes on the header text place of table control. But it allowed only one I/O box to be there in the header area..
    Please suggest me any idea to place the 32 I/O boxes in the header area as the corresponding column headers in the table control..
    Thanks in advance,
    Sheeba.

    Resolved the issue..

  • Dynamic table control in module pool screen

    Hi  All
            I have got a requirement that in the module pool program i need to create a table control which is going to be dynamic i.e number of columns to be displayed in the screen is going to vary based on the one of the table entries. for example the requirement is as follows.
    I wanted to displaye list of bikes available in different states.
    State     Bike1    Bike2      Bike3
    AP           2             3           1
    MP            4            6            7
    Currently i have only 3 three types of bike, this may increase to 7 by next year or decrease and this functionality I require dynamically, Can you help on the same?
    Thanks
    Giri

    You can do it,
    Just try the code,...
    if you have requirement like to make changes in the same screen itself,
    then follow the same thing in PAI Module
    In PBO...
    PROCESS BEFORE OUTPUT.
    MODULE STATUS.
    LOOP WITH CONTROL TABCTRL.
    MODULE MODIFY_100.
    ENDLOOP.
    MODULE MODIFY_100 OUTPUT.
    DATA wa_tabctrl TYPE cxtab_column .
    LOOP AT TABCTRL-COLS INTO WA_TABCTRL.
          IF WA_TABCTRL-NAME =  'BIKE3'.                   
            WA_TABCTRL-SCREEN-INVISIBLE =  '1'.
            MODIFY TABCTRL-COLS FROM WA_TABCTRL.
          ENDIF.
    ENDLOOP.
    ENDMODULE.

Maybe you are looking for

  • 401:Unauthorized error while consuming a MOSS web service

    Hi, We are trying to cosume a Web Service from MOSS using Spring and Axis. The WSDL requires user name and password. We are passing the right credentials however we are getting the 401 error. The exact exception is provided below. Could any one advis

  • Grouping rows in a costs-based form for CO-PA analysis

    Hello everyone, I am designing a form for a CO-PA report and I would like to enhance a bit the layout. I would like to group some value fields with an explorer feature. Do you know how to do so? I attached an example. In my case, I would like to grou

  • "could not complete your request because the disk is full"

    I have Photoshop Elements 3 on an older desktop I use for editing photos. Yesterday, I tried to pull up a photo from my connected camera to the PE3 window and got the following error mesaage instead: "could not complete your request because the disk

  • PersonalJava in Pocket PC 2002

    Hi, Can anyone mind to tell me what are the developing tools that i need in order for me to develop an application in Pocket PC 2002? Thanks... Regard, George.

  • HT4946 PROBLEM TO UPDATE TO NEW VERSION OF IOS 5

    i would like to ask about the "where itune backup are restored on your computer". i am following the instruction under the window vista and windows 7, and the note mention that we have to press the "RETURN"key, what is the return key??