Edittable colors - Getting them. (OpenInsight 32-bit Specific)
At 16 DEC 2003 06:49:13PM Bruce Cameron wrote:
How can I get the backcolor and forecolor of a particular cell in an edittable?
I am setting the cell(s)/row(s)color by using Send_Message and "COLOR_BY_POS".
BC
At 18 DEC 2003 06:29AM Colin Rule wrote:
I have asked this previously, and there is no simple method unless you can talk to the control through the API.
Best method is to keep a COMMON variable of the Col+Row and Colour in a table, store this when you set the colour, and then you know all the colours of any cell.
I do this currently, so that when I move cells I can set the colour of the cell to show what colour it is, then when you move cells you can locate the prevpos and set the colour back to what is should be.
Colin
At 19 DEC 2003 11:32AM Bruce Cameron wrote:
Colin,
Thanks alot for the reply. What you suggest was the direction I was heading in but was hoping there was a "get_prop" like function before I went ahead. I am done so it wasn't a huge deal but it would be nice. I assume the same goes for the FONT struct too. Maybe in a future release?
Bruce