From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i prevent a font change when using copy/paste on frontpanelcontrols (env & build)

When I copy/paste a numeric from control1 to control2
I copy not only the value, but also font+size
How do I prevent this from happening? This applies for
de development environment and a build application.

{maybe related: in lvenv prevent ctrl-(+) & ctrl-(-)
to change fontsize....only via event structure?)
0 Kudos
Message 1 of 5
(2,747 Views)
forgot to mention which version of LabVIEW
question applies to >> LabVIEW 6.1, using windows <<

{did not see the behaviour in previous versions of labview ...}
0 Kudos
Message 2 of 5
(2,747 Views)
> forgot to mention which version of LabVIEW
> question applies to >> LabVIEW 6.1, using windows <<
>
> {did not see the behaviour in previous versions of labview ...}
>

In the editor, you can select just text -- the text will be hilighted,
but there will be no lines marching around the object. In this case,
you will copy just the ASCII text selected.

If you have the entire numeric selected, marching lines around it, then
not just the text, but the entire object will be copied including
colors, etc. This is only available in the editor, not at runtime.

Another way to perform copies is using the Data Operations menu.
Without a selection, you can choose the Copy Data popup item and then
the Paste Data popup item. These aren't as convenient a
s Ctl-C and
Ctl-V, but they work for all types of controls.

If I've misunderstood the problem, please send a VI to technical support
with directions on how to reproduce it.

Greg McKaskle
0 Kudos
Message 3 of 5
(2,747 Views)
Quick Q,
Is control1 strictly typed def'd.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 5
(2,747 Views)
Ignore me, listen to Greg.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 5
(2,747 Views)