Jump to content


Photo

NxExpandPanel


  • Please log in to reply
3 replies to this topic

#1 dem

dem
  • Members
  • 9 posts
  • Gender:Male

Posted 11 February 2010 - 01:42 PM

Hi,

When the NxExpandPanel is Expanded, the ShowChildrens method is called.

This is not very good...

When I set a component inside this panel to Visible := False I want it not to be visible when I expand the this component.

Unfortunately, the ShowChildrens method sets the Visible property of all childrens to True. This is not the way it should work as the Visible property is not usable anymore by the developper unless you manage a list of hidden Components by yourself. I think the NxExpandPanel should do this for you.

dem



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 11 February 2010 - 01:53 PM

Hello Dem,

Unfortunately I don't see another way to show/hide children , but if you have some idea I will be glad to listen it.

Best regards
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 dem

dem
  • Members
  • 9 posts
  • Gender:Male

Posted 11 February 2010 - 03:19 PM

QUOTE (Boki (Berg) @ Feb 11 2010, 01:53 PM) <{POST_SNAPBACK}>
Hello Dem,

Unfortunately I don't see another way to show/hide children , but if you have some idea I will be glad to listen it.

Best regards



I did not take time to check how it works in the NxFlippanel, but I have not this problem there.

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 11 February 2010 - 04:16 PM

Hello Dem,

I have try to add one panel for placing components there, but this will cause other problems. So I cam with setting Visible property of child controls.

Best regards
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.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users