CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Menu Item Visible property not working

by zsleo » 12 Sep 2016 03:36

CGD version 3.0.0.46

At design time and at run time setting an item's visible property to false does not work.

Disabled property does work...

Can this be fixed please.

TIA
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by Jorge Sousa » 12 Sep 2016 15:44

Hello

This is working

See demo attached
You do not have the required permissions to view the files attached to this post.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by zsleo » 13 Sep 2016 02:18

Jorge

This does not work as expected...

In your project I changed the following:

Design time:
...Items[1].Visible := False;

Run time for OnCreate:
...Items[0].Visible := False;

On first render both are still visible.

Run time your button:
changes visibility of Items[0] correctly but if you place a break point on your button event you will see that the Items[1].Visible = False but it still visible

Regards
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by Jorge Sousa » 13 Sep 2016 12:22

Hello Leo

Thanks for your report

The problem was not setting invisible items assigned at creation time (design or runtime)

Fixed for next release
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to JQContextMenu

cron

Who is online

Users browsing this forum: No registered users and 5 guests

Contact Us.