Jump to content


Photo

How to test for the Hide or Visible state of a Cell?


  • Please log in to reply
5 replies to this topic

#1 BelangerC

BelangerC

    Senior Member

  • Members
  • PipPip
  • 221 posts
  • Location:Richmond, CA USA
  • Interests:Alternative medicine, programming for

Posted 04 August 2021 - 01:07 AM

Hi, Boki:

 

Off hand I could not find a Cell property or method to do this?

Cell.Visible := False

and 

Cell.Hide 

 

appears to be the same functionality.

But no way to test that state at the cell level.

 

Please advise,

Chuck



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 04 August 2021 - 09:59 AM

Hi Chuck,

 

I'm not sure if I understand. There is a Visible property inside INxCell interface that you can inspect.


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 BelangerC

BelangerC

    Senior Member

  • Members
  • PipPip
  • 221 posts
  • Location:Richmond, CA USA
  • Interests:Alternative medicine, programming for

Posted 04 August 2021 - 12:10 PM

Yes, tried to use before and got error message. Tried again just now and it works, but ... see my response to thread about showing NULL values for dates.

Chuck



#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 04 August 2021 - 01:42 PM

Hi,

 

This Visible property is used for merging cells, so it's not used for just Value hiding. It basically hides a cell and then merge it with next one. So you don't need this property for your problem. I will reply you on other thread too.


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 BelangerC

BelangerC

    Senior Member

  • Members
  • PipPip
  • 221 posts
  • Location:Richmond, CA USA
  • Interests:Alternative medicine, programming for

Posted 05 August 2021 - 11:13 AM

Hi, Boki:

So what is the solution to showing a blank value? How do I test for a NULL value in the grid? whether datetime or integer?

 

Thank you,

Chuck



#6 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 05 August 2021 - 11:21 AM

Hi,

 

It will be Empty, but I'm researching how to answer you on your questions (need to finish something first).


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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users