How to avoid selection/deselection of TreeItem when changing expandedProp?

Hello,
i have an application that uses several TreeViews for Assets and Objects.
These TreeViews are working with Groups and Subgroups, Sub-Subgroups, and so on ...
My Problem is: Always when i toggle the expandedProperty of any Group, selected or not, it will change the selection in the TreeView.
If the Group was selected, it will be deselected, if it was not selected, it will be selected, clearing any other selection.
How can i prevent this?
I tried eventFiltering and Handling of the mousePressed events without any success.
Hopefully someone could help me?
Thanks in Advance!
Jewe

Hello Krishnan,
i tried to switch all object types from "not changeable" to "changeable original", but still get the popup when switching cube loading mode.
Do you know the particular object type to manage ?
Hello Vishnu,
same thing, whatever the option is (switch on / off standard) I have the transport popup.
Anyway thanks for your try.

Similar Messages

  • How to avoid the transport request popup when changing real-time load behav

    Hello experts,
    I'm often switching between the two loading mode, and I already worked in systems where I don't have the popup for transport request : (so I guess there is a possible tuning anywhere)
    How to avoid the "asking for a transport request" popup in BW when changing real-time load behaviour of an infocube
    Thanks in advance, I will save precious time
    Guillaume P.

    Hello Krishnan,
    i tried to switch all object types from "not changeable" to "changeable original", but still get the popup when switching cube loading mode.
    Do you know the particular object type to manage ?
    Hello Vishnu,
    same thing, whatever the option is (switch on / off standard) I have the transport popup.
    Anyway thanks for your try.

  • How to avoid printing a blank page when there is 'no data' in the report.

    how to avoid printing a blank page when there is 'no data' in the report.

    try like this
    if@section:IND=1
    this template
    end ifsectionbreak
    if@section:IND=2
    this template
    end if

  • How do I select the entire text when the focus is moved to one TextBox?

    How do I select the entire text when the focus is moved to one TextBox?
    There are three TextBoxes.  I use <TextBox TabIndex="1"/> to set the order they are selected.  When I enter one specific TextBox, I would like to have the entire text selected ... one key stroke removes all of the text in that TextBox.
    bhs67

    I do it the following way:
    1.  Override the OnStartup for the application.  Use the following code: (VB.NET)
    EventManager.RegisterClassHandler(GetType(TextBox), TextBox.GotFocusEvent, New RoutedEventHandler(AddressOf TextBox_GotFocus))
    2.  In the event handler use this code (again VB.NET)
    Private Sub TextBox_GotFocus(ByVal sender As Object, ByVal e As RoutedEventArgs)
    _theTextBox = CType(sender, TextBox)
    If setFocusTimer IsNot Nothing Then
    RemoveHandler setFocusTimer.Tick, AddressOf setFocusTimer_Tick
    End If
    setFocusTimer = New DispatcherTimer
    setFocusTimer.Interval = TimeSpan.FromMilliseconds(10)
    AddHandler setFocusTimer.Tick, AddressOf setFocusTimer_Tick
    setFocusTimer.Start()
    End Sub
    Private Sub setFocusTimer_Tick(ByVal sender As Object, ByVal e As System.EventArgs)
    setFocusTimer.Stop()
    _theTextBox.SelectAll()
    End Sub
    What this does is register a handler for every textbox in your application.  This will execute when the GotFocus event is raised and will allow you to do whatever (in this case select all) you want.  A great way of handling things at the application
    level.
    Lloyd Sheen

  • How to avoid shut down BPELPM Server when creating a user?

    Hi,
    How to avoid shut down BPELPM Server when creating a JAZN user and after doing changes to user-properties.xml?
    Thanks,
    Jorge

    this configuration is only supported on a midtier - there is a work around for a standalone install, nevertheless I would not recommend this for production ..
    if this is NOT a production enviroment - I can try to get you the information .
    /clemens

  • How to avoid selection-screen?

    Hi,
    i have this short report:
    TABLES: MARA.
    SELECT-OPTIONS: S_MATNR FOR MARA-MATNR.
    AT SELECTION-SCREEN.
      IF SY-BATCH = 'X'.
    * how to avoid selection screen
      ENDIF.
    START-OF-SELECTION.
      SELECT * FROM MARA WHERE MATNR IN S_MATNR.
        WRITE: / MARA-MATNR.
      ENDSELECT.
    END-OF-SELECTION.
    in batch i don't want the selection-screen. Is it possible? How can i do this?
    Thanks.
    regards, Dieter

    Dieter Gröhn wrote:
    > Hi,
    >
    > i have this short report:
    >
    >
    > TABLES: MARA.
    > SELECT-OPTIONS: S_MATNR FOR MARA-MATNR.
    > *
    > AT SELECTION-SCREEN.
    >   IF SY-BATCH = 'X'.
    > * how to avoid selection screen
    >   ENDIF.
    > *
    > ************************************************************************
    > START-OF-SELECTION.
    > *
    >   SELECT * FROM MARA WHERE MATNR IN S_MATNR.
    >     WRITE: / MARA-MATNR.
    >   ENDSELECT.
    > *
    > END-OF-SELECTION.
    >
    >
    > in batch i don't want the selection-screen. Is it possible? How can i do this?
    >
    > Thanks.
    >
    > regards, Dieter
    Please check the value of the variable sy-binpt, I believe the value of the variable sy-binpt will be set to 'X'  if the program is called from a bath input, hope this helps.

  • How to avoid select with in a loop.

    Hi friends,
    can any tell how to avoid the select with in a loop for the following code, since it badly effecting my performance. if possible with code
    SELECT matnr werks
          FROM marc
          INTO TABLE it_marc
          FOR ALL ENTRIES IN it_ausp_1
          WHERE matnr = it_ausp_1-objek AND
             werks = p_werks
            AND mmsta LE 60.
        SORT it_marc BY matnr.
        CLEAR wa_ausp_1.
        CLEAR wa_tabix.
        LOOP AT it_ausp_1 INTO wa_ausp_1.
          wa_tabix = sy-tabix.
          READ TABLE it_marc INTO wa_marc WITH
            KEY matnr = wa_ausp_1-objek
            BINARY SEARCH.
          IF sy-subrc EQ 0.
          ELSE.
            DELETE it_ausp_1 INDEX wa_tabix.
          ENDIF.
        ENDLOOP.                      " LOOP AT it_ausp_1 INTO wa_ausp_1.
        APPEND LINES OF it_ausp_1 TO it_tal.
      IF it_tal[] IS NOT INITIAL.
        LOOP AT t_plan_order INTO fs_plan_order.
          SELECT r~rsnum
                 r~rspos
                 r~matnr
                 r~nomng
                 r~meins
                 r~plnum
                 r~bdter
                 r~ewahr
                 r~alprf
                 r~posnr
                 r~baugr
                 m~dispo
              INTO TABLE t_resb
              FROM resb AS r
              INNER JOIN marc AS m
              ON rbaugr = mmatnr
             AND rwerks = mwerks
             FOR ALL ENTRIES IN it_tal
             WHERE r~rsnum = fs_plan_order-rsnum
               AND r~matnr = it_tal-objek
               AND r~xloek = ' '
               AND r~werks = p_werks.
          APPEND LINES OF t_resb TO t_tacl.
        ENDLOOP.

    SELECT r~rsnum r~rspos r~matnr  r~nomng r~meins r~plnum r~bdter r~ewahr r~alprf r~posnr r~baugr m~dispo
              INTO TABLE t_resb
              FROM resb AS r
              INNER JOIN marc AS m
             ON r~baugr = m~matnr
             AND r~werks = m~werks
             FOR ALL ENTRIES IN it_tal
             WHERE r~rsnum = fs_plan_order-rsnum
             AND r~matnr = it_tal-objek
             AND r~xloek = ' '
             AND r~werks = p_werks.
    The logic of this select is completely weird. Whcih order of the db-tables should be used, which indexes?
    On RESB matnr, werks and xloek are in one index, but rsnum not.
    Are the conditions in fs_plan_order and it_tal connected or independent?
    It is probably much faster, to leave the  fs_plan_order condition away and check it on the result.
    SELECT r~rsnum r~rspos r~matnr  r~nomng r~meins r~plnum r~bdter r~ewahr r~alprf r~posnr r~baugr m~dispo
              INTO TABLE t_resb
              FROM resb AS r
              INNER JOIN marc AS m
             ON   m~matnr  = r~baugr
             AND m~werks =  r~werks
             FOR ALL ENTRIES IN it_tal
             WHERE         AND r~matnr = it_tal-objek
             AND r~xloek = ' '
             AND r~werks = p_werks.
    sort fs_plan_order by rsnum.
    loop at it_tal in wa.
       read table fs_plan_order
              with key rsnum = wa-rsnum
              binary search.
       if sy-subrc eq 0.
         append ...
       endif.
    endloop.
    Siegfried

  • How to avoid 'select for update'

    Hi,
    we are using the bc4j framework of jdev 3.2.3. We have a View which collects data from several tables in different database schemes, so we naturally have to use the 'union clause'. But if we try to make an update on a row (via 'setAttribute'), we got a DMLException ORA-02014 telling us that we should not use 'select for update' on views whith unions.
    Since i cannot avoid using a union clause, is there a way to avoid the 'select for update' in the bc4j framework?
    Please help, its urgent!
    Thanx,
    Dietmar

    SELECT FOR UPDATE is used for our implementation or row-level locking.
    If you are using pessimistic locking mode, this will occur the first time any attribute is modified.
    If you are using optimistic locking mode, it will be deferred until post/commit time.
    If you are using "none" locking mode, it will not happen in your application may hang indefinitely if another session has locked the row.
    Are you asking how to avoid locking?
    Do you mean to be updating this view with a union over multiple databases?

  • How to avoid turning off the iPhone when its locked.

    Hiya,
    Wondering if there is any settings to avoid turing off the iPhone when its locked. When the phone is locked with passcode holding the power button on the top provides the option to turn off the phone. So is there any way to restrict it?
    Thanks,
    SaN

    No.

  • How do I output the smoothest video when changing or mixing frame rates from the original footage?

    I have been experimenting with various Media Encoder settings, and wondered if there was anything else I can try to get the smoothest video output possible, especially when changing frame rate and possibly resolution.  For clarification, let me start from the beginning and explain what I'm doing and what I've tried so far.  I'll try to be as brief as possible, but if I do go into too much detail, I apologize. 
    My original footage is AVCHD 1080p - 60fps.  (my camera only does 60fps...specifically 59.94fps)  We're not talking interlaced video here, I'm staying away from that.  This is definitely full frame, progressive video at 60 frames (not fields) per second.  My output will ultimately be for the web.  I have been keeping my output codec (H.264) and bit-rate (VBR 2-pass, relatively high-bitrate) consistent, and have been trying numerous output options and even sequence settings to see what would yield the best results.  I am using Premiere Pro CS5.5 along with Media Encoder.  Here's what I've done and the results I've observed:
    1.  I created a sequence with 1080p - 59.94fps settings to match my original footage.  I then output both 1080p and 720p versions at 59.94fps, and at 29.97fps.  The 59.94fps output files looked absolutely great, as would be expected.  Extremely smooth.  The 29.97fps output files were generally smooth, but not near as smooth as the 59.94fps.  This is expected since it's half the frame rate as my original footage.  However, my question is this:  What exactly is Media Encoder doing when "down converting" from 60p to 30p?  From a technical stand point, is it dropping every other frame?  I'm just curious to understand exactly what it does.  I tried the Frame Blending option as well, and that only yielded a bit more blur to the images which wasn't desirable for any of the output files. 
    2.  Just to see what would happen, I created a sequence with 1080p - 29.97 settings.  I then output both 1080p and 720p versions at 29.97fps.  The video was much more choppy in these cases, even with Frame Blending on.  Now, I know not matching my sequence settings with my original media isn't ideal, but I again just want to understand why this yields less smooth video than the 29.97fps options above.  Why does cutting the sequence settings frame rate in half from the original, then outputting the same frame rate as the sequence yield video that is not as smooth?
    3.  Next, I wanted to try mixing frame rates to see how Premiere and Media Encoder handled the footage and output files.  Premiere handled it great, no issues there.  However, I had some interesting things happen when I output the files.  Here's what I did:  I created a sequence with 1080p - 59.94fps to match my original footage.  Then I took the same exact footage that was in my sequence, copied it in my project panel and interpreted it at both 23.976 and 29.97 fps, yielding slow motion video.  The slow motion video looked great in Premiere, so I went ahead and just added it to my sequences, along with the original 59.94 footage.  I also created separate sequences for the 29.97 and 23.976 footage respectively, each with matching sequence settings, then added a nested sequence to another original footage sequence (with 59.94fps sequence settings) to see which yielded the best results.  Basically, I'm trying to output 59.94fps that match my original footage, but also throw in some slow motion footage at different framerates.  I'll explain my results in a moment as they are a bit convoluted, however, here is my question:  When mixing frame rates and trying to output the smoothest video, am I going about this the right way?  I would assume you would use your sequence settings that match the original footage (which is what the majority of the footage will be), then bring in a nested sequence for the slow motion (as oppose to just dropping the slow motion video directly into my main sequence), and then output to the same frame rate of the majority of the footage, in this case 59.94fps. Is there a better workflow for this?
    The results to #3 above were as follows.  Initially, it looked like it didn't matter if I nested the slow motion sequence into my main sequence, or simply dropped the actual slow motion video into my original 59.94fps sequence.  It seemed to produce smooth results either way.  Frame Blending blurred the video a bit, but didn't seem to make much difference, and quite honestly I like the footage without Frame Blending in general.  However, when I closed down Premiere, and opened the output files later (opening in Quicktime), the footage looked choppy.  In fact, it would go from choppy to smooth and back, almost like it had an irregular cadence (don't know if I'm using "cadence" in the right context here).  I would then open up Premiere again, import the output footage into my project panel, and play the footage in Premiere, and it would play back smooth again. Is this a Quicktime issue?  I was playing 1080p 59.94fps files when this happened, so maybe it's just because it's a large file.  Doesn't seem to have issues with the 720p files I created.  But it sure threw me off with my testing because I then started second guessing the settings I was using.  My iMac is the latest 2011 model with plenty of RAM, so I wouldn't think it's the computer.  Thoughts?
    4.  Next, I noticed on ALL my output files (again, using the H.264 codec from Media Encoder) that the color of my video seemed to flatten quite a bit.  It seems that the original footage has more contrast and saturation than the output files.  I figured maybe this was just how it was, but when I re-imported the output files back into Premiere, they looked IDENTICAL to the original footage.  And in Media Encoder's Source/Output windows, I don't see any difference there either. Is Quicktime again the culprit here, doing some odd things to the color of my videos?
    5.  Regarding Frame Blending, when is the best situation to enable this option in Media Encoder?  I've read it is when mixing frame rates, but I honestly didn't see too much of a change except for a bit more blur, which I didn't care for.
    6.  Lastly, my conclusion is that 60fps yields the smoothest video, which is an obvious conclusion.  However, I know that 60fps isn't the best or easiet frame rate for web delivery.  It seems 30p is more the standard.  Are there any integrated web players that would play 60fps?  Can you get 60fps video on YouTube/Vimeo?  If yes to any of these questions, can they do 720p and 1080p at 60fps? 
    Those are all my questions.  I hope I am clear enough without being overly wordy and hopefully I didn't put too many questions into one post.  Thanks in advance for any insight, I really appreciate it.

    Did you ever figure out which output worked the best? I have the same original footage; trying to determine the best output settings to make a dvd for tv.
    thanks!

  • How do I select/deselect a midi controller when 2 are plugged in?

    I am using Garageband rewired to Reason, and I'd like to record from both programs at the same time using 2 different keyboards. In Reason, I can go to the preferences and deselect one of the keyboards so it does not trigger, but there is no option I can find in Garageband to do the same to the other keyboard. Both keyboard still trigger Garageband, but only one triggers Reason. In the preferences it says there a 4 midi devices detected, but there is no drop down menu to select them. Anybody got any ideas?

    Zircon_5 wrote:
    there is no option I can find in Garageband to do the same to the other keyboard.
    there is none, GB listens to all channels

  • How to avoid duplicated customer ref. no when create new sales order?

    Hi,
    In my company, we need input customer ref. no when create a new sales order, but I found there was no any validation to avoid input a existed number.
    Can somebody show me how to add some check function on this filed?
    thanks.

    Hi,
    This can be handled in standard system.
    Go to Administration> System Initialization> Document Settings>Per Document (Tab)> Select Sales Order-->Tick Block release (When duplicated  customer reference no. occurs).
    Thanks,
    Joseph

  • How do I select the Poster Frame when exporting to video?

    PP CS6
    I cannot find how to select the frame that I want to appear as the Poster Frame in the exported video.
    I can select it I can change one by right clicking an imported video OK but not the sequence!
    I've been through every menu I can find & even Lynda.com training!
    I'm sure that there must be a way but I'm blowed if I can find it!!

    There are two common meanings for the phrase "poster frame":
    A standalone image on disk (JPG etc) which is displayed by a player before the video is loaded - commonly used by video player apps on websites (YouTube etc), InDesign and PDF files, etc. so the video asset doesn't have to be opened in order for the viewer to see what they're about to watch - although the image is normally captured from the video it doesn't have to be.
    An image resource embedded into the XMP/ID3 data of a video or audio file which can sometimes be shown in the player, but is normally set because it  appears as the thumbnail image when viewing the files in Finder or Windows Explorer. It's not part of the content stream, it's in the file header. In MP3 files it's used to store album artwork.
    You can create standalone JPEG images from PP using the camera icon below the monitor and can semi-automate the export of a still image alongside your video using presets in Adobe Media Encoder, but there's no option in PP (or via Adobe Media Encoder) to specify the embedded poster image in a rendered media file. Several third-party apps can do it, either during render (Compressor / Squeeze) or after the fact (Quicktime Pro), but support for these embedded resources depends on the wrapper for the video file.
    The ability to set a 'poster frame' in the clip bins in PP is solely there to help you organize your project assets visually - for example if the imported footage starts from black, or if you want to choose a frame where the slate is visible - but your choice has no effect on the sequences at export and isn't written back into the original footage.

  • How to avoid OCM reinstall through OPatch when using EM Harvester?

    Currently running OEM Grid Control 11g (11.1.0.1.1GC PSU) on an infrastructure repository database (11.2.0.1.2). Previously had OCM installed in every ORACLE_HOME in our environment. I removed all existing OCM installations and OCM Instrumentation in each database.
    I then installed OCM (10.3.3.2.2) into the OMS_HOME in order to begin using the EM Harvester for all configuration uploads rather than multiple OCM installs. This went fine, and I began to see targets in MOS indicating GC as the data source rather than OCM. Good so far.
    I then installed PSU 11.2.0.1.3 to the infrastructure repository database. During the patch installation, OPatch re-installed OCM into the database ORACLE_HOME without my knowledge. This caused some targets to appear in MOS with OCM as the data source again. At this point I had two sets of OCM processes running. I've confirmed that the patch caused the OCM reinstall by checking the opatch logs from $ORACLE_HOME/cfgtoollogs, where I can see the fresh OCM install occur.
    I then installed patch 9431704 to the MW_HOME/oracle_common ORACLE_HOME to resolve the 'FMW Welcome Page Application' target showing down in Grid Control issue. The patch went fine, but OPatch again reinstalled OCM, this time to MW_HOME/oracle_common and MW_HOME/utils. So at this point I had four sets of OCM processes running, which caused many duplicate targets to appear in MOS, again with OCM as the data source. Confirmed yet again that the OPatch session led to the new OCM installs by reviewing the logs.
    I would like to exclusively use the EM Harvester to upload configuration details to MOS. Per the whitepaper in note 848962.1, "The only prerequisites for using an EMGC system to collect and upload configuration data to Oracle Support are that the EMGC OMS must be at least version 10.2.0.5, and there must be an OCM instance configured (and running in connected mode) in the Oracle Home of the OMS."
    So this leads to my question. How can I continue to patch OMS, the repository database, and the target databases, while preventing OPatch from reinstalling OCM in every ORACLE_HOME it finds?
    I understand that whitepaper's comment to mean that I only require OCM in the OMS_HOME and it should not run out of any other ORACLE_HOMEs in our environment. Should I simply allow OPatch to install OCM anywhere it wants, then pause them by running '$ORACLE_HOME/ccr/bin/emCCR hold'? Is there a flag I can include when running 'opatch apply' to tell it skip OCM installation?

    Thanks EricvdS, I think that will work. I plan to try it with my next PSU patch. It's not exactly what I wanted, since I'd prefer to avoid having OPatch installed at all (and thus have no ORACLE_OCM user and no OCM instrumentation in the database), and I believe the initial OPatch install will submit OCM data to MOS even before pausing it and setting it to disconnected mode, and I'd like to avoid that too.
    I also have the feeling that I may be able to skip the OPatch install by not providing my email address and MOS password or CSI number when applying patches. I'll try that too.

  • How to avoid the windows "dialog box" when we use flexprintjob class

    in the print segment
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf65381-7ffc.html
    it says
       printJob.start();
    This causes the operating system to display a Print dialog box.
    this  windows "dialog box" which is used to set the page size, page index, or some other page settings.
    but in my case , i can't let user see this dialog box.
        how can i avoid this "dialog box" when i call   printJob.start();
    it is my big issue ,please help to give a suggestion

      hi   how can i set the "ie" "internet explorer"  to avoid the "dialog box."  if i have to do it .
    thank you very much !

Maybe you are looking for