CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Hiding a panel

Print topic Send  topic

Author Message
bowtellj

Posts: 65
Posted: 11/17/2008, 9:59 PM

I have a panel on an includable page with the following code in the before show event and the panel is not responding. It contains a couple of link controls. I have used similar code elsewhere in a form and I have no problems. Does an includable page respond differently?


global $Panel_Member;

if (!CCGetGroupID()>10){
$Panel_Member->Visible = true;
}else{
$Panel_Member->Visible = false;
}
_________________
Thanks

James

Just another Newbie! - Apache 2.24, PHP 5.2.3, MySQL 5.0.41, Windows XP SP2. CCS 3.2.0.2/4.0.2
View profile  Send private message
gerrit


Posts: 131
Posted: 11/18/2008, 5:06 AM

in beforeshow of the record form



if (CCGetGroupID() <= levenIwant ){
$myform1->visible=false;
}


_________________
| http://www.vision.to |
View profile  Send private message
jjrjr1


Posts: 942
Posted: 11/18/2008, 6:49 AM

Hi

Why not just use the hide show component action for the before show event?

That way it is not custom code.

Just wondering


_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com
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.

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.