Visual indication of enabled/disabled state
#1
Posted 18 June 2007 - 12:21 PM
Would it be possible to have NextGrids draw differently when disabled ? Most components have at least a different color when disabled, look at labels, buttons, edits, ... NextGrid could use a grayed background , or grayed text...
Gousti.
#2
Posted 18 June 2007 - 12:23 PM
I may do this. Anny suggestion about appearance is welcome. Righ now, I am thinking about changing Text to clGrayText. Maybe to change backgound too?
regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#3
Posted 18 June 2007 - 12:26 PM
Just added gray text when it is disabled.
regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#4
Posted 18 June 2007 - 02:42 PM
i find this idea with different colors for a disabled grid wonderful. If possible please make property DisabledColors with subproperties for background, text and selectedRow(back+text) - default = clNone, which means, in this case everything is as before, so old grids will not have a new style because of the new property :-))
bye,
user22
#5
Posted 18 June 2007 - 03:14 PM
I am not sure at the moment about adding new properties .
For now, I may simply hide a selection when Grid is disabled.
regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#6
Posted 18 June 2007 - 08:49 PM
I have added that scrollbars are dissabled too.
regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#7
Posted 20 June 2007 - 11:36 AM
#8
Posted 01 July 2007 - 10:24 PM
I just installed new version 4.0.1 and it looks good... but... could you also gray the "Caption" when disabled ? (this caption property is a nice idea btw)
Gousti
#9
Posted 01 July 2007 - 10:41 PM
I have add it;
on line 3636 inside file NxCustomGridControl.pas, add next code:
Best regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#10
Posted 02 July 2007 - 11:02 AM
#11
Posted 03 July 2007 - 02:50 PM
- enabling/disabling edit controls (checkbox, combos, ...),
- enabling/disabling headers and footers.
That's all for now ;-)
Gousti.
#12
Posted 05 July 2007 - 10:44 PM
I will add them too.
Best regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#13
Posted 12 July 2007 - 07:58 PM
I have add it to NxCheckBox too (other editors are fine).
I will see now about setting gray text for header.
Best regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users