CNC - text and background color changes when you use the inc/dec

Hello

I develop an application that has a sign with a black background and green or red numbers. I have added digital controls and set the text color and text background color attributes accordinglingy. I put the control digital hot or validate command mode and display the arrows of inc/dec, because I want to incr/Decr numbers.

The problem is that when I run the app and I hit arrows inc/dec, then the colors inside the scope of digital control become reversed: black background becomes white and cyan green number. I created an assosicated callback with digital control and tried to force the text color and the background, in the EVENT_VAL_CHANGED section, by using the SetCtrlAttrribute() function, but nothing helped. Also added ProcessDrawEvents did not help.

When I mouse click again outside the digital command, then it returns to its original colours (green, black text background).

Suggestions as to how can I fix?

I want it keeps its original colors at all times, even when I am clicking on the arrows incr/Decr...

Kind regards

pgriep

Hello Roberto,

I thought it would be another way to fix it. Just hoped that I could fix it in setting or by disabling an attribute.

Thanks for the effort!

See you soon,.

pgriep

Tags: NI Software

Similar Questions

  • Screen resolution/size changes when you use the touchpad

    Bought Probbok 4530 s. Win 7. I continue to have the screen/print resolutiom size change when you use the touch pad. The pointer seems to 'paste' and then when I move it, the screen get is much lower or higher. I continually have to type ctrl + or - to get the size of the screen back to the 'normal '. Is this something to do with the settings for the touchpad or pointer? Its driving me crazy...

    Bruce

    Hell, I think that this is it... Pinch Zoom! I have disabled that, as well as the "allow the theme change mouse pointers" on the pointers tab. I'm playing with it now, and it seems to have solved the problem. I'll let you know if this isn't... Thanks for the great help, Dragon fur!

  • Background color changes when you save a theme

    Just did a new install of Windows 7 Home Premium and has found that, when I save a theme, the background color changes from black (what it was worth) to white. Another thing to note is that when I save the generic theme "Custom Theme" (meaning an unsaved theme) remains, and the background color in the registered theme is changed and does not change when I click on the "custom theme". This is a new installation, so the only software that has been installed is video drivers, network cards drivers, the drivers of the antivirus and sounds. I've used the System File Checker, and he found no problem.

    Hello

    I recommend that you follow the steps from the link below and check if it helps.

    Create a theme

    http://Windows.Microsoft.com/en-us/Windows7/create-a-theme

    Hope this information helps.

  • Bad color appears when you use the color replacement tool.

    I use this tool in CS4 on an image with a transparent background.

    When I set the foreground color of R165 G165 B165 and apply, the resulting color on my image is R64 B64 G64. Any ideas why please?

    Replace color seems an unsuitable approach to the task.

    «If you have transparency anyway just lift the part on a clean diaper (make a selection with the rectangular selection tool, layer > New > layer by cutting) and apply the layer Style "Chromakey".»

  • Need help to stop my Zoom to change when you use the integrated mouse

    I would like to know if anyone has a solution to my zoom change randomly when I use the built-in mouse. Is it possible to block the zoom so it does not change.

    Control the Touchpad settings in Control Panel.  My ASUS Netbook has a 'two fingers' feature that performs the zoom in things like IE and Word and it's pretty easy to operate inadvertently (another feature is two-finger scrolling, which I use frequently).  If your touchpad driver has such a feature, you may need off "awareness", it or turn it off.  Most modern/current notebook computer touchpad drivers have these characteristics, and many are turned on in different, often easy to do unintentionally, average.

    HAL
    --
    HAL Hostetler, TCE
    Engineer senior/UPDATED--MS MVP-Print/Imaging - WA7BGX
    www.kvoa.com - KVOA television, Tucson, AZ.
    Live Hot Licks - www.badnewsbluesband.com
  • Photosmart 7150: Printer prints correct colors of the web; printing of background colors incorrect when you print the document

    I have a Dell desktop computer, using Windows 7 with a HP Photosmart 7150 (I know this is an older model, but I have no reason to spend).

    When you print to the web, the colors are printed similar to what we see on the screen.  When I try to print a document that includes a background with color, the color prints differently.   The document I'm working on that requires a background textured printing on glossy photo paper.  When the document is formatted with a brownish background, the background is printed bright green.  When the document is formatted with a blue background lighting, the background is printed a bright torquoise.

    I worked with the printer settings changing the quick project to the best print quality. increases the magenta color, but nothing seems to work.  The ink cartridge is fairly recent. I hate wasting more paper and ink.

    Any suggestions? Thank you!

    Thank you for taking the time to try to help solve the problem of color with my printer.  I solved the problem: I had a PHOTO, #58 print cartridge in the printer.  When I changed for the black cartridge, #56, colors came out as it should.

    Thanks again!

  • Line size changes when you use the rotation?

    Hello: Level: Beginner OS: Windows 7 64-bit

    So, I was using the line tool and then bringing together two lines and then using the object > transform > rotation

    The lines that I draw are 0px wide and 22px high but when I turn them around the Circle line sizes change...?

    Say the two lines are grouped and the first series is 276px on that the next series becomes say 276.346 and then 275.582 and 198.682 and so...

    I went in the palette to turn to see if there is anything I should check, but it doesn't seem as if I'm missing something to the best of my (limited) knowledge.

    I also tried the manual and looked for something like: "why size line would change on rotation" and I looked under transform and rotate, but I did not have a chance.

    As always... Thank you very much for your time

    What you read is the width and the height of the area of the path includes.

    Think of the hand of a clock. When it is at 12 it's thin and vertical. When there is 1, it takes much more space horizontally than to 12.

    You read the area covered by the path, not the dimensions of actual path.

    Basically, the numbers you read represent the pink boxes in this screenshot:

    The area required to draw the shape, not the dimensions of the form itself.

  • Display to display base Windows aero changes when you use the battery only

    original title: basic display Windows

    Each time, I unplugged and running off my block the display configuration changes to Windows 7 Basic.  I have change for a theme aero setting initially, it came with but everything it will use is Windows 7 basic when disconnected.  It uses only the aero effect when the laptop is plugged.  I would like to use aero while plugged in or unplugged it just don't apply it for some reason any.

    Hello

    Looks like your battery may not be generating enough power to manage the resources that are required by the Aero display.

    You can create a detailed report on the State of the battery to double check the battery status.

    1. go to Start / all programs / Accessories. Click on the command prompt and select run as administrator.

    2 in the command prompt window, copy / paste the following command.

    powercfg-energy-output %userprofile%\desktop\energy-report.html

    Press ENTER.

    Wait for the command to complete (usually about 2 minutes).

    This create a file named energy - report.html and place it on your desktop.

    3 go to your desktop and double-click the file to open.

    Scroll to the bottom for the battery: battery information section.

    You will see:

    Rated xxxxx

    Xxxxx full last Charge

    (Where xxxxx is a number)

    Copy this article and paste in an answer here, for analysis.

    Concerning

  • How can I change the size of text and background color?

    How can I change the size of text and background color? When I select the text box and change the height, nothing happens. If I drag the box is smaller, it just jumps back to where she was. If I try to change the color, (which is set to 'default' gray), no color, it still shows as white on preview. Because I can not change the size of text box, I need to at least make the clear background because it's something that overlap.

    Answered my own question kind of... I had to go into the 'code' and change the settings manually. Why even have the options in 'view designer' to change the size of text box or color if it doesn't?

  • I use Photoshop elements on Windows 8.1 12.  When I go in the Expert Mode to change the available toolbar is displayed in a single column and missing several tools which foreground and background color.  How to restore the original toolbar?

    I use Photoshop elements on Windows 8.1 12.  When I go in the Expert Mode to change the available toolbar is displayed in a single column and missing several tools which foreground and background color.  How to restore the original toolbar?

    Try to re - set preferences.

    Go to: Edit > preferences > general (menu Photoshop Elements on Mac)

    Click on the button Reset preferences on the next launch

  • When you use the metro apps the computer displays a black background instead of a text being illegible white

    When you use the metro apps the computer displays a black background instead of a text being illegible white

    So basically I can't use the metro beyond the home screen interface
    Know of a solution:
    Using
    i7 processor
    640 m GPU NVIDIA
    6 GB memory
    It could be a driver problem or there at - it an option to change

    You have FXAA enabled in the NVidia Control Panel? That was the problem for me.
    Otherwise, just click on restore in Control Panel and it should fix the problem.

  • Message box color settings disabled when you use the dialog "Windows color and appearance".

    When you use the configuration dialog box 'Window color and appearance', why are there color settings invalid?  I want to remove the default 'Pastel Pink' value that I find unacceptable.

    I can switch to "Classic Windows" that uses no pastel pink color, but "Classic Windows" does not support "Aero Peek", and the windows look pretty tired.  You can only take "Classic Windows" for many years.

    Color settings are disabled for: buttons, Message box, title of Palette, scroll bar.

    Help, please!

    Me too I'm frustrated by that.   Found the old windows with very honest XP environment.   I used the advanced settings, but has not found a way to save the changes with a label, so I knew that the changes you made.   It is just Frigging trial and error and very frustrating.

    Why are there no way to return either to the default value (not found a default label) or save the settings changed under a name?    It is a productivity KILLER.

    Hello

    Interface user of Windows 7 is theme based. The colors are defined by the theme.

    You still have many color options that can be used to change the colors.

    Right click on the desktop and select Personalize. Click on the color of the window at the bottom of the window box.

    You can select one of the colors in the boxes colored at the top.

    Adjust the intensity of the color with the cursor.

    Click on the color down mixer and you can a lot of variations on all the different color choices.

    I hope this helps.

    Thank you for using Windows 7

    Ronnie Vernon MVP
  • Dreamweaver CS5.5 mac crashes when you use the background color palette

    Dreamweaver CS5.5 mac crashes when you use the background color palette

    Mac OS 10.11.3 El Capitan

    Hi bibledoc

    You can try to reset the Dreamweaver preferences.

    Following the file and the folder are removed from your system:

    / Users / your User Name/Library/Application Support/Adobe/Dreamweaver

    Rename the folder of Dreamweaver preferences, for example, Dreamweaver CS5.5 Old_Dreamweaver CS5.5 folder.

    / Users / your user name/Library/Preferences

    Rename the folder of Dreamweaver preferences, for example, Dreamweaver CS5.5 Old_Dreamweaver CS5.5 folder.

    Restore preferences in Dreamweaver CS4 and CS5, CS5.5

    Access the hidden library files Mac OS

    When Dreamweaver starts, it creates a new preferences file and the folder.

    If it helps doesnot, maybe you can try to create a new admin user account and check. If this is useful, you can try to uninstall and reinstall in the new user account.

    OS X Yosemite: set up users on your Mac.

    Kind regards

    Nikhil Gupta

  • WHEN YOU USE THE CONSTRUCTOR OF MY SITE, I CAN'T COPY AND PASTE WROTE THE BROWSER SECURITY SETTINGS HOW TO NOT CHANGE THESE FOR ME TO COPY / PASTE?

    WHEN YOU USE THE CONSTRUCTOR OF MY SITE, I CAN'T COPY AND PASTE WROTE THE BROWSER SECURITY SETTINGS HOW TO NOT CHANGE THESE FOR ME TO COPY / PASTE?

    https://support.Mozilla.com/en-us/KB/granting+JavaScript+access+to+the+Clipboard

    This extension will help you implement the security policies for access to the Clipboard.

    Allow the extended Clipboard support:

    https://addons.Mozilla.org/en-us/Firefox/addon/852

  • I can't get a list of bullited when you use the synchronized text feature.

    I can't get a list of bullited when you use the synchronized text feature. The option is grayed out and no assets. Any tips? I'm doing something wrong?

    It is by default, the synchronized text does not change any style and other visual attributes associated with the instance.

    Thank you

    Sanjit

Maybe you are looking for