Jump to content


Photo

Visible problem of sub items


  • Please log in to reply
6 replies to this topic

#1 Unx

Unx
  • Members
  • 37 posts

Posted 25 July 2012 - 11:46 AM

I have follow situation this is showing when a user select a 3D element

Posted Image

When a user click on a 2D element i hide (visible=false) the Z position

Posted Image

when a user deexpand the tree
Posted Image

and now select a 3D element (visible the Z positions)
the inspector is showing the Z positions when expanded=false
Posted Image

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 25 July 2012 - 11:00 PM

Hi,

Can you please send me small demo project? Thank you.
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 Unx

Unx
  • Members
  • 37 posts

Posted 26 July 2012 - 11:02 AM

Email is sended

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 08 August 2012 - 10:53 PM

Hi,

Please sorry for delay,

Here is a updated code:


function TNxPropertyItem.GetShown: Boolean;
begin
  Result := Visible;

  { Parent }
  if Assigned(ParentItem) then
  begin
	Result := Result and (ParentItem.Shown and not ParentItem.Hidden) and ParentItem.Expanded; // <------- updated line
  end else
  begin
	Result := Result and not Hidden;
  end;
end;

In NxPropertyItems.pas
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 Unx

Unx
  • Members
  • 37 posts

Posted 09 August 2012 - 10:04 AM

Thanks for the fix.

#6 Zenon

Zenon
  • Members
  • 5 posts

Posted 01 February 2013 - 02:50 PM

Hello,

I have this problem with the new Version 5.1.2013 (NextInspector 5.8). I send you a test application in order to reproduce this error.

Test 1:

In the beginning Parent and child items are visible. Then hide Parent Item (set Item.Visible := False). All items vanish. Then show Parent Item (set Item.Visible := True). Expected: Parent and children should be displayed again. Fact: only children are displayed.

Test 2.

First hide all items and then show all items: Expected: All items are visible. Fact: no items are displayed

Please, help! This is very big problem for our application and our users.

Kind regards,
Vadim

Attached Files



#7 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 02 February 2013 - 09:17 PM

Fixed. It will be in next release.
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