Jump to content


Photo

Enable/Disable Button in a Column and Row.


  • Please log in to reply
2 replies to this topic

#1 Speed

Speed

    Senior Member

  • Members
  • PipPip
  • 207 posts
  • Gender:Male

Posted 22 January 2025 - 03:22 AM

Hi Boki,

 

What is the syntax for enabling/disabling a button in a TNxButtonColumn6 of a specific row?

 

In other words, I don't want to enable/disable all buttons in the column, just ones in specific rows.

 

Thanks.

 

= Steve

 



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 22 January 2025 - 10:41 PM

Hello Steve,

 

There are several ways to do it, but you can check this event: https://help.bergsof...lumn6/OnSetCell

 

This event is a place where you can for example disable the column, and then quickly enable it depending on row parameter. So different row indexes can have different enabled state.


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 Speed

Speed

    Senior Member

  • Members
  • PipPip
  • 207 posts
  • Gender:Male

Posted 23 January 2025 - 12:47 AM

Thanks Boki!






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users