Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Flex
|
Flex Discuss the Adobe Flex programming language
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flex section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 16th, 2009, 12:40 AM
Registered User
 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy In Flex 3 the panel inside a viewstack is not visible

In the flex coding, the command

viewstack.selectedChild = printScreen.

has been given,and its always getting executed when the particular screen/function is called.

But the displaying of the screen happens only sometimes.

In all conditions the Viewstack is getting activated and is being displayed.

But the panel in the Viewstack is not getting displayed always.

Cant understand why its not happening.

I have checked it in Debug mode also.

Always the code is getting execute successfully.

But in the Viewstack the panel/screen is not getting diaplayed.

I need a help in this.


Code:-

public function openPrinter():void{
viewstack.visible=true;
mainPanel.enabled=false;
viewstack.selectedChild=printissue;
}




<mx:ViewStack id="viewstack" creationPolicy="auto" width="100%" height="100%" visible="false" hideEffect="{fadeOut}" selectedIndex="{-1}" resizeToContent="true" resizeEffect="true" resize="true">


<pr:PrintIssue id="printissue" showEffect="{irisIn}" height="100%" width="100%" user="{user}" LLCookie="{LLCookie}" verticalCenter="middle" cancelPrintIssue="cancelPrintIssue()"/>


</mx:ViewStack>

Last edited by Soorej Simon; July 16th, 2009 at 06:56 AM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a Panel visible in a FormView steve35719 VB How-To 0 June 29th, 2006 07:49 AM
Panel.visible shai505 C# 1 April 25th, 2006 05:10 AM
ViewState problem when adding a panel to a panel koekie17 C# 3 February 20th, 2006 09:17 AM
visible vs. not visible on form akibaMaila VB.NET 2002/2003 Basics 2 August 15th, 2005 02:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.