CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Visible = false not working?

Print topic Send  topic

Author Message
phpwebmonkey
Posted: 10/07/2002, 1:53 PM

in my "page after initalize" event i have this custom code:

global $form_answers;
$form_answers->Visible = false;

note: once it works i will wrap in the conditional statement but for now i just want to make the form not visible.

i have verified spelling as well.

thoughts?
phpwebmonkey
Posted: 10/07/2002, 3:22 PM

actually the problem comes when this pages gets included on another page. freestanding, it works just fine.
phpwebmonkey
Posted: 10/07/2002, 3:51 PM

found the answer. since my page was being included, i had to add the global page variable.

global $page_name;
global $grid_name;

if($condition)
{
$page_name->grid_name->Visible = false;
}

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.