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;
}
|
 |
 |
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!
|
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 11/13/2008, 5:28 PM |
|
sosamv,
Could you please add [RESOLVED] or [SOLVED] to your thread title. Thanks.
|
 |
 |
|