Jump to content


Photo

Display disabled checkbox in cell ?


  • Please log in to reply
4 replies to this topic

#1 GoustiFruit

GoustiFruit
  • Members
  • 82 posts

Posted 26 March 2018 - 09:24 PM

Hi,

 

Is it possible to draw a checkbox in disabled state when a cell in a NxCheckBoxColumn is disabled ?

 

Thanks.



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 26 March 2018 - 11:15 PM

Hi,

Maybe next code is something you need:

  NextGrid61.AddRow(5);
  NextGrid61.Cell[0,2].Enabled := False;
Maybe I can painting in grayed state, but you can not click on disabled cell.
boki@bergsoft.net | LinkedIn Profile
--
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 GoustiFruit

GoustiFruit
  • Members
  • 82 posts

Posted 27 March 2018 - 12:52 PM

Yes, I'd like to have the checkbox painted as disabled, for now it's impossible to see the difference between enabled and disabled.



#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 27 March 2018 - 06:36 PM

Hi,

I added it. It will be included in next update.
boki@bergsoft.net | LinkedIn Profile
--
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.

#5 GoustiFruit

GoustiFruit
  • Members
  • 82 posts

Posted 27 March 2018 - 08:25 PM

Nice :-)






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users