LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Kant84

recherche par propriété - search by property

Status: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.

Bonjour à tous,

 

Je m'adresse à vous dans la langue de Molière car je ne maitrise pas la langue de Shakespeare, veuillez m'en excuser.

 

Je développe une interface graphique. J'ai besoin de masquer certaines commandes, et certains indicateurs. Je ne peux pas noté « (masqué) » dans l'étiquette car je connecte ces commandes / indicateurs sur le connecteur du sous-vi. Je ne peux pas non plus noter « (masqué) » dans le sous-titre car il prends la place de l'étiquette dans le connecteur (ce qui n'a aucun sens !).

 

Pour éviter fouiller le diagramme à la recherche de l'élément masqué, je me suis tourné vers l'outil de recherche, qui en principe sert à trouver les éléments facilement. J'ai eu l'espoir de trouver le champ « recherche par propriété » afin de cocher la case « indicateur / commande masqué(e) ».

 

Dommage...

 

Je propose donc plusieurs point à améliorer :

- le sous-titre ne prends pas la place de l'étiquette dans le connecteur de sous-vi ;

- la fonction de recherche doit permettre de rechercher par catégorie d'objet (commande - indicateurs - décoration...) ;

- la fonction de recherche doit permettre de rechercher par propriété (activé - grisé - masqué - sauter en cas de navigation par tabulation...).

 

Bref, la personne qui reprendra le programme après moi aura un certain nombre de difficulté à retrouvé l'ensemble des indicateurs masqués...

 

A moins que je ne soit passé à coté de quelque chose (!)

 

Merci à vous !

 

PS : je ne fais pas confiance aux traducteurs automatique...

8 Comments
Kant84
Member

(Veuillez m'excuser pour les fautes de frappe, je ne me suis pas relu !)

EricC.
Active Participant

Bonjour à toi.

 

Il existe une astuce qui simplifie la vie lorsqu'on désire jouer avec la propriété Visible/Invisible.

Pour les onglets autre que l'onglet système, il est possible de préciser la couleur de fond. Or LV accepte la couleur 'invisible'.

Du coup, passer d'une page à l'autre semble masquer automatiquement les contrôles comme si on les géraient avec la proprité visible/invisible.

De plus, en développement, c'est infiniement plus confortable !

 

Eric !

Ingénieur d'Application / Développeur LabVIEW Certifié (CLD)
Application Engineer / LabVIEW Certified Developer (CLD)
GregR
Active Participant

For the Shakespeare inclined, here is what I hope is a pretty accurate English translation. It was done by Google with some by-hand cleanup by me.

 

 


 

 

I am addressing you in the language of Molière because I have not mastered the language of Shakespeare, I apologize. 
  
I develop a GUI. I need to hide some controls, and indicators. I can not note "(Hidden)" in the label because I connect these controls / indicators on the connector sub-vi. I can not note "(Hidden)" in the caption as it takes the place of the label in the connector (which makes no sense!). 
  
To avoid searching the diagram to find the hidden element, I turned to the search tool, which in principle is used to find items easily. I was hoping to find the field "search property" to check "indicator / control hidden". 
  
Too bad ... 
  
I therefore propose several areas for improvement: 
- The caption does not take the place of the label in the connector sub-vi; 
- The search function should allow you to search by subject category (control - indicators - decoration ...); 
- The search function should allow you to search by property (activated - gray - hidden - if skip navigation tab ...). 
  
In short, the person who will take over the program after me will have a number of difficulties in finding all the hidden indicators ... 
  
Unless I missed or something (!) 
  
Thank you! 
  
PS: I do not trust the automatic translators ...

GregR
Active Participant

The caption is intended to take the place of the label in the connector pane. This we will not be changing. The purpose is so the control name does not change but the caption can be localized and shown to the user in their own language.

 

For your case, you can take advantage of this by putting "hidden" in the control's label then showing the caption and removing the "hidden" from there. This allows the "hidden" to be seen on the diagram terminals but not shown in the connector pane.

 

We have done some experiments with searching for property values. That could be something we do in the future.

tst
Knight of NI Knight of NI
Knight of NI
Kant84
Member

In the case of http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Show-hidden-controls-as-quot-ghosts-quot-in-edit-mode/... I approve this idea.

 

But I think that a search by property could be very useful.

tst
Knight of NI Knight of NI
Knight of NI

I don't think the idea is bad. It makes sense. The only problem is that I'm trying to picture myself using it and I don't see it.


___________________
Try to take over the world!
Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.