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 -> Español

 link invisible?

Print topic Send  topic

Author Message
mvera

Posts: 5
Posted: 07/12/2006, 12:43 PM

hola maestros intente hacer un link invisible dependiendo de la ocacion.

hice lo siguiente.

1-creo la pag.
2-pongo un link (la pag. esta en blanco , puse solo el link)
3-events(en tab)->before show->add action ->hide or show component.
4-le doy los datos .
5-genera lo siguiente:


<?php

//BindEvents Method @1-8E75EC7B
function BindEvents()
{
global $Link1;
$Link1->CCSEvents["BeforeShow"] = "Link1_BeforeShow";
}
//End BindEvents Method

//Link1_BeforeShow @7-84E70291
function Link1_BeforeShow(& $sender)
{
$Link1_BeforeShow = true;
$Component = & $sender;
$Container = CCGetParentContainer($sender);
global $Link1; //Compatibility
//End Link1_BeforeShow

//Hide-Show Component @8-EAF14065
$Parameter1 = CCGetFromGet("de", "");
$Parameter2 = CCGetSession("sss");
if ((strlen($Parameter1) && strlen($Parameter2)) && ( 0 <= CCCompareValues($Parameter1, $Parameter2, ccsText)))
$Component->Visible = false;



//End Hide-Show Component

//Close Link1_BeforeShow @7-368844F2
return $Link1_BeforeShow;
}
//End Close Link1_BeforeShow


?>


refresco la pag. pero el link sigue en la pantalla.

¿alguna orientacion?

un saludo.
View profile  Send private message
bedollandres

Posts: 48
Posted: 07/13/2006, 9:00 AM

el las propiedades del link, en "visible" ponle dynamic
_________________
bedollandres
View profile  Send private message
bedollandres

Posts: 48
Posted: 07/13/2006, 9:00 AM

el las propiedades del link, en "visible" ponle dynamic
_________________
bedollandres
View profile  Send private message
mvera

Posts: 5
Posted: 07/13/2006, 1:25 PM

muchas gracias eso era.

un saludo
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.