CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Check edit mode and hide a panel.

Print topic Send  topic

Author Message
bowtellj

Posts: 65
Posted: 10/27/2007, 12:55 AM

I am trying to hide a panel in the before show event. The Panel contains a bank if image link buttons. The main record panel on the page is called "contacts" and the panel for the links is called "ÄctionButtons". I am having no luck with this code.

//Custom Code @25-2A29BDB7  
// -------------------------  
  
global $ActionButtons;  
global $contacts;  
  
if (! $contacts->EditMode)  
 {  
     $ActionButtons->Visible = false;  
 }  
// -------------------------  
//End Custom Code

_________________
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
bowtellj

Posts: 65
Posted: 10/27/2007, 1:58 AM

I think the problem I was having was the panel actionbuttons was within the contacts panel......when I moved the panel to another area on the page things worked fine.


How do I turn off a group of buttons in my record table (within contacts panel)....buttons are located above the table header in a new table row II have added.
_________________
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

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.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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