LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to insert a ring control in a table cell for data entry

In my application I have a table of which some of the columns will contain text. I would like a ring control type of data entry when the user selects the cell. Is this possible?
0 Kudos
Message 1 of 5
(3,831 Views)
Hi,

I guess the answer is no and yes. The table control does not allows ring selection as a datatype. However you can create your ring control and display it in the right place at the right time.

I'm including an small example here, it's not finished, it's very basic, but it's a good place to start. When the user double clicks on a cell a ring controls appears in place of the cell; when the user makes a selection the ring control disappears and the selected value is passed to the table.

Please take a look at this example and let me know if you have any further questions.

Regards,

Juan Carlos
N.I.
Message 2 of 5
(3,831 Views)
That's very nice. Thank you for the help with this forever annoying problem.

Altough I feel that professional software like LabWindows should really have this kind of controls built in! The lack of ring control for tables is a major inconvenience. This is an essential component of extremely many data handling software. I belive this kind of functionality is included in every professional developement software except CVI/LabWindows of course.
0 Kudos
Message 3 of 5
(3,831 Views)
Hi,

this is a great suggestion. I feel a good number of users would benfit from a cotrol like that. I would appreciate if you file a product suggestion at http://www.ni.com/contact (select product feedback). this reports go right into our ingenieering managers. This is the most direct rount to get your word in.

Thanks and good luck with your project.

Juan Carlos
0 Kudos
Message 4 of 5
(3,831 Views)
Hi, I need too this control (and a radio button too..) and i'm
implementing in a project, but I noticed that in your example the
position is correct UNTIL a vertical or horizontal scrollbar is present.
Of course is possible to compensate this when a double clik happens
(reading scrollbar position and subtracting): but any idea to how-to
"anchor" this ring control to a cell when the user move a scrollbar?
Many thanks in advance
Raffaele

PS: I hope that these kind of controls in table will be implemented in
future releases


JuanCarlos wrote:
> Hi,
>
> I guess the answer is no and yes. The table control does not allows
> ring selection as a datatype. However you can create your ring control
> and display it in the right place at the right time.

>
> I'm including an small example here, it's not finished, it's very
> basic, but it's a good place to start. When the user double clicks on
> a cell a ring controls appears in place of the cell; when the user
> makes a selection the ring control disappears and the selected value
> is passed to the table.
>
> Please take a look at this example and let me know if you have any
> further questions.
>
> Regards,
>
> Juan Carlos
> N.I.
0 Kudos
Message 5 of 5
(3,831 Views)