LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

RingControl in TableCell

Hi,
I'm using Labwindows 7.1
For editing the contents of a table, on right click in a cell I place a ringcontrol on that cell position so the user can select allowed entries from th ring control.
Well, the control apears in desired position but I have to click on it twice to unfold it.
To place the control I user the methode DuplicateCtrl (...) and I make it the active control.

Has anyone a suggestion to get rid of that clicking twice?

Thanks
arthur
0 Kudos
Message 1 of 3
(3,185 Views)
Hello Arthur,

After you make the duplicate ring control active, you can use the FakeKeystroke function to send a <spacebar> keypress to the panel.  That should force the ring control to display the menu.

Alternatively, you could upgrade to CVI 8.x, which has some additional table cell types, such as rings and combo boxes. Smiley Wink

Luis
Message 2 of 3
(3,169 Views)
Hi Luis,
thanks for your help; it works as expectetd!
ah
0 Kudos
Message 3 of 3
(3,163 Views)