04-09-2007 06:55 PM
04-09-2007 11:23 PM
What do you mean to say ? It appears the same on both the conditions in my PC, using LV 7.1...
@jspaarg wrote:
When I use the property node for key focus, the display is different than when the focus is obtained by just tabbing through the controls.Is there a way to set focus and have it look as if I tabbed to it?
04-10-2007 08:35 AM
I am also using 7.1 and they appear different.
When I use a property node to set key focus a box appears around the control.
When I tab to the control then just a cursor appears inside numeric controls.
They are definitely different on my app.
04-10-2007 09:03 AM
I thought of Boolean controls only.
You didnt even mention that they re Numeric controls in your post. Thats the confusion...
But, see the screenshots attached. They both look like same.
Switch the Keyfocus button to see it for yourself...
Also, try it out for Dialog controls, if you wish.
04-10-2007 09:04 AM
04-10-2007 09:12 AM
@marc A wrote:
A simple way to avoid the box around controls is to use system controls. They will match the rest of your system and act the same as well. The only downside is that you can't change the colors of these controls, but there won't be a box around them when they receive focus.
I interpret that by System controls, you mean the Dialog controls, right... ?
But, there appears a BOX around the control still.
Read the last line of my orevious post. Thats why I told him to try out with Dialog controls also...
You can change the Numeric in my Vi to a Dialog Spin control & see it for yourself, or see the attached VI.
04-10-2007 09:18 AM
04-10-2007 09:19 AM
Is there a system control for timestamp control?
I don't see anything like that.
04-10-2007 09:31 AM
Parthabe: Maybe the language is different, but they're called system controls in the English version of LabVIEW.
jspaarg: You can make a numeric system control, then go to format and precision, change the format to absolute time and you have a timestamp. The only thing you're missing is the button to bring up the calendar.
04-10-2007 09:41 AM
I don't really need the date button. A timestamp control can be highlighted on any elemet within it; so my user can inc/dec date, hours, mins, etc.
I looked in both examples and help and there is no listing for "system controls" or controls system (or any variation that I could think of).
Where are they? I believe that they have characteristics that make them behave based on local setups on a PC (but I am not sure).
I believe that even with system controls, when focus is assigned, the entire contents are highlighted. While this is only an asthetic issue, it looks bad especially on something as large as a timestamp.