How to fast color the current mouse-hovered row in MultiColumnBox

Hi,
I'm trying to color in a very efficient way the current mouse-hovered row in MutliColumnBox... however, it turns out to be pretty slow...?
Any idea about how to make it (much) faster?
Find attached my current way of achieving this purpose... a bit slow and plus the ActiveCell {-2, -2} considered all the cells... including the row and column headers (how to avoid this by the way ?) (No way to avoid to repainting the headers... after all?)
EDIT: I tried to defer the visual updates on the Front Panel but no big improvements so far.
Thanks,
Ehouarn
Attachments:
Color Mouse Hovered Row in MultiColumnListBox.vi ‏12 KB

Ehouarn wrote:
however, it turns out to be pretty slow...?
Your example VI runs quite well on my computer (LV 2011, pretty old Dell laptop with an i7). I don't notice any slowness at all, even when moving the cursor up and down quickly. Maybe it's something with LV 2010 or with your computer specifically?
One possible workaround for things like this (if you can't find another solution) is not to run the update on every mouse move, but rather throttle it. There are a number of ways of doing this. One example is to move the code to the timeout case and set the timeout value through a shift register. The move event sets it to N (let's say 20) and the timeout event sets it to -1. That way, the code runs once, N ms after the last move event.
And no, -2 will always grab the headers too. Your code is the only way I know of to fix it. Maybe it will work if you hide and show the headers, but I haven't tried it and I'm guessing it won't.
Try to take over the world!

