09-28-2008 09:56 PM
I am trying to assign my initialization key name and values to a clusters names/values repestively. For example, I read in the ini file key names (dir, user, year) and would like those to be the cluster labels and then read in the associated values and assign them to the cluster.
For example, if my ini file is:
[Sample]
dir=c:
user=jnoel
year=1971
I would like the cluster element names to be dir,user, and year with the values for each being c:, jnoel, and 1971 respectively. I tried using the property node for label:text but Labview states the labels are not allowed to be changed in runtime. I would think there would be some way to do this (and if not there should be!).
Any help would be greatly appreicated.
09-29-2008 01:17 AM
Hi JimNoel,
you can change the control description if it´s visible. How do you assign the control with the element if not with the name?
Mike
09-29-2008 06:02 AM
Hide the cluster names and show the captions.
Captions can be written at run time.
Ben
09-29-2008 06:25 AM
Ben wrote:Hide the cluster names and show the captions.
Captions can be written at run time.
Ben
Sorry,
that´s what i´ve meant.
Mike
09-29-2008 07:20 AM
MikeS81 wrote:
Ben wrote:Hide the cluster names and show the captions.
Captions can be written at run time.
Ben
Sorry,
that´s what i´ve meant.
Mike
No it is me that should say "Sorry". Before my coffee had kicked in I had not realized that the description = caption.
I was sorta wondering why you hadn not suggested captions, "doh!"
Well between the two of us we got it right.
Ben