04-16-2009 02:31 AM - edited 04-16-2009 02:34 AM
i would like to make a program to navigate through some Boolean controls to its subcontrols. i need to do the same for 4 subcontrols.
pelase see the jpg attachment.
i have a table from which i need to find the sub strings (captions of sub- booleancontrols) from a main control's caption.
here in the attachment, instead of the table, i've shownn columns of table as 1D array of strings.
i'm confused about this way of writing code.
please reply with your valuable suggestions on how can i accomplish navigating through pictures.
thanks in advance
RENN
LV8.5.1
Solved! Go to Solution.
04-16-2009 06:35 AM
Hi RENN,
where do you get your data from? Why do you choose a 1D Array for your data? You can use a cluster with a string control for the "parent" name and an array of cluster for all "childs" and there index in the main array. It would be like a path to the last elements.
Hope it helps.
Mike
04-16-2009 11:43 AM
Hi mike, thanks a lot for your reply. i get the data from a table as shown in the attachment.
i need to start from colum 1 of the table. i have to start with PIC 1, 2, 3.
this have to be done for around 6 columns of data. i've to use this data for the picture selection.
RENN
04-17-2009 01:35 AM
Hi RENN,
see the attached example. It shows what you want with listboxes.
Hope it helps.
Mike
04-17-2009 02:51 AM
oh my god...this code is simply amazing.!!! i've to use boolean picture controls instead of a list box. i#ll try with this..
thanks a lot mike!
04-17-2009 03:07 AM