LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why i am not getting Visible property of combo box

yes thats what i was trying to put forward. In LV there is no way to alter the visibility of that activeX control. but if you use same activeX object in VB you can alter the visibility.
0 Kudos
Message 11 of 15
(863 Views)

Yes, but my point was that it shouldn't be necessary to resort to flakey ActiveX controls. What you are tying to do should be very easy in LV with no outside help. What was the problem you were having with the LV control and do you have code that demonstrates it?

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 12 of 15
(851 Views)

Hi

I will post my code tomm. my problem is not with the basic functioning of the system the only thing is that i can not RESIZE (This is different than Reposition) my ring control so that it perfectly fits on the table cell even if user resizes the table column.

to make things clear i ll post the code tomm.

 

thanks a lot

Message Edited by Tushar j on 08-01-2005 04:45 AM

0 Kudos
Message 13 of 15
(852 Views)

Hi

Here is the code for "Table with dropdown box". Long back I found this Code on forum and I am using very similar code in my project. Now let’s see what my problems are.

1. Open the VI; in design mode right click on the table and check the option 'Moveable column separators'

2. Now run the program and click on the Monday 9 AM cell and select any one option. (Every thing will be working fine)

3. Now drag the column line between Monday and Tuesday to the right so Monday column becomes wider.

4. Repeat the process described in step 2. Now you will find that width of the dropdown box is shorter than actual cell.

In my project 'Moveable column separators' option is essential. Hence I want to adjust the width of drop down box depending on cell width of the selected cell.

Can you please help me?

Message 14 of 15
(839 Views)
To solve your dilemma, simply adjust the size of the ring control to the width of the corresponding column. First you'll need to get the size of the column using the Cell Width property (path: Cell Size>>Width), and then you'll need to set the ring control's size using the Ring Text Width Property (path: Ring Text>>Size>>Width). Note that this property only adjusts the size of the text box and not the entire ring control, so you'll need to compensate for the size of the drop-down selector (which I've figured to be about 18 pixels). I've attached a picture of what the completed code should look like.
 
 
Kind Regards,

Message Edited by AESulzer on 08-04-2005 11:48 AM

E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Message 15 of 15
(835 Views)