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

 Can't make Listbox invisible?

Print topic Send  topic

Author Message
cgosbee

Posts: 23
Posted: 10/17/2007, 7:47 PM

entity_id is a listbox
EntityNameLabel is a label

The following code works with respect to the label, but the listbox still shows up (although, now it shows without its bound data). Any ideas why?

if ($group_settings->EditMode)
{
$group_settings1->entity_id->Visible = false;
$group_settings1->EntityNameLabel->Visible = true;
}
else
{
$group_settings1->entity_id->Visible = true;
$group_settings1->EntityNameLabel->Visible = false;
}
View profile  Send private message
mrachow


Posts: 509
Posted: 10/18/2007, 12:03 AM

Plese check the property Visible of the Listbox control itself.
It should be set to Dynamic.
_________________
Best regards,
Michael
View profile  Send private message
cgosbee

Posts: 23
Posted: 10/18/2007, 11:44 AM

Thanks! That was it alright!
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.