Similar Messages

  • How to find out the current number of rows in a form without navigation

    Hi.
    Is there any way to count the rows in a form (block) without navigation to the last record?
    I am modifying CUSTOM.pll and have to count the rows before user commits changes.
    All records are new in this case. Can anyone halp me? Thanks.
    Regards
    Tomáš

    Magoo wrote:
    no, such a block-property ^unfortunately^ does not exists.
    you can just go to to the block, call the last_record build-in and find out, where the cursor is.
    But with this you call restrictred procedures and their are not everywhere allowed ...
    If you execute a query on a block, may not all records getting retrieved from database.
    For this forms does not know, how many records are really in the block and
    for this there is no build-in like get_block_property ( records_count ).It does exist indeed. GET_BLOCK_PROPERTY('BLOCK',QUERY_HITS);
    Of course, this will return the number of records that would get fetched to the block (based on the where condition), but not the records with NEW status (i.e new records which are not yet committed).
    -Arun

  • How can I make the current row in a different color  in  ADF Table 10.1.3

    Hi all
    in JDeveloper 10.1.3 ADF Table ,
    How can I make the current row in a different color ?
    thanks

    And what exactly would "the component" be?
    I tried the af:outputText, but it just creates a <span> around the value of the cell, and if I try the af:column it just won't use it at all!
    Any suggestions?

  • Hello - Does anyone know how I can color the middle of a two circle Venn Diagram in InDesign CS6?

    Hello - Does anyone know how I can color the middle of a two circle Venn Diagram in InDesign CS6?

    I essentially do what Ellis recommends, although I usually use a somewhat different method:
    Draw two circles
    Copy and paste in place
    Select the topmost circles
    Use Object -> Pathfinder -> Intersect, which creates the green object in Ellis' screenshot
    Then grab the bottom-most circles and use Object -> Pathfinder -> Exclude Overlap
    Lastly, with your Exclude Overlap circles still selected, use Release Compound Paths.
    This has the same effect, but I don't love the anchor-points-and-scissors method myself. Many years ago I taught myself Illustrator with a flaky mouse on an irregular surface; it left me with a pathological hatred of tasks that require fiddly mouse-work. So I have keyboard shortcuts for all of the above, and can select all of the objects without having to very carefully mouse over a path. If you're fast with fiddly mouse-work, Ellis' method will probably work better for you than mine.

  • I want to update iCloud account with new apple id but don't know password for old apple id.  Plus can no longer receive email at old apple id.  How can I delete the current iCloud account on my iPhone if the previously stated conditions exist?

    I want to update iCloud account with new apple id but don't know password for old apple id.  Plus can no longer receive email at old apple id.  How can I delete the current iCloud account on my iPhone if the previously stated conditions exist?

    If the old ID is yours, and if it is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • How do I close the current web page in Safari?

    UPgraded to IOS 8 because a friend said it cured his problems, so I took the plunge.
    BIg mistake.
    THis question concerns Safari.
    how do I close the current web page?

    I just found how to do this on my iPad!  At the top right are two squares overlapping.  Click on that and you will get your page hanging in space.  There is an X on the top (I think) left.  Click on that and TaDa!  Lost of hoops, but glad I found it.

  • How can I return the current Date in Java?

    I am new to Java, and basically I want to know how I can return the current date as a variable, so for example, I have declared the following date variable
    private java.util.Date currentDate;How can I return the current date, do I have to write a method? To be more specific, I need to write a setMethod, that simply returns the current Date in Java.
    Please point me in the right direction.
    Thanks,

    If all you want is a date for printing or displaying, the easiest way is to use Date as shown below. If you need something more complex, look at the Calendar API.
    import java.util.Date;
    class DateEx
         public static void main(String args[])
              Date now = new Date();
              System.out.println(now);          
    }

  • How can I get the current user an  resource context  in a portal JSPDynPag

    How can I get the current user (com.sapportals.portal.security.usermanagement.IUser?)an the resource context  in a portal component (JSPDynPage)?
    Thanks.

    Hi Jon,
    Here is the code to get the current user and resource context in your JSPDynPage:
    IPortalComponentRequest  currentRequest  = (IPortalComponentRequest)pageContext.getAttribute(javax.servlet.jsp.PageContext.REQUEST);
    com.sapportals.portal.security.usermanagement.IUser contextUser = (com.sapportals.portal.security.usermanagement.IUser) currentRequest.getUser().getUser();
    ResourceContext resourceContext = new ResourceContext(contextUser);
    Greetings,
    Praveen Gudapati
    p.s. points are always welcome for helpful answers

  • How to know whether the current database is using a password file or not?

    How to know whether the current database is using a password file or not?

    The remote_password_file is the parameter that determines if you can use or not a password file. The values this parameter can have are NONE, SHARED, EXCLUSIVE. It is pretty obvious, if it is set to either SHARED or EXCLUSIVE the oracle instance has enabled the access through a password file for the SYSDBA and SYSOPER roles.
    ~ Madrid

  • How do you hold the Magic Mouse?

    I've had my Magic Mouse for about a month now and the one thing that's really got me on the verge of swapping it out is how I inadvertently move the canvas when I'm working with Photoshop, Illustrator, etc.  With standard mice you don't really have to care about the state of your index finger  after you click or how it may slightly touch the surface as you move the mouse around, but with the MM it's something to be conscious of.  When I stop to inspect the mechanics of how I use a mouse, it's amazing how often my index finger inadvertently bounces back and forth from the surface.  When I'm lifting up, setting back down, considering a click, scrolling, etc.  I'm gonna try to consciously keep my index finger down when I'm moving the mouse around in hopes that it'll stop this unwanted result.
    So how do you hold the Magic Mouse?  Is your index finger always down when you move it around?

    Good question. Seems i use the middle finger for everything except for when I need to swap desktops or do other stuff with mission control.

  • How do i get the current version of web logic server on obiee 11g

    Hey
    I am pretty new to 11g and Weblogic
    How do i get the current version of web logic server on obiee 11g(11.1.1.5), I know that it should be higher than 10.3.5.
    Thanks

    Hi,
    Obiee11.1.1.5.0/6.0 both version supporting weblogic 10.3.5.0/6.0 both are no issues.
    http://blog.whitehorses.nl/2012/02/26/a-few-quick-tips-for-upgrading-ofm-11g-to-patch-set-5/
    also refer
    http://docs.oracle.com/cd/E23943_01/bi.1111/e16452/bi_plan.htm#BABECJJH
    Thanks
    Deva

  • How do I get the current adobe reader app for my iPad?

    how do I get the current adobe reader for iOS app?

    Hi,
    Apple App Store detects the iOS version on your iPad/iPhone and lets you to download the latest compatible version of Adobe Reader for iOS.
    What is the iOS version on your iPad?

  • How do i see the current version of compiler installed in the unix machine

    how do i see the current version of compiler installed in the unix machine

    Hi
    For the compiler
    $ CC -V
    CC: Sun C++ 5.7 Patch 117830-02 2005/03/30
    or
    $ cc -C
    cc: Sun C 5.7 Patch 117836-03 2005/05/11
    For full details,
    $ version
    Machine hardware: sun4u
    OS version: 5.8
    Processor type: sparc
    Hardware: SUNW,Sun-Blade-1500
    The following components are installed on your system:
    Sun Studio 10
    Sun Studio 10 C Compiler
    Sun Studio 10 C++ Compiler
    Sun Studio 10 Tools.h++ 7.1
    Sun Studio 10 C++ Standard 64-bit Class Library
    Sun Studio 10 Garbage Collector
    Sun Studio 10 Fortran 95
    Sun Studio 10 Debugging Tools (including dbx)
    Sun Studio 10 Debugger GUI
    Sun Studio 10 Performance Analyzer (including collect, ...)
    Sun Studio 10 X-Designer
    Sun Studio 10 VIM editor
    Sun Studio 10 XEmacs editor
    Sun Studio 10 Native Connector Tool
    Sun Studio 10 LockLint
    Sun Studio 10 Building Software (including dmake)
    Sun Studio 10 Documentation Set
    version of "/nobackup/pfloyd/opt/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.7 Patch 117836-03 2005/05/11
    version of "/nobackup/pfloyd/opt/SUNWspro/bin/../prod/bin/../../bin/CC": Sun C++ 5.7 Patch 117830-02 2005/03/30
    version of "/nobackup/pfloyd/opt/SUNWspro/bin/../prod/bin/../../bin/f90": Sun Fortran 95 8.1 Patch 117834-02 2005/03/30
    version of "/nobackup/pfloyd/opt/SUNWspro/bin/../prod/bin/../../bin/dbx": Sun Dbx Debugger 7.4 117844-01 2005/03/05
    version of "/nobackup/pfloyd/opt/SUNWspro/bin/../prod/bin/../../bin/analyzer": Sun Performance Analyzer 7.4 2005/01/07
    version of "/nobackup/pfloyd/opt/SUNWspro/bin/../prod/bin/../../bin/dmake": Sun Distributed Make 7.6 117838-01 2005/03/04
    Paul

  • How i can see the Current Order documents

    Hi Gurus,
    can any body  tell me how can i see the current order number documents? in T.Code - KONK  i see that the number range status shows current order document number. but i cannt trace where it to see the document?
    also i check the Order Actual Line Item & Plan Line Item at the time message arrise that Order doesnot exit.
    but in KONK - the current number range status shows the order document number.
    pls help me to overcome the problem.
    Point will be rewarded
    Than'x
    Dhananjay

    Hi,
    you are mistaking KONK with KANK. KONK ist the number range for internal order master data (i.e. order numbers). Please check this via AUFK. Line items have nothing to do with KONK.
    Regards
    Karl

  • SapScript, How do I read the current line number?

    I have sections of text - each in it's own element with an 'include' of the standard text.
    These sections are variable in size.
    All elements are in the MAIN window.
    I do not want a paragraph to split over two pages.
    How do I read the current line number within the sapscript before the section prints so I can issue a new-page command at the beginning of the paragraph?
    Thanks!

    Yes, that does work for paragraphs.
    If I have multiple elements to print from within a loop where "at first, at each and at last" each call the Sapscript funtcion write_form - how can I keep the whole section together.  protect/endprotect will keep each element together but not the group of elements.
    There must be a way to find the current line number.

