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