I want to make a display using vertical pointer slide, is there a way to make the digital display to move with the pointer?
As seen in the picture, A will slide up and down when the value changes, I want B to move with A when A slides.
Thanks!
Screenshot (not snipplet!)
Actual for LabView versions from 8.6 to 2012. Probably in newer versions that's can be made easier.
And yes, there is lack of checks to a negative ranges of slider values.
AdvMoving.vi (LV 8.6 - 2012)
Related
EDIT: I realized that I didn't tag this properly - I should have included vb.net as a tag, on the grounds that there could be a code based solution. Note, that no changes to the resolution are made in my source code.
UPDATE: When the program starts execution, the left coordinate for each PictureBox is multiplied by ~0.376, whilst the top coordinate for each PictureBox.Top is multiplied by ~0.418 . This "down-scaling" applies to all picture boxes. The source code I have is incredibly rudimentary and cannot be responsible for this. I also looked at another project and I still face the same error. A simple but poor fix would be to divide each coordinate by the corresponding values mentioned above.
In order to show you the issue I'm facing, please look at the images below. Compare this image, where each PictureBox (i.e. a snake, set of arrows, etc.) has been placed so that they line up with a feature of the background image:
To this image, where the PictureBox elements are bunched together. Their positions have been "down-scaled" closer to the origin of the form (note that all the elements are transforming horizontally during runtime, which is why the elements are in the top right corner):
In the solution I was given (developed in VS 2010 I believe), the position of each PictureBox goes beyond the background image as shown:
It is clear that each picture box has been placed in an organized fashion. During execution, each PictureBox goes to it's intended position (i.e. lines up appropriately with the background image).
Obviously, the original developer of the solution I was given would have not faced the problem I am. The fact that the solution works properly during runtime indicates some kind of error with my instance(s) of VB. Does anyone know of any solutions?
I've came across this question which asks how to change the default resolution for a Windows 8 App and this question which asks why some applications appear differently on different machines, but they pose no clear solutions. I would appreciate any help, since it's holding me back from critical work I must do. Thank you in advance!
I feel a little silly now - I started carrying out a bit more research on VB forms and came came across this Microsoft documentation on form scaling. Realizing that my issue may have been caused by having this scaling automatically carried out, I then found the AutoScaleMode property of my form and changed it from Font to None, which resolved my problem.
I want to know based on kinect for windows SDK 1.7, which have grab function under the InteractionFrame.
Is it possible to only use one hand only eg: right hand only grab?
I had try to make it only 1 hand detect (right hand), but it seems that there is some sort of ghost mouse when i move my left hand.
this is what i had tried:
playerInfo.HandPointers[1].HandEventType == InteractionHandEventType.Grip
but stil there is another pointer merely visible.
thank you very much.
Tlga, I am having major problems setting up the interaction events in my program. Is there anyway you could help me since it seems as though you already have these in place.
I am about to pull my hair out
Ben
Chefbennyj at gmail dot com
I'm trying to get wxCheckBox to have sensitive label like it is in some other toolkit's.
It is often too delicate to aim on little box so whole area with label would be much convenient way to change a state.
But I can't find a way to do it.
Any help would be appreciate.
wxWidgets 2.8, Ubuntu 10.04
I can confirm this is a bug in wxWidgets GTK for wxALIGN_RIGHT check-boxes. If we take a quick look at the source code for the wxCheckBox we can see that right aligned controls are created as two seperate parts, a label and a check box and that the label is never connected to to respond to click events. If you create a ticket on the wxWidgets bug tracker then I am sure someone will fix it.
For months now, I have been trying to solve a problem regarding rendering images properly onto Aero glass. From what I have gathered so far, to do this you need to render the graphics object as a bitmap, because the Aero requires an alpha channel. To be more specific, what I am trying to do is make a perfect, non-flicker text box ( and other controls). I do not want to fall back to rendering part of the form aero, as I may want more than one text box. Also, the DrawToBitmap function works, but is far too slow, which is why I want to accomplish this with BitBlt.
What I have right now, is the Graphics control of a TextBox, stored as a IntPtr. How do I take this graphics control, load it into a Bitmap, and draw that Bitmap with BitBlt? (or as the link suggests, fixing the alpha value of the Graphics object)
So my question is, is there anyway to do this with Visual Basic 2010 .NET?
If anyone can answer this question, provide input, or a equivalent alternative, I'd be very grateful.
Here is a link to a previous thread I have made, which describes the problem in much more detail:
http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvb/thread/f0e9fa0c-9535-4cdb-826f-673ef58c408a
Best regards,
Jake M.
P. S.
This link has helped greatly, and addresses my problem. However the solution on the very last post seems to be what I am looking for, however I have no idea how to convert that into visual basic.
Aero: How to draw solid (opaque) colors on glass?
i am trying to figure out how this software works:
http://www.stereopsis.com/flux/
specifically, i would like to know how it changes the colors on your machine, and also was wondering if this would be possible to do in vb.net?
Most likely they play around with color management. Graphical operating systems allow for color calibration which changes the look of colors on a display. This is primarily used so the display has exactly the same color gamut as printers for design purposes or that the display has natural-looking colors. In this case it is used to adjust the color temperature programmatically.
In the FAQ they state "Currently, we don't recommend running f.lux on calibrated systems running Windows" which seems to reinforce the idea that they are messing with the color calibration (and are probably replacing the one you did previously).
Windows has support for this beginning with Vista and you probably can use this with VB.NET but not natively from .NET, meaning you will have to use the API directly. Here is an introduction about the Windows Color System on MSDN.
Note: Tried it out. Yes, they do mess with the color calibration. And they're pretty aggressive in that regard. Whenever I click "Reload current calibrations" in the color management panel to get my own calibration back (Windows 7 here) it gets reset by f.lux. It seems they are setting this about once a second. Now imagine there are two programs doing this :-)