A
Andrew Roxburgh
Hi,
I have an monitoring application that displays various
pieces of data, which are changing, within a form. The
data is displayed in different colours (i.e. they are not
all the same colour), and the various items are shown in
different positions on the form. It's a status panel
basically.
I'm using labels to represent each data item.
I don't want to use labels because:
(1) I'm using the .Net Compact Framework which only allows
around 100 controls before bombing out. I have multiple
panels showing quite a few labels.
(2) more importantly, it takes too long to draw on the
screen. This is a real-time monitoring application. With
data conversions, it takes around 300ms to draw about 20
floating-point data values on the screen (I'm using WinCE
on a Hitachi SH4 processor).
So is there another method? Harking back to heady BBC
BASIC days of the 1980s, this complex task was achievable
with the PRINTAT(x,y) statement! I need to display text at
specific positions on the form, without updating all the
data simultaneously, and I need to be able to display in
different colours. It should also paint quicker than a
label control.
Anyone got any ideas?
Thanks
Andy
I have an monitoring application that displays various
pieces of data, which are changing, within a form. The
data is displayed in different colours (i.e. they are not
all the same colour), and the various items are shown in
different positions on the form. It's a status panel
basically.
I'm using labels to represent each data item.
I don't want to use labels because:
(1) I'm using the .Net Compact Framework which only allows
around 100 controls before bombing out. I have multiple
panels showing quite a few labels.
(2) more importantly, it takes too long to draw on the
screen. This is a real-time monitoring application. With
data conversions, it takes around 300ms to draw about 20
floating-point data values on the screen (I'm using WinCE
on a Hitachi SH4 processor).
So is there another method? Harking back to heady BBC
BASIC days of the 1980s, this complex task was achievable
with the PRINTAT(x,y) statement! I need to display text at
specific positions on the form, without updating all the
data simultaneously, and I need to be able to display in
different colours. It should also paint quicker than a
label control.
Anyone got any ideas?
Thanks
Andy