LAVA 1.0 Content Posted November 7, 2007 Report Share Posted November 7, 2007 In some text editors the keyboard shortcut "ctrl + shift + C", "ctrl + shift + V" allow to copy not the text but the text format (font, size, etc) Wouldn't it be nice to be able to be able to use it in LabVIEW to copy all the "format and precision" properties of a numeric to another one ? Quote Link to comment
LAVA 1.0 Content Posted November 7, 2007 Author Report Share Posted November 7, 2007 QUOTE(TiT @ Nov 6 2007, 09:44 AM) In some text editors the keyboard shortcut "ctrl + shift + C", "ctrl + shift + V" allow to copy not the text but the text format (font, size, etc)Wouldn't it be nice to be able to be able to use it in LabVIEW to copy all the "format and precision" properties of a numeric to another one ? ONLY if you are in edit mode and only if I want it do that. I'm yelling because I was do one of my stand-up coding routines on Friday under LV 8.5. I had a BIG indicator that displayed the measured resistance. When I cut and pasted the value from the big indicator into a standard sized control and the font size and style came with it. This of course meant I could not read the value I had pasted without re-sizing the control. I turned to the NI rep and siad "Thats a bug." Thanks for reminding me! I have to go report that bug. Ben PS: I just got off the phone with NI and they duplicated the behaviour. So... Mug Bearer, Your wish has been fulfilled! Just upgrade to LV 8.5 Quote Link to comment
Justin Goeres Posted November 7, 2007 Report Share Posted November 7, 2007 I've always liked the Paste Special... function in Excel that lets you choose what you want to paste. For LabVIEW, I can immediately think of a few things a dialog like that could handle for control/indicator pasting: Value Display Format Colors Control Size and more. Of course, I'm sure this would probably be wickedly complicated on the back end, to handle all the different datatypes in anything approaching a sane way. But I can dream... Quote Link to comment
Michael Aivaliotis Posted November 7, 2007 Report Share Posted November 7, 2007 QUOTE(Justin Goeres @ Nov 6 2007, 09:59 AM) ...Of course, I'm sure this would probably be wickedly complicated on the back end, to handle all the different datatypes in anything approaching a sane way. But I can dream... Since when did you start working for NI? Implementation is not our problem. Another thing. Why, when I have my cursor in a text box can I not use ctrl+A to select all the text? Give me a break. Quote Link to comment
Yair Posted November 7, 2007 Report Share Posted November 7, 2007 For the moment, you can probably write your own. Write a floating VI with two buttons ("Copy" and "Apply") and some checkboxes for the options. Pressing Copy copies the properties from the currently selected control and pressing Apply copies the checked properties into the currently selected control. Not the simplest thing in the world, but a basic demo can be has been written in a few minutes. Quote Link to comment
Aristos Queue Posted November 7, 2007 Report Share Posted November 7, 2007 QUOTE(Michael_Aivaliotis @ Nov 6 2007, 12:22 PM) Since when did you start working for NI? Implementation is not our problem. This is why I've been pushing features such as custom probes, custom icon editors, etc. Then implementation *is* your problem. Mwuhahahaha! Quote Link to comment
LAVA 1.0 Content Posted November 7, 2007 Author Report Share Posted November 7, 2007 NI was able to duplicate the issue with the font size coming across with the text. CAR# = 4F5997F2 I'm calling this a "sanity check" bug since this "feature" may be good for the Muge Bearer but under other circustances, this is bad. Ben Quote Link to comment
Michael Aivaliotis Posted November 7, 2007 Report Share Posted November 7, 2007 QUOTE(neB @ Nov 6 2007, 01:13 PM) NI was able to duplicate the issue with the font size coming across with the text.CAR# = 4F5997F2I'm calling this a "sanity check" bug since this "feature" may be good for the Muge Bearer but under other circustances, this is bad.Ben Ben, what are you talking about? This "feature" has been there since I can remember. Now it's a bug?I agree however that this may not be the desired behaviour. What I would like is to be able to right-click and give me options, like in Word: Paste special->raw unformatted text.QUOTE(Aristos Queue @ Nov 6 2007, 12:06 PM) This is why I've been pushing features such as custom probes, custom icon editors, etc. Then implementation *is* your problem. Mwuhahahaha! The moment we common users can plug into the dev. environment and add our own right-click menus that call our own actions and there is a usable API where we can actually do this stuff then we can talk. Until then, it's all you baby. Quote Link to comment
LAVA 1.0 Content Posted November 7, 2007 Author Report Share Posted November 7, 2007 QUOTE(Michael_Aivaliotis @ Nov 6 2007, 03:28 PM) Ben, what are you talking about? This "feature" has been there since I can remember. Now it's a bug?I agree however that this may not be the desired behaviour. What I would like is to be able to right-click and give me options, like in Word: Paste special->raw unformatted text.... If the target control is not tall enough, you can't see what you pasted without set the font of the targaet control. The "raw unformatted" would be my preference for the paste. Your comment about it always being there made me realize that I so rarely used mixed sized controls, that I have never seen this before. So its news to me. Ben Quote Link to comment
crelf Posted November 7, 2007 Report Share Posted November 7, 2007 QUOTE(Michael_Aivaliotis @ Nov 7 2007, 06:28 AM) The moment we common users can plug into the dev. environment and add our own right-click menus that call our own actions and there is a usable API where we can actually do this stuff then we can talk. :thumbup: ...and I sure hope that this time of enlightenment is imminent! Quote Link to comment
LAVA 1.0 Content Posted November 9, 2007 Author Report Share Posted November 9, 2007 QUOTE(neB @ Nov 6 2007, 04:57 PM) ONLY if you are in edit mode and only if I want it do that.I'm yelling because I was do one of my stand-up coding routines on Friday under LV 8.5. I had a BIG indicator that displayed the measured resistance. When I cut and pasted the value from the big indicator into a standard sized control and the font size and style came with it. This of course meant I could not read the value I had pasted without re-sizing the control. Back to my feature request, maybe I was not clear in how I wish it to be, so let me be clearer. What I would like is : ctrl + c/v : copy data only ctrl + shit + c/V : copy format only or/and 2 right click menu options If this exist in LabVIEW 8.5 then it's great. Quote Link to comment
Rolf Kalbermatter Posted November 21, 2007 Report Share Posted November 21, 2007 QUOTE(TiT @ Nov 8 2007, 03:15 AM) Back to my feature request, maybe I was not clear in how I wish it to be, so let me be clearer.What I would like is : ctrl + c/v : copy data only ctrl + shit + c/V : copy format only ___^^^^ Hmm, does that pertain to your own perceived coding style somehow? I'm sure you are doing much better than that! Rolf Kalbermatter Quote Link to comment
rkesmodel Posted November 21, 2007 Report Share Posted November 21, 2007 How about a format 'paintbrush' that would copy ALL of the format (text, color, size, etc.) from a control/indicator to another like Word and EXCEL have? I have had a situation where I had what I thought was a perfectly good FP with multiple LEDs, BOOLEANS, etc. and the cutomer came along and said things like, "Make them all bigger", or "I don't like those colors" (and yes, I thought I had prior approval). It would be nice if you could change just one of each item and then 'paint' the others. Roy Quote Link to comment
rkesmodel Posted November 21, 2007 Report Share Posted November 21, 2007 How about a format 'paintbrush' that would copy ALL of the format (text, color, size, etc.) from a control/indicator to another like Word and EXCEL have? I have had a situation where I had what I thought was a perfectly good FP with multiple LEDs, BOOLEANS, etc. and the cutomer came along and said things like, "Make them all bigger", or "I don't like those colors" (and yes, I thought I had prior approval). It would be nice if you could change just one of each item and then 'paint' the others. Roy Quote Link to comment
JDave Posted November 21, 2007 Report Share Posted November 21, 2007 QUOTE(rkesmodel @ Nov 20 2007, 03:06 PM) How about a format 'paintbrush' that would copy ALL of the format (text, color, size, etc.) from a control/indicator to another like Word and EXCEL have? I have had a situation where I had what I thought was a perfectly good FP with multiple LEDs, BOOLEANS, etc. and the cutomer came along and said things like, "Make them all bigger", or "I don't like those colors" (and yes, I thought I had prior approval). It would be nice if you could change just one of each item and then 'paint' the others.Roy That reminds me at least from LV 7.1, you could copy a Front Panel control, then select another control and paste. This replaces the selected control with the clipboard copy. This has the unfortunate side effect of changing the label as well, but I think the rest of the functionality we are talking about is there. This has to be done one at a time. I worked on a http://forums.lavag.org/index.php?showtopic=3040&view=findpost&p=11611' target="_blank">tool to handle this replacing more completely, but I haven't kept it updated for LV 8+. David Quote Link to comment
JDave Posted November 21, 2007 Report Share Posted November 21, 2007 QUOTE(rkesmodel @ Nov 20 2007, 03:06 PM) How about a format 'paintbrush' that would copy ALL of the format (text, color, size, etc.) from a control/indicator to another like Word and EXCEL have? I have had a situation where I had what I thought was a perfectly good FP with multiple LEDs, BOOLEANS, etc. and the cutomer came along and said things like, "Make them all bigger", or "I don't like those colors" (and yes, I thought I had prior approval). It would be nice if you could change just one of each item and then 'paint' the others.Roy That reminds me at least from LV 7.1, you could copy a Front Panel control, then select another control and paste. This replaces the selected control with the clipboard copy. This has the unfortunate side effect of changing the label as well, but I think the rest of the functionality we are talking about is there. This has to be done one at a time. I worked on a http://forums.lavag.org/index.php?showtopic=3040&view=findpost&p=11611' target="_blank">tool to handle this replacing more completely, but I haven't kept it updated for LV 8+. David Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.