LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Darren's Weekly Nugget 10/02/2006

Pas si vite !

I claim that one is from me !! see here and here ! Smiley Tongue

At the time I even mentioned that it could have been a Darren's nugget ! Smiley Very Happy


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 21 of 26
(3,554 Views)

Hi TiTou,

I am confused.

It looks like you are talking about entering enum values.

Stephen's nugget talks about text wrapping in a string constant.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 22 of 26
(3,551 Views)
Wooops... you are absolutely right Ben... I posted this in the wrong thread. Sorry all...

In fact, it was meant to be in that thread.

Sorry again for talking across Smiley Sad

Message Edité par TiTou le 10-06-2006 04:11 PM


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 23 of 26
(3,545 Views)


@Ben wrote:

I went to the VI Checklist to try to find the note that said that if you are entring a lot of comments, that it is recomended that you use a string constant with the scroll bar showing. Well it appears that note has been deleted. So what used to be good is now bad.


The solution to that should be adding a scrollbar to the comment object. A more generalized solution would probably be getting rid of the comment object and simply using a string constant all the time, but then you would have to change its appearance when you're using a "comment" and you would probably need a property to tell the editor that you can't wire out of that object and at that point it might become too much too handle.

___________________
Try to take over the world!
0 Kudos
Message 24 of 26
(3,542 Views)

tst wrote "The solution to that should be adding a scrollbar to the comment object."

I agree.

The good news is the code to do this already exists and JUST* needs implemented in the comments.

Ben

* When you code by the hour, "JUST" is a four letter word. Smiley Surprised

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 25 of 26
(3,540 Views)
BTW, I personally wouldn't think that this (using scrollbars on comments) is necessarily good advice. The point of a comment is to save time or document additional data  - you read the comment instead of reading the code and so you understand more faster. As such, the comment is often "more important" than the code and I would rather make the diagram larger than not see the entire text at once. Of course, that's a matter of personal taste and might change depending on the nature of the comment or the code.

___________________
Try to take over the world!
Message 26 of 26
(3,535 Views)