Jump to content

Recommended Posts

index.php?app=downloads&module=display&section=screenshot&id=243

Name: easy increment

Submitter: tylertroy

Submitted: 29 May 2014

Category: *Uncertified*

LabVIEW Version: 2012

License Type: BSD (Most common)

I have always found it frustrating that I cannot efficiently change numerical values with the mouse only. This is especially true when I'm simultaneously looking at a gauge on the other side of the room and changing values with my wireless mouse.

"easy increment" selects individual decimal place values by moving the mouse across the spacial extent of a numerical control. Mouse wheel scrolling may then be used to to modify these values.

It's easier to use than explain, I promise!

Click here to download this file

Link to comment

I like the idea of this but I think your implementation is a little flawed.

 

I noticed that when selecting the digit to edit using the mouse, that you didn't take into consideration that numbers have different widths.  You just took the total width and divided by the number or characters.  The attached code should work on all font sizes, and types to try to find the character that the mouse is over, based on the coordinates of the mouse.

 

Attached is an update that I think fixes these issues.  Admittedly I haven't tested it on a bunch of controls just the one you provided with different justifications to test they all work.

easy_inc Hooovahh Edit.zip

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.