Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » ArrayCtrl and converters
ArrayCtrl and converters [message #27513] Wed, 21 July 2010 16:25 Go to previous message
mubeta is currently offline  mubeta
Messages: 63
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(..).

index.php?t=getfile&id=2671&private=0

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 340 times)
 
Read Message
Read Message
Read Message
Previous Topic: GridCtrl and diff Edit()'s per row, same column
Next Topic: [Bug] ArrayCtrl::Serialize
Goto Forum:
  


Current Time: Fri Nov 27 06:28:38 CET 2020

Total time taken to generate the page: 0.01816 seconds