Change VI position runtime

Dear All,
I couldn't find any post which talks/discuss about changing the VI Position at runtime, that's why I have posted this question.
I want to change the VI Position at runtime, but when I change the VI position at runtime, its not reflecting on the VI. When I run it again( I mean 2nd time) , VIs position got changed...
Is it possible to change / move VI position at runtime without stop the application ?
Thanks for your help!
Gramy
Solved!
Go to Solution.

You have to play with the Front Panel Windows Bounds.  It can get kind of tricky, so be careful.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
Move Window Position.png ‏23 KB

Similar Messages

  • How to change the position of a rectangle dynamically

    Hi,
    I am designing a form, where the position of a rectangle has to be changed dynamically. I'm trying with Set_Item_Property(Position property). But I'm unable to change the position. I need some information regarding this graphics object. Normally, we attach block name with the items. Then for these graphics object, what will be attached. I'm using Forms 6i version.
    Regards,
    Alok Dubey

    you can use a stacked canvas with the rectangle in it. Then you can change the position of the canvas at runtime. Problem is, that the canvas overlaps objects...

  • Changing the position of graphic item

    Hi all,
    I am using graphical items in my form canvas. I want to change the position of these items in runtime.
    can any one suggest me how to change the positions at run time.?.....
    Thanks,
    Pavan.

    Hello,
    This question has been aked so many times, and the answer is always the same : NO
    There is no available buit-in to deal with graphical objects located on the canvas. All you can do is to drop them on a small stacked-canvas, then move this stacked-canvas.
    Francois

  • Changing the Position of iview in Detailed Navigation

    Hi,
    I want to change the position of the iview in detailled navigation, Ex i have 4 iviews in detailed navigation as
    1
    2
    3
    4
    now i want to bring 4 up, in the sense between 2 & 3.
    One option is by setting the Sort Priority and i'am trying with other option on role level. I'am editing the role which has this 4 iviews assigned, right click on iview 4 and using option Move-->Up. Does this method work, please let me know.
    Regards,
    Pradeep

    Hi Pradeep,
    You can try below options -
    1) Go to content Administration. Locate your Default Framework Page assigned to your Desktop .Double click it, a new window opens on right side. Out of various iviews, Check Desktop Innerpage and select Open tab. It will display 6 iviews. From the Page Content List of the Desktop Innerpage, select the Detailed Navigation iView (com.sap.portal.detailedNavigationTree) and click Properties. In the displayed Property Editor, check, set, and change the properties of the Detailed Navigation iView, as necessary.
    2) You'll get a bak file for detailed navigation area.The par file is com.sap.portal.navigation.detailedtree.par.bak. You can get this par file from server System Admin>>Support>>Portal Runtime>>Browse deployment>>WEB-INF>>Deployment>>pcd. Import this par file into ur NWDS and edit it accordingly.
    Regards,
    Sen

  • How to Change the position of Column in ALV report

    Hi Follks,
        Is is possible to change the position of column in ALV report?.If yes then how?
        Basically my requirement is, that user want afacility where , he should be able to change the position
        of column aftre he runs the report.
        Eg: After running the report , user felt that column 5 should be at position 2 , in that case he should   
               be able to drag column 5 at position 2 and vice versa.
        Please help me, how to solve this issue.
        Note : I am using NW 7.0 SP 9
        Regards
        PG
    Edited by: PG on Apr 13, 2009 11:10 AM

    HI PG,
    do below whie filling the filed catlog
    wa_fieldcat-fieldname        = 'Field1".
    wa_fieldcat-COL_POS = '1',
    append wa_fieldcat to it_fieldcat.
    wa_fieldcat-fieldname         = 'Field2".
    wa_fieldcat-COL_POS = '2',
    wa_fieldcat-fieldname         = 'Field3".
    wa_fieldcat-COL_POS = '3',
    Thanks!

  • Is it possible to change the position of beining of text in a standard report

    Hi,
         I am wondering wether it is possible to change the position of the test (the starting point) in a standard report. I would like to print a label with different texts at different positions. If its not possible in a standard report is there any other way to do it.
    Thank you,
    Mudda.

    Hi Mudda, I don't see any way myself to set any particular starting position for your text. It looks like the best way to emulate this behavior would be to add a new line with lots of tab characters or spaces to place your new text at a specific offset from the left. You can also use Append Table to Report and wire in a 2D string array with only a few positions filled in with your various text labels as shown below. This will space text labels pretty well across the page. Try it out and see if it works for you. You could be more clever and build the 2D array programmatically if you wanted more control over position.
    Message Edited by Jarrod S. on 06-02-2006 05:37 PM
    Jarrod S.
    National Instruments
    Attachments:
    Set_Report_Position.JPG ‏69 KB

  • Change of Position in MSS with Process and Forms

    Hi,
    I'm trying to create authorizations for a change of position in Process and Forms, but every time that I choose a new position to the employee I get the error, No authorization, with this details:
    No authorization
    Message no. 5A277
    Diagnosis
    You are not authorized to perform this activity.
    System Response
    The system cancels the activity you have tried to perform.
    Procedure
    If necessary, you can maintain missing authorizations in Customizing. Please remember that both the standard authorizations and the structural authorizations are checked.
    I have managed to change the position and create positions in SAP with t-code PPOME, but in the MSS Portal it doesn't work.
    I use authorization with context ( S_ORIGINCON ) with a FM in the structural profile that returns my objects ( O, S, P ). I also have personnel planning authorization ( PLOG ) for the returned objects.
    Any help to overcome this problem will be greatly appreciated.
    Regards,
    Diogo Silva.

    Hi there,
    We stop using SAP code to manipulate the infotype 0001, and started using our own code throw generic services I guess (Not my part of the project).
    The problem was that in a change of position for a new created position or even for an existing position there was a need for access to the default position OBJID='99999999'. That's why when you give authorization for object OTYPE=' ' and OBJID = ' ' you will not get an error, because it gives authorization for all objects, witch defeats the purpose of security.
    If you debug the functions used by the portal (MSS or ESS) you will see that in some FM on the call stack there is passed a flag that controls wether or not there is a authorization check for that default position.
    Basically ww stop using the SAP code, and started calling this FM (BAPI, etc) ourselves, and them we manipulated that flag so that we could circumvent the error.
    I hope it was clear, sorry if it was not, truth be told it was a long time since I finish that project.
    If you need anymore help just let me know.
    Regards,
    Diogo Silva.

  • Changing Images at Runtime...it's sending me nuts (I'm a newbie, go easy)

    Hi all,
    I am trying change images at runtime and quite frankly it's driving me nuts. I'm pretty new to Java and don't understand some of the principles but I'm trying. I have this code below, that loads up a few images. I want to be able to change some/all of these images either on a timed even or on a button press, but all the things I've tried don't work. Can someone offer me some help....thanks in advance
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class bc extends JFrame implements ActionListener {
         public static void main(String[] args) {new bc();}
         bc() {
              //setUndecorated(true); // - this removed the titlebar!
                    setTitle("BC...");
              setSize(350,125);
              setResizable(false);
              setLocation(50,50);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              setBackground(new Color(0,0,0));
              getContentPane().setBackground(new Color(255,255,255));
              JPanel hours = new JPanel();
              hours.setLayout(new GridLayout(4,2));
              hours.add(hour14);
              hours.add(hour24);
              hours.add(hour13);
              hours.add(hour23);
              hours.add(hour12);
              hours.add(hour22);
              hours.add(hour11);
              hours.add(hour21);
              JPanel mins = new JPanel();
              mins.setLayout(new GridLayout(4,2));
              mins.add(min14);
              mins.add(min24);
              mins.add(min13);
              mins.add(min23);
              mins.add(min12);
              mins.add(min22);
              mins.add(min11);
              mins.add(min21);
              JPanel secs = new JPanel();
              secs.setLayout(new GridLayout(4,2));
              secs.add(sec14);
              secs.add(sec24);
              secs.add(sec13);
              secs.add(sec23);
              secs.add(sec12);
              secs.add(sec22);
              secs.add(sec11);
              secs.add(sec21);
              JPanel helptext = new JPanel();
              helptext.setLayout(new GridLayout(4,2));
              helptext.add(new JLabel("8"));
              helptext.add(new JLabel("4"));
              helptext.add(new JLabel("2"));
              helptext.add(new JLabel("1"));
    //add action listenters
              changeImg.addActionListener(this);
              JPanel cp = new JPanel();
              cp.setLayout(new GridLayout(1,6));
              cp.setBackground(new Color(255,255,255));
              cp.add(hours);
              cp.add(mins);
              cp.add(secs);
              cp.add(helptext);
              cp.add(changeImg);
              setContentPane(cp);
              setVisible(true);
         public void actionPerformed(ActionEvent ae) {
              hour11.PaintOff(1);
              //JOptionPane.showMessageDialog(this, "changed");
              repaint();
    JPanel hour11 = new PaintOff(0);
    JPanel hour12 = new PaintOff(0);
    JPanel hour13 = new PaintBlank();
    JPanel hour14 = new PaintBlank();
    JPanel hour21 = new PaintOff(0);
    JPanel hour22 = new PaintOff(0);
    JPanel hour23 = new PaintBlank();
    JPanel hour24 = new PaintBlank();
    JPanel min11 = new PaintOff(0);
    JPanel min12 = new PaintOff(0);
    JPanel min13 = new PaintOff(0);
    JPanel min14 = new PaintOff(0);
    JPanel min21 = new PaintOff(0);
    JPanel min22 = new PaintOff(0);
    JPanel min23 = new PaintOff(0);
    JPanel min24 = new PaintOff(0);
    JPanel sec11 = new PaintOff(0);
    JPanel sec12 = new PaintOff(0);
    JPanel sec13 = new PaintOff(0);
    JPanel sec14 = new PaintOff(0);
    JPanel sec21 = new PaintOff(0);
    JPanel sec22 = new PaintOff(0);
    JPanel sec23 = new PaintOff(0);
    JPanel sec24 = new PaintOff(0);
    JButton changeImg = new JButton("change");
    }///---------This is my PaintOff class ---------------\\\
    import javax.swing.*;
    import java.awt.*;
    import java.awt.Image.*;
    public class PaintOff extends JPanel {
    Toolkit tk = Toolkit.getDefaultToolkit();
    public Image imgOff = tk.getImage("off.jpg");
    public Image imgOn = tk.getImage("on.jpg");
    public Image paintMe = tk.getImage("off.jpg");
         PaintOff(int a) {
              if(a == 1) {
                   vOn();
              } else {
                   vOff();
         public void vOn() {
            paintMe = imgOn;
         //JOptionPane.showMessageDialog(new bc(), "shown");
         public void vOff() {
            paintMe = imgOff;
         public void paintComponent(Graphics g) {
              g.drawImage(paintMe,0,0,this);
    }PaintBlank class is not included here, it's basically just the same as PaintOff but only has one image inside.
    When I try and compile this code, I get
    C:\jdk1.4\bin\bclock>javac bc.java
    bc.java:79: cannot resolve symbol
    symbol : method PaintOff (int)
    location: class javax.swing.JPanel
    hour11.PaintOff(1);
    ^
    1 error
    I don't understand this either, I've tried replacing "PaintOff(1)" with "vOn()" but I get the same error. This is baffling to be, as I thought that the hour11 would have access to all the methods inside the PaintOff class?
    Anyway, thanks for any help you guys give me!
    Cheers
    //Chris.

    Hi!
    Your problem is that you've used a widening conversion to convert from PaintOff to a JPanel. JPanel has no such method, and so the compiler is complaining that it can't find it.
    e.g
    public class NoCompile{
         public static void main(String args[]){
              One one = new Two();
              one.methTwo();
    public class Two extends One{
         public Two(){}
         public void methTwo(){
            System.out.println("Executed 2");
    public class One{
         public One(){}
         public void meth1(){}
    } will give you the same sort of error message. To make the compiler happy, use a cast.
    Now this will compile and gives the right result.
    public class NoCompile{
         public static void main(String args[]){
              One one = new Two();
              ((Two)one).methTwo();
    }So in your case, you want to do
    ((PaintOff)hour11).vOn();
    Does that help?
    :) jen

  • Can I change the position of  change bars from left margin to right margin?

    I want to display the change bars in right page margin. If the page is odd page,The change bars position is in left page margin. If the page is even page,The change bars position is in right page margin.

    The global properties for Change bars are found in the Format > Document > Change Bars... menu option (or <esc> o b keyboard shortcut).
    The property that you need to change is Position:
    Depending upon which of the right or left margins is larger, you'll need to set this to "Side Closer to Page Edge" or "Side Farther..." to position the bars to the outside edges of the respective pages. If you have a symmetric layout, then "Closer" places on the left side (of all pages) and "Farther" places on the right.
    However, if you have multiple columns, the change bars will appear between the columns and will shift depending upon which page edge is closer, i.e. the middle columns may be left or right on any given page.

  • How to change the position of a window created in the script?

    Hello to all
    A window called from another window are the same size. How can change the position of the window relative to the caller call window?

    That is worked, but for abs.coord. How make releative coord.?
    When I include that in my script, window show without elements ! See attachments №2

  • How to change the position of label of an item to be in the rigth side?

    Hi ,
    I want to change the position of the label of an item (displayed as text field) to be in the rigth side of the text field of the item instead on the left side of the text field of the item?
    Thanks in advance
    Yoel

    Hello Yoel,
    >> I want to change the position of the label of an item (displayed as text field) to be in the rigth side of the text field of the item instead on the left
    Are you talking about a single item among others, which will be left at the left side, or are you talking about the entire page (Right-To-Left page orientation)?
    I’m afraid Leo suggestion will not help you either way. The “Horizontal / Vertical Alignment” field, in the label section of the item, pertains to the alignment within the ‘TD’ cell of the item’s label, which by default is located to the left of the item. Within this cell, you can choose several alignment options, including right and left.
    Regards,
    Arie.

  • How can we change the position of an employe in 0001

    Dear Friends,
                   I would like to change a record (either by copy/change) for infotype 0001 in order to change the position of any employee. Through PA30 when iam trying to do a copy
    i found that the position field is only non-editable mode . Could any one let me know what is the procedure if you want to change the position of the employee.
    regards
    syamla

    Hi syamla,
    To cahnge position proceed in the following way:
    Go to Pa30, select personnel number for whom u want to change position, select infotype 1 and click on "overview" icon.
    In the "List actions" screen u will find one or many actions. Now select one action (where u want to change position) and click on "Copy" icon. Now u will reach "copy actions screen", and postion is field is editable. Change position. U might get this entry deletes a record, press enter. Save ur entries and continue to org. assignment infotype. save org. assignment infotype also.
    Hope this will help u.
    Reward points if helpful
    Rajesh Panda

  • Why can't I change the position of the 'Top Collections' feature box?

    In Public Site Manager I can select or de-select and change the position (ordering) of all the feature boxes on my provider page except for 'Top Collections'. As a result of this 'Top Collections' remains fixed at the bottom of the page. I'd like to move it to the top of the page so it's the first feature box that users see. What gives?
    Options in Public Site Manager (notice there is no option to select or move 'Top Collections')
    iTunes U Provider Page (notice that 'Top Collections' is at the bottom of the page)

    Hi Julie
    Thanks for the reply.
    I can move the 'Top Downloads' box but not the 'Top Collections' box.
    I don't use the What's New feature box so unfortunately I can't comment on that. In regards to the ordering in custom feature boxes I think it's no longer possible order the items. Or rather you can order the icons in Public Site Manager but in iTunes it orders them automatically by 'Most Popular', 'Name' or 'Release Date', with Most Popular being the default option. I do have my doubts, however, about the reliability of the 'Most Popular' ordering. I know for a fact that there are many collections / downloads on my iTunes U site which are way more popular than those that iTunes deems to be the most popular.
    Regards
    Tom

  • Can I change the position of the 'x' to close tabs?

    I know it's not in preferences, but hoping there might be some sort of default I can set via command line?
    I'm using Safari 6 on Mountain Lion. All the other browsers have the close control on the right.

    At present there is no way to change the position of "X" in the tabs.
    To the best of my knowledge  there is no  "defaults write" command to enter in terminal.
    Best.

  • Can I change the position of the Get Info window?

    Can I change the position of the Get Info window?

    If you want to open the "Get Info" panel in the center of your screen, define the following Automator service and install it in the "Services" Folder of your User Library. This service will be available when you ctrl-click a file or folder in the pop-up menu and it will open the "Get Info" in the center of the screen.
    Open Automator and select New -> Service.
    Select: Service receives "files or Folders" in "Finder.app"
    Drag a "Run Apple script" action from the Actions pane -> Utilities onto the Workflow
    Paste the following script into the action, after (* Your script goes here *) and before "return input"
              tell application "Finder"
      activate
                        set {d1, d2, d3, d4} to (get bounds of window of desktop)
      open information window of item input
                        set {i1, i2, i3, i4} to (get bounds of information window 1)
                        set position of information window 1 to {d1 + (d3 - i3 + i1) / 2, d2 + (d4 - i4 + i2) / 2}
              end tell
    Save the service and name it e.g. "centeredGetInfo". It will be installed in your library -> Services.
    Now you can ctrl-click any File or Folder, and in the Services Section of the pop-up menu you will see your new service "centeredGetInfo", also in File ->Services in the Finder, when you select a Finder item.
    You can bind this service to a keyboard shortcut in the keyboard preferences and use it like the standard "Get Info"

Maybe you are looking for

  • Urgent Please help: Error Testing EJB in Universal Test Client

    Hi, I have to get this working by tommrow guys - can you please help. I wonder if someone can assist. I am new to WSAD 5.1 and am trying to test an EJB I have created with both local and remote interfaces. The bean has been created OK and ithe stub f

  • Query Builder - foreign key relationships not showing automatically

    Is it standard functionality in APEX that foreign key to primary key relationships are not shown in Query Builder when choosing related tables? Do you always have to join FKs to PKs manually (i.e. using control click) whenever you create joins in que

  • Blank space in photoshop window

    Hello, this may be obvious, but how to I use the entire height of the window to view a document?  It happens using my external monitor only, not on the laptop.

  • HT4060 Ipad Air Loooong Charging time???

    Is it normal that my ipad air takes around 12 hours to charge from 10% to 100%?

  • Full Screen View with iTunes 8.01

    since i installed iTunes 8.01 i have not been able to use the full screen viewing mode. when i click on <full screen> the monitors go black, like it always did, but the album art does not appear. any fixes out there? thanks