CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Hiding whole panel - Solution here!

Print topic Send  topic

Author Message
Adam
Posted: 02/14/2003, 5:25 AM

Hello there!

I couldnt find any way to hide not just one control, but a whole panel... until a while... here is the solution:

mark a block like this:
<!-- BEGIN blockName -->
anything here
{even_dynamic}
<!-- END blockName -->

By default, it is hidden. To show it, add code to before show, and type:
(PHP)
global $even_dynamic;
$even_dynamic->Show(); // Do it with all dynamic content!!!

global $Tpl;
$Tpl->Parse("blockName", false);


And thats it. I hope it helped someone!

Regards,

ADam
lneisius
Posted: 02/14/2003, 8:20 PM

Tried to do this to hide a table row in a record form and it did not work! Using ASP, Any Ideas?

<!-- BEGIN blockName -->
<tr>
<td class="{Theme}FieldCaptionTD" nowrap colspan="2">Postal Code </td>
<td class="{Theme}DataTD" nowrap><input class="{Theme}Input" maxlength="10" name="{PostalCode_Name}" size="10" value="{PostalCode}"> </td>
</tr>
<!-- END blockName -->

   


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.