How to dynamically enable or disable a control's runtime shortcut menu?

Is there a way to do it?  
I need to disable a control's runtime menu while my VI is running and then enable it at other point of time.  All the way, I can make use of the default menu items (Reinitialize to default values, Copy data etc..,) for the control and I don't have any customized menu items.

GerdW wrote:
Hi Ajay,
as a quick & dirty way you could use a filter event for mouse clicks. When you want to disable the right-click menu you filter the right-click mouse events…
 Thats nice dirty idea.  But it might give my end-user an impression that my application doesn't respond to the given options.  I specifically want to greyout the right-click menu.
Thanks,
Ajay.

Similar Messages

  • How can I enable my disabled Ipod Touch 1g

    How  can I enable my disabled Ipod Touch 1g? Thank You

    iOS: Unable to update or restore - Support - Apple

  • TS1363 how do I enable my disabled ipod

    How do I enable my disabled ipod?

    I'm not sure exactly what "disabled" means, for your iPod.  However, this is a basic reset procedure for an iPod shuffle.
    http://support.apple.com/kb/HT1655
    If the problem is iTunes not seeing the iPod when connected, you should also try shutting down (powering off) your computer.  Start it up with iPod shuffle NOT connected.  Run iTunes.  Connect iPod shuffle (after doing the reset procedure).

  • How do I enable cookies in 3.6.6? Privacy menu in Tools - Options do not have Remember History and Enable Cookies and Exception button. Again, verison is 3.6.6.

    How do I enable cookies in 3.6.6? Privacy menu in Tools - Options do not have Remember History and Enable Cookies and Exception button. Again, verison is 3.6.6.

    To see all the History and Cookie options, select: Tools > Options > Privacy > History: Firefox will: "Use custom settings for history"
    See [[Options window - Privacy panel]] and [[Cookies]]

  • Selection screen dynamic enable and disable

    HI all,
    I have one requirement like
    on selection of redio button my selection screen hould be enable and disable
    Like if i select rediobutton  tfile then my selection screen block B2 should enable and Block B3 hould be disable
    If redio button selscr is selected then my block B3 should be enable and Block B2 should disable
    my selection screen code is below
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-005.
    PARAMETERS: tfile  RADIOBUTTON GROUP g1 DEFAULT 'X'.
    PARAMETERS: selscr RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
    SELECT-OPTIONS : s_matnr FOR marc-matnr,
                                 s_fkdat FOR vbrk-fkdat OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-002.
    PARAMETERS : filename TYPE rlgrap-filename.
    SELECTION-SCREEN END OF BLOCK b3.
    How to do that.
    Help me here its urgent tnx in advance.

    Hi Lalit,
    Check the below code.
    TABLES: marc, vbrk.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-005.
    PARAMETERS: tfile RADIOBUTTON GROUP g1 DEFAULT 'X' USER-COMMAND rusr.
    PARAMETERS: selscr RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
    SELECT-OPTIONS : s_matnr FOR marc-matnr  MODIF ID abc,
                     s_fkdat FOR vbrk-fkdat  MODIF ID abc.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-002.
    PARAMETERS : filename TYPE rlgrap-filename MODIF ID def.
    SELECTION-SCREEN END OF BLOCK b3.
    AT SELECTION-SCREEN OUTPUT.
    *Note: To disable the fields use the below one.
      LOOP AT SCREEN.
        IF screen-group1 = 'DEF'. "Name field
          IF selscr = 'X'.
            screen-input = 1.
          ELSE.
            screen-input = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
         IF screen-group1 = 'ABC'. "Name field
          IF selscr = 'X'.
            screen-input = 0.
          ELSE.
            screen-input = 1.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    *Note: To hide the screen use the below one.
    LOOP AT SCREEN.
       IF screen-group1 = 'DEF'. "Name field
         IF selscr = 'X'.
           screen-active = 1.
         ELSE.
          screen-active = 0.
         ENDIF.
         MODIFY SCREEN.
      ENDIF.
       IF screen-group1 = 'ABC'. "Name field
         IF  tfile = 'X'.
           screen-active = 1.
         ELSE.
          screen-active = 0.
        ENDIF.
         MODIFY SCREEN.
      ENDIF.
    ENDLOOP.

  • TS1496 how do I enable my disabled ipod

    I cant enable my disabled ipod and its hooked up to the usb on my computer

    If you mean it is disabled due to not getting the passcode correct: http://support.apple.com/kb/HT1212 and you may need to run through the procedure more than once for it to work.

  • How to call "Edit VISA resource" window from run-time shortcut menu

    Hope somebody is able to help me
    When editing my application I have "Edit VISA resource" menu item.
     You can see it on the first picture
    But when I turm on run-time shortcut menu and run the application I\d like to get same menu item directing me to VISA resource settings window.
    Is it possible or not?
    How can I call different MAX components programmatically? I can invoke MAX with ActiveX, but I can not find how can I invoke exactly "Edit VISA resource" window...
    Thanks to anybody for any help!
    Attachments:
    edit visa resource.png ‏63 KB
    no edit visa resource.png ‏60 KB

    comper wrote:
    Hope somebody is able to help me
    When editing my application I have "Edit VISA resource" menu item.
     You can see it on the first picture
    But when I turm on run-time shortcut menu and run the application I\d like to get same menu item directing me to VISA resource settings window.
    Is it possible or not?
    How can I call different MAX components programmatically? I can invoke MAX with ActiveX, but I can not find how can I invoke exactly "Edit VISA resource" window...
    Thanks to anybody for any help!
    Not sure it is a good idea to be editing VISA resources while the VI is running.  I'm not even sure it's "legal" which might explain why it isn't there.  If all you want to to is be able to change which equipment to talk to, maybe it's best to just to have a VISA resource control and have the user select from there, or maybe a ring control with pre-defined VISA resources.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Selection screen, dynamic enable and disable of blocks

    Hi,
    i have several parameters in different blocks.i want to enable one block and disable other blocks depending on the radio button selection. could some one help me on this.
    for eg.
    radiobutton1.  under this text entries for date, time etc.
    radiobutton 2. under this text entries for location from, location 2,phone etc.
    so, if i select radio button 1 all the remaining text entries under other radio buttons should be disabled. how to do this.
    your help would be appreciated.
    Thanks,
    kranthi.

    Hi Kranthi,
    I am not sure what you meant by disabling all the selection screen fields. Are you saying ALL the selection screen fields or all fields that don't belong to the selected radio-button.
    Anyway, here is a sample code how you manipulate the selection screen. The key options to use are 'modif id', 'at selection-screen output' and 'loop at screen'.
    *------------------------ Selection Screen ---------------------------*
    SELECTION-SCREEN BEGIN OF BLOCK selscr WITH FRAME TITLE text-000.
    PARAMETERS: p_rad1   RADIOBUTTON GROUP rad1 USER-COMMAND a DEFAULT 'X',
                p_rad2   RADIOBUTTON GROUP rad1,
                p_rad3   RADIOBUTTON GROUP rad1.
    *-- Selection Screen for radio button 1
    SELECTION-SCREEN BEGIN OF BLOCK rad1 WITH FRAME TITLE text-001.
    PARAMETERS:     p_date   LIKE sy-datum DEFAULT sy-datum MODIF ID one.
    SELECT-OPTIONS: s_uzeit  FOR  sy-uzeit MODIF ID one.
    SELECTION-SCREEN END OF BLOCK rad1.
    *-- Selection Screen for radio button 2
    SELECTION-SCREEN BEGIN OF BLOCK rad2 WITH FRAME TITLE text-002.
    PARAMETERS: p_werks   LIKE t001w-werks MODIF ID two.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(6) text-003 MODIF ID two.
    SELECTION-SCREEN POSITION 8.
    PARAMETERS: p_chk  AS CHECKBOX DEFAULT 'X' MODIF ID two.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK rad2.
    *-- Selection Screen for radio button 3
    SELECTION-SCREEN BEGIN OF BLOCK rad3 WITH FRAME TITLE text-004.
    PARAMETERS: p_matnr   LIKE mkal-matnr MODIF ID tri,
                p_verid LIKE mkal-verid MODIF ID tri.
    SELECTION-SCREEN END OF BLOCK rad3.
    SELECTION-SCREEN END OF BLOCK selscr.
    AT SELECTION-SCREEN OUTPUT.
      IF p_rad1 = 'X'.
        LOOP AT SCREEN.
          IF  screen-group1 = 'TWO' OR
              screen-group1 = 'TRI'.
            screen-input = 0.
            screen-invisible = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSEIF p_rad2 = 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'ONE' OR
             screen-group1 = 'TRI'.
            screen-input = 0.
            screen-invisible = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSEIF p_rad3 = 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'ONE' OR
             screen-group1 = 'TWO'.
            screen-input = 0.
            screen-invisible = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    If you want to hide all the, I mean all except the radio-buttons, then simply loop at screen and modify every entry except the radio-button entries to screen-active 0. Something like this.
    LOOP AT SCREEN.
      IF SCREEN-NAME = 'RAD1' OR
         SCREEN-NAME = 'RAD2 OR
         SCREEN-NAME = 'RAD3'.
      ELSE.
        SCREEN-ACTIVE = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    Srinivas

  • HT4137 how can i enable my disabled ipod?

    Someone gave me an ipod touch but it is disabled.  It tells me to connect to itunes but I don't know what to do once i connect if I can't sign on to the ipod. How can i get into it?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen        
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • HT4539 how do I enable my disabled ipod touch

    My I Pod touch has been disabled, how do I unlock this?

    IPhone, iPad, iPod touch: Wrong passcode results in red disabled screen

  • How do I enable or disable my touchpad?

    HELP! How to disable touchpad on satellite L305-S5970? s5 or s9 doesnt work with or without [email protected]

     
    Satellite L305-S5970
    Downloads here.
    It should be Fn+F9 on that model. See pp. 68 and 206 in the User's Guide.
       Satellite L300 Series User’s Guide
    Try reinstalling this.
       Toshiba Value Added Package for Windows Vista/7 (32)

  • How do i enable my disabled ipod touch 4th generation? ...I had just downloaded my first app when someone stole it. I asked people who might know where its at and luckily a friend was able to get it back for me. only problem was, it was disabled already!

    after all ive gone through with it in just a days time of actually being able to use, its stolen,but luckily I got it bac,\k, but then unlucky its disabled when i get it back. didnt have a computer i could downlaod itunes on and connect to my ipod via usb cable. Finally, my friend brings me her laptop computer and I download the app. yesss. then i connect ipod.  nothing happened at first. still said ipod disabled connect to itunes on display. then after i exited out of the various windows i  opened to get it to its current position. bam, out of no where it sends out a notification sound and its showing itunes logo with a usb cable beneath it arrow in midst of the two pointing to i tunes. wallah itunes shows ipod touch on left and displays downlaod process after i answered various  questions to allow it to downlaod updates and restore my ipod. . i was excited and relieved needless to say... why am I here now though, with what seems to  be the same problem. you see it downloads a part of the file then about 20 mins into it or less than 25% through, i hear a beep sound from my ipod again. no it wasn"t finished with download as i had eexpected it to say but instead it said itunes was unable to access my ipods files cause my ipod had a password protection on it and that i needed to enter that password on my ipod first in order for the itunes app be able to access it.!!!  HELLLOOOOOOOOOOOOOOOOOO ANYBODY SEE WHAT THE PROBLEM IS.  I HAVE TO  CONNECT TO  ITUNES TO  REENABLE IT BUT WHEN I DO THAT, I CAN DO IT TIL I ENTER MY PASSWORD ON IPOD FIRST , WHICH CANT ACCESS PASSWORD OVERRIDE SCREEN UNTIL ITS CONNECTED TO ITUNES.  BACK AND FORTH BACK AND FORTH. SOMEBODY PLEASE PLEASE HELP ME ASAP BEFORE MY FRIEND COMES FOR HER LAPTOP BACK.. ANY HELP WHATSOEVER PLEASE .     THANKS A BUNCH FOR AT LEAST TAKING THE TIME TO READ THIS IF NOTHING AT ALL  COMES OF IT. I APPRECIATE IT NONE THE LESS.  THANKS  
    <Email Edited By Host>

    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - For one user uninstalling/reinstalling iTunes resolved the problem
    - Try on another computer/network
    - Wait if it is an Apple problem
    pinto123 wrote:
    i did every thing you said and when i went to restore this is what happened: the ipod software update server can not be contacted. make sure your network settings are correct and your network connection is active, or try again later. what do i do to restore.     i used the last way to do it the dfu

  • How do you enable a disabled Apple ID.  I have reset password, an everything else it wanted.  Still get "Apple ID Disabled".  Why doesn't Apple address this problem?

    My Itunes and IPOD Touch are receiving error message:  "APPLE ID DISABLED"  I have reset password, and everything else they wanted me to do.  Why doesn"t Apple address this issue?  Is the a secret place to go to fix this problem?

    Have you tried here:
    Apple ID: "This Apple ID has been disabled for security reasons" alert appears
    If not successful. contact iTunes:
    Apple - Support - iTunes Store - Contact Us

  • How do i enable a disabled ipod that does not want to restore

    the ipod does not want to go into recovery mode or anything and it is disabled for at least 21,883,900 minutes. help

    Restore, if iTunes will let you.  Everything except the password will be restored.  Connect via cable to the computer that you use for sync.  Be forewarned that it takes a long time.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • HT1349 How do I uninstall or disable voice control on itouch 4th gen.

    Voice control constantly pops up when I hold the home key or if I plug amplified speakers into it and I want it gone.

    The drop down box did not give the option of ipod, It ONLY gave Ipad and iphone.
    Still hoping someone can help because there is nothing posted on the internet except third party apps.
    Losing faith in apple

Maybe you are looking for

  • Magsafe not charging, no led

    Hi, My magsave cord broke, I worked till batterie 0%. Bought a new Magsafe. But now the magsafe is not charging and the led light wont shine orange or green. I did a smc reset, a pram reset, took the batterie out and push the button till it went off.

  • Is there a way to rename multiple files in finder at the same time?

    for example, I have a group of pictures that I want to all start with the word "start" and be listed as "start1, start2, etc" Is this possible to do as a group versus having to individaully renaming every picture?

  • How to use MVC in Swing application

    Hi, I'm creating an application using Java Swing. I want to use Model View Controller (MVC) architecture to design by application. I want to use MVC to seperate by business logic functionality from the control and presentation logic that uses this lo

  • Photoshop Layers not importing

    Hi, I've had this work in the past, a few months ago, but with a new project and a new file I'm not getting any layers to show through in DVDSP 4.1.2. In the info box, it says that the file is importing as a 'QuickTime Picture' and 'Layers: 0'. In re

  • The share operation youtube has failed

    Hi. I need the help, Im not work long with final cut Pro 10.0.8 b at haw prob lem with share to dvd DL. after share its stop on 49%, and sad The share operation youtube has failed   Quick time erroe: 0 Is any one can help option how to share to DVD