PopupMenuButton: Can not Stop 'click' event

Hello Everybody,
I am working with a PopupMnuButton. The PopupMenuButton is
skined so the selected value is not visible. The menu has four
items which when clicked performs respective operations. But when
the main button of the PopupMenuButton is clicked it performs the
operation for the first menu item. I wish to stop that from
happening.
Going through the help files I found that PopupMenuButton
dispatches a click event when the main button part of the
PopupMenuButton is clicked, which further dispatches the itemClick
event for the last selected index.
Is there a way around to stop the click event from firing
when the main button is clicked?
I dont want any action to take place if the button is
clicked. The user has to select an item from the menu.
Please advise.
Regards,
Paromita

Hi Tracy,
No setting selectedIndex value to -1 did no work as
slectedIndex is a private property for PopupMenuButton so can't
access from the application. Whenever, I try clicking the button it
fires the itemClick. Even could not get the standard change event
to work....it seems that only itemClick method operates and the
click on button fires the itemclick event.
It would be great if anyone could suggest any workaround.
Thanks and Regards,
Paromita

Similar Messages

  • Can I stop the event to add an entry??

    Can I stop the event to add an entry if this entry does not comply with a condition that I make?
    I can catch th event to add an entry, but i want to stop it and i dont know how to do it?
    anyone can help me ??
    Thanks.

    Hi,
    Try the following...
    1) In the Add button click in the before action TRUE part u check the condition and validate.
    If ur condition is False..
    then Exit sub
    Else
    MsgBox("Fill the required info corectly")
    BubbleEvent = False
    I wrote this code:
                If pVal.FormType = 134 And pVal.ItemUID = "1" And pVal.EventType =   SAPbouiCOM.BoEventTypes.et_CLICK  And pVal.BeforeAction = True Then
                    Dim o As Boolean = False
                    If o = False Then
                        Exit Sub
                    Else
                    End If
                End If
    where FormType  = 134 is BusinessPartner. When add record I capture this event but  added the IC to BBDD, otherwise would have to stop using the event et_FORM_DATA_ADD??
    thanks.

  • How do I easily find a photo in events? I found it in the photo view but can not identify the event it is in.

    How do I easily find a photo in events? I found it in the photo view but can not identify the event it is in.

    Right click on the Photo and choose 'Show Event'

  • HT1657 after renting a move and starting viewing I can not stop it and come back to in within the time frame. If i stop it it goes away not able to find it. Just like I did not rent it at all.

    after renting a move and starting viewing I can not stop it and come back to in within the time frame. If i stop it it goes away not able to find it. Just like I did not rent it at all.

    Hi,
    We have rolled out a fix for this issue.
    Please log off and log back in to your machine and the issue should be resolved automatically. In case that does not work, please manually run the msi installer posted here (may require reboot).
    For details, please refer to the KB article here: Multiple RunOnce keys created 11.0.10 and 10.1.13 Acrobat | Reader
    Please let us know if you still face any issues.
    Thanks,
    Ashu Mittal

  • I can not right click "open in new tab" nor open in new window, in my bookmark file.the bookmarks are all there, but I have to open a tab first then left click to open an item. Why can't I right click? The options are there, but not highlighted/clickable.

    I can not right click "open in new tab" nor open in new window, in my bookmark file.the bookmarks are all there, but I have to open a tab first then left click to open an item. Why can't I right click? The options are there, but not highlighted/clickable.

    now it is working?! Go figure. Yeah! Thanks anyway......

  • I just updated to 9.0.1 and now I get 4 tabs opening every time. (Welcome to Firefox, Mozilla Firefox Start Page, Plugin Installed & The Personas Interactive Theme) I can not stop them from opening.

    I just updated to 9.0.1 and now I get 4 tabs opening every time. (Welcome to Firefox, Mozilla Firefox Start Page, Plugin Installed & The Personas Interactive Theme) I can not stop them from opening. Please advise.

    See these articles for some suggestions:
    *https://support.mozilla.org/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
    *https://support.mozilla.org/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    *http://kb.mozillazine.org/Preferences_not_saved

  • Can't Stop Clicking and Dragging

    My trackpad on my MBP will not stop clicking and dragging, even when I'm not clicking. Whenever I move, it thinks I'm clicking and dragging.

    I guess it did not work. It started again. If the update is responsible, I think that that update should be ignored. I don't think it is benefitting anyone at all unless you buy the new magic trackpad which is what we already have. I am going to reinstall and ignore the update for the trackpad. That is, unless apple make an update that corrects this problem. This isn't like apple to make a bad update. I wonder.

  • I can not stop or start the Database logged with sidadm

    Hello !!
    I migrated ECC6 SAP / MaxDB 7.6.00.35 Windows 2003 Server to Windows 2008 Server. But now when I perform a login with sidadm, can not stop or start the database in dbmcli.
    Just with Administrator can stop or start the database.
    Error After  db_offline :
    Err -24994, ERR_RTE: Runtime enviroment error 1, could not create comm. Shared memory [5]
    sdbverify ok :
    SAP Utilities 7.6.00.35 64 bit in d:/sapdb/
    check files... ok
    check dependencies... ok
    package data is consistent
    DB Analyzer 7.6.00.35 64 bit in d:/sapdb/pr
    check files... ok
    check dependencies... ok
    package data is consistent
    db_enum
    OK
    P01     D:\sapdb\P01\db                         7.6.00.35       fast    running
    P01     D:\sapdb\P01\db                         7.6.00.35       quick   offline
    P01     D:\sapdb\P01\db                         7.6.00.35       slow    offline
    P01     D:\sapdb\P01\db                         7.6.00.35       test    offline
    Anyone have any ideas or know of any problem with windows 2008?
    tks

    Hello,
    -> Please check, if the solution of  SAP Note No. 688028 will help you with reported issue
    -> I also recommend to update the MAXDB, the version is quite old and there many fixes done in the new release patches of 7.6.
    Regards, Natalia Khlopina

  • I can not stop the adobe asking for update.. each 5 minutes....

    I can not stop the adobe asking for update.. each 5 minutes....

    What is your operating system & version?
    What is your web browser?
    How is Adobe asking for an update; can you post a screenshot?

  • Can not stop cleanly Oracle Enterprise Manager 10g

    Hi,
    i can not stop cleanly the OEM (Oracle 10.2.0.1.0) on my Debian 3.1.
    saturn:~# su - oracle -c "/u01/app/oracle/product/10.2.0/db_1/bin/emctl stop dbconsole"
    TZ set to Europe/Berlin
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://saturn:1158/em/console/aboutApplication
    Stopping Oracle Enterprise Manager 10g Database Control ...
    --- Failed to shutdown DBConsole Gracefully ---
    failed.
    When i look into the processlist i see the running agent :-(
    oracle 25434 0.0 0.3 70188 14296 ? S Nov29 0:31 /u01/app/oracle/product/10.2.0/db_1/bin/emagent
    Any ideas to stop the OEM-Agent Console cleanly, without hard kill the process?
    Thanks!
    Blue

    I have read there is a bug in EM-Konsole, i help me with the kill commands:
    killall emagent
    killall perl
    killall java
    Sorry, thats not a fine solution, but it works.
    Blue

  • Can not stop several new tab boxes from opening,at least three each time I leave & come back to home page or restart Firefox

    can not stop several new tab boxes from opening,at least three each time I leave & come back to home page or restart Firefox

    Hi TGreybeard,
    Have you looked at the [[Firefox keeps opening many tabs or windows]] Knowledge Base article? There is some good information in there that should help you resolve the issue.
    Hopefully this helps!

  • JMF threads can not stop?

    My program is designed for two-way audio conference, but now I met a problem that there are some threads can not stop before I start some calls(maybe 100 times).How can I release this threads? please help me, thank you in advanced.
    RTPEventHandler
    JMF thread: com.sun.media.ProcessEngine@6b9fee[ com.sun.media.ProcessEngine@6b9fee ] ( configureThread)
    JMF thread: SendEventQueue: com.sun.media.processor.unknown.Handler
    JMF thread: SendEventQueue: com.sun.media.ProcessEngine
    JMF thread: com.sun.media.processor.unknown.Handler@1ca8dc7[ com.sun.media.processor.unknown.Handler@1ca8dc7 ] ( configureThread)
    JMF thread: com.sun.media.ProcessEngine@e1d29e[ com.sun.media.ProcessEngine@e1d29e ] ( configureThread)

    Hi TGreybeard,
    Have you looked at the [[Firefox keeps opening many tabs or windows]] Knowledge Base article? There is some good information in there that should help you resolve the issue.
    Hopefully this helps!

  • Iphone can not stop vibrating

    Since I missed a phone call, my phone can not stop vibrating. could anybody tell me what is this problem?

    Do the reset: hold Home button and Power button at the same time, keep holding until you see the white apple logo (takes about 15 secs).
    Let it start.
    Same problem?
    Settings/Sounds/  set "vibrate on ring" to off. Do the reset again. then turn it on again.
    Same problem?
    Up to Apple Repair.

  • I can not STOP THE MUSIC that is currently playing.

    I can not STOP THE MUSIC that is currently playing  Looking for a music app or a way to let me stop the music that is playing. I have asked this over and over all over the internet and no one has an answer. I enjoy my music for a while but when it is time to STOP THE MUSIC I have found but one way - Turn off or power down the device. This is so annoying I have stopped playing and stopped purchasing any and all music of any type. If I can not find a way to do so I will remove all music from my devices until I may hear of how to STOP THE MUSIC. I have seen it is done on Android devices but no Apple devices. If there proves to never be a way to STOP THE MUSIC I will surely sell all 5 of my iPhones, iPads and iPad Minis and finally give up on Apple ever truly caring about their users.

    Wwell, maybe it is just me. I have been using and have bought 7 Apple devices just over the past 3-5 years. Having supported, programmed, configured and taught college level courses for MS based and super computer hardware and software configurations for almost 20 years I am apparently ignorant of differential operations. Previously I had 5 choices on any hardware or software when playing anything like music, video, DVDs or anything similar. I had 'Play' 'Fast Forward' 'Fast Rewind' 'Pause'  a n d  'STOP'. Perhaps Apple has found the STOP unnecessary but I thoro enjoyed knowing whatever I was playing had STOPped and could not continue unless I chose to go back to the program or equipment and chose any of the 5 choices except STOP again since I could not STOP a STOP. As I said perhaps I need to reconsider my choices and obvious ignorance. Thanks for all the help.

  • I can not enter calendar events on my iPhone.

    I can not add calendar events to my iPhone iOS 7.0.4. I can enter the event and select "Done" but the event does not appear in my calendar. It does appear on my iPad calendar. This just startd a few days ago.

    Yes touch id worked. bud The problematisk i can not find The touch id on my setnings.

Maybe you are looking for

  • Report Wizard in 6i

    Create a report with two queries. First query has three groups, second has one that is linked to the detail of the first query. Then go into report wizard and define the report. Problem: Detail sections come out in freeform format. How do I get them

  • Dynamically assign Search Help to the field

    Hi All, I have creates one search help from se11 like zshlp. i m not assign this search help to the database field. bocz i used this search help at runtime. so how can i assign this search help during execution time of my program.  Reward for helpful

  • Mixed Data Type Table Control for Data Entry

    Hi Guys -- I'm attempting to do error-checked data entry, My data is mixed: path, boolean, and numeric.  The natural organization is an array of clusters.  For instance, the cluster element would look like "path, boolean, numeric, numeric"  and I wou

  • Inserting a hyperlink displays HTM extension

    I just noticed that when inserting a hyperlink: If the Topic List pod is set to View by File Name, the hyperlink displays the filename (with the HTM extension). If the Topic List pod is set to View by Topic Title, the hyperlink displays the topic tit

  • Center vi in a subpanel

    Hello, I would like to adjust or center my VI which is inserted in my subpanel to have a modular software. The poor is that my software will adapt automatically with my screen size. R. Kaszubiak