CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 [RESOLVED]Visible = false not working!

Print topic Send  topic

Author Message
sosamv

Posts: 50
Posted: 11/12/2008, 12:23 PM

Does anyone knows whats going on??
I've tried:
$Container->NewRecord2->Visible = false;
$NewRecord2->Visible = false;
and none of them work... :-@

//NewRecord2_lblPadre_BeforeShow @95-7E93A142
function NewRecord2_lblPadre_BeforeShow(& $sender)
{
$NewRecord2_lblPadre_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $NewRecord2; //Compatibility
//End NewRecord2_lblPadre_BeforeShow

//Custom Code @96-2A29BDB7
// -------------------------
global $NewRecord1;
$valor = $NewRecord1->txtHidden->GetValue();
echo("(".$valor.")");
if($valor==22){
$Container->NewRecord2->Visible = false;
echo("entró");
}

// -------------------------
//End Custom Code

//Close NewRecord2_lblPadre_BeforeShow @95-C8A5CD6C
return $NewRecord2_lblPadre_BeforeShow;
}
View profile  Send private message
sosamv

Posts: 50
Posted: 11/12/2008, 12:36 PM

Got it, sorry! I was trying to hide the form from the a label's BeforeShow:
NewRecord2_lblPadre_BeforeShow
should be:
NewRecord2_BeforeShow

dang!
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 11/13/2008, 5:28 PM

sosamv,
Could you please add [RESOLVED] or [SOLVED] to your thread title. Thanks.
View profile  Send private message

Add new topic Subscribe to topic   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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