Maybe you are looking for

  • Settlement service order to CO-PA

    Dear SAP experts, In my current project, we use service order with revenue. So revenue will pe post into service order when it billed. In the end of period, we settled the service order to CO-PA. But when I settle the service order, characteristic "p

  • XP dying, going crazy, and corrupting data when network is out

    Here's my setup: Airport extreme main -> airport extreme remote -> imac intel core2duo -> parallels -> Windows XP Service pack 2 Connected to the imac is a Fax 2850 Brother. bonjour installed on XP Print sharing enabled on the same mac. When the netw

  • I have added a new field in IT0006 ,Now when try to create a new record for

    Hi Experts, I have added a new field in IT0006 ,Now when try to create a new record for a employee. 1,If I give the SUBTY in the PA30 screen getting an error "Don't Specify a subty error" if and remove the subty and press CREATE button popup's comes

  • Moving Photos in PSE6 Orgainzer

    In Potoshop Elements 6 Orgainzer, how can I reorder or move the photos within a folder?

  • Third Party Dll (WinSCP) throwing runtime error in script task

    Hi, I am trying to implement  SFTP automation in SSIS.  I used winscp assemblies to achieve this task.  During compile time, I have no errors. When i try to run it, i am getting  below runtime error (Refer image).   So i tried to install the assembly