CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 make control visible

Print topic Send  topic

Author Message
RussellP

Posts: 20
Posted: 09/22/2007, 12:59 AM

Hi

I am working with the code example to make a control invisible, with a record named responses and a test box names authors; In the server on show event, I have

global $Responses;

$Responses->Author->Visible = False;

This code works fine. The question is, can the control authors be made visible? I tried adding the following code to a button, with the server on click method, but the control is not made visible.

global $Responses;

$Responses->Author->Visible = True;

Thanks

Russell

_________________
Russell P
View profile  Send private message
datadoit.com
Posted: 09/22/2007, 6:45 AM

One is happening before the other. The button's onclick event happens
before the page's before show event. Thus, the page's before show code
is the last thing that is happening in this situation.

Try using the button to set a URL param, then check for this parameter
in the record's BeforeShow event to determine visibility or not.

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.