Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

CTRLARRAY SetCtrlAttribute function issue

$
0
0

I have multiple control types in a ctrlarray (textbox, leds, strings, buttons...).  I am trying to enable/disable them using a check box and the SetCtrlAttribute function.  I get the resource ID

TESTBED_1=GetCtrlArrayFromResourceID (panelHandle, CTRLARRAY_2);      

then am trying to DIM all items in the array using

SetCtrlAttribute(PANEL,TESTBED_1,ATTR_DIMMED,1);

it does not function?  can this be down or do I need to DIM them individually since they are different ctrl types?


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>