Re: D2006 Object inspector component



I have looked at this and wondered

There is an event - - OnDraw

This allows for you to take over the drawing of each box.
With this you can change the background color of any box.

with this you can add the Plus Minus or other logo's if you so desire

From here it should not be too hard to do what you want.

Which component? I tried several components and several drawing events, but it goes quite messy or it takes a lot of coding...


and as you know with the TValuelisteditor you can also have each box as
standard entry or as drop down combo or trigger an other routine - -
(such as the OI does for bringing up the font dialog); and I have used these quite often to good effect - - -

No edit functionality needed, just showing values

and even add the drop down combo to the TStringGrid with good functionality.

Jim P.
.



Relevant Pages

  • Re: ASCII-Paint version 0.1 released
    ... It is a drawing ... darken current foreground / background color by a small amount ... foreground color (as png) and text (as... ...
    (rec.games.roguelike.development)
  • Re: ASCII-Paint version 0.1 released
    ... It is a drawing ... darken current foreground / background color by a small amount ... avoid having 8 shortcuts, and add another shortcut to switch primary/ ... foreground color (as png) and text (as... ...
    (rec.games.roguelike.development)
  • Re: Which "Emperor" recording is this?
    ... �The LP of which I'm thinking had a drawing ... of a crown. ... The background color is either gray or pale green (I'm ...
    (rec.music.classical.recordings)
  • Re: LVM_GETBKCOLOR returns -1
    ... > listview that is drawing the wallpaper. ... > Background color to set or the CLR_NONE value for no background color. ... Thanks Timo, ...
    (microsoft.public.win32.programmer.gdi)
  • Re: Drawing on DC
    ... class Circle: public Drawing { ... It would be *called* from OnDraw, ... You should only draw when you need to draw, ... Drawing your objects on a bitmap merely renders the circle, rectangle, etc. as bits (which ...
    (microsoft.public.vc.mfc)