Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » ArrayCtrl and converters
ArrayCtrl and converters [message #27513] |
Wed, 21 July 2010 16:25 |
mubeta
Messages: 77 Registered: October 2006
|
Member |
|
|
Hi all,
(I am not a C++ developer, so I use U++ for write my applications).
I am using ArrayCtrl for show some variables readed from an external device connected via bus.
These variables should be formatted in various mode: decimal, hexadecimal and binary.
ArrayCtrl offer, (what I found), two way: 1) column editor that can can be one of many offered from U++ or self made with own converter; 2) cell editor, with the same peculiarity of the point 1).
My problem: I want to list my vars not in columns, but I rows, so, for the same column, but different row, I have to connect the cell with and different editor, using SetCtrl(..).
The problem is: Now my vars can be showed in lot of format: binary, decimal, hexadecimal, but they are also editable, and I don't want this. The editor can be disabled, yes, but it change is color and is not so easy for read the value.
Question:
1) How I can connect every single cell to an different converter, not editable?
2) How I can chenge this converter in runtime?
Hope for some help.
Thanks.
-
Attachment: Immagine.png
(Size: 10.44KB, Downloaded 481 times)
|
|
|
Goto Forum:
Current Time: Fri Apr 19 00:41:57 CEST 2024
Total time taken to generate the page: 0.03028 seconds
|