How can I display which frame I want shown and hide others?

I have a frame which is my login prompt (frmLogin). After the user logs in I need to display frmMain. How do I hide the frmLogin and frmMain? frmLogin could possibly be used again so I don't wish to unload it.

Will there always be just one frame visible?
  Frame showing = null;
  . . . // build your frames, but don't show 'em
  show( someFrame );
  void show( Frame f ) {
    if ( showing != null ) showing.setVisible( false );
    showing = f;
    showing.setVisible( true );
  }

Similar Messages

  • How can I display de last items of a region from other page in Portal?

    I want to display de last five items (f.e.) included in a region (with attributes created) from other page. I've tried using custom search, but it also shows the attribute names, and I want show the attribute values (I don´t know how can I format these attributes).
    Thanks a lot.

    How can I display the last items of a region from other Oracle Portal page?

  • How can I tell which pictures have both raw and jpeg?

    if I import with jpeg as master, how can I tell which photos also have a raw version?

    To ways, one create a filter with file type set to RAW+JPEG, two look at the badges on an image, a badge with an 'R' in it indicates the image is part of a RAW+JPEG pair and the RAW image is the master, if its a 'J' the JPEG is the master.

  • How can I display the last items of a region from other Oracle Portal page?

    I want to display de last five items (f.e.) included in a region (with attributes created) from other page. I've tried using custom search, but it also shows the attribute names, and I want show the attribute values (I don´t know how can I format these attributes).
    Thanks a lot.

    create a stored procedure (f.e. in schema myschema create a stored proc named renderAsHTML)
    code for the procedure :
    PROCEDURE renderAsHTML(p_itemId varchar2,p_pageId varchar2,p_siteId varchar2) IS
        l_displayName  portal.wwsbr_all_items.display_name%type;
        l_name         portal.wwsbr_all_items.name%type;
        l_publishDate  varchar2(10);
        l_url varchar2(250);
    BEGIN
         -- Looking for item datas
         select display_name, name,   to_char(publish_date,'dd/mm/yyyy')
         into l_displayName,l_name, l_publishDate
         from portal.wwsbr_all_items
         where id =p_itemId and language=portal.wwctx_api.get_nls_language;
         -- getting the URL og the item
         l_url := portal.wwpob_page_util.get_page_url(p_pageId, p_siteId);
         -- HTML rendering
    htp.p('<.a href="'||l_url ||'/'|| l_name ||'">' ||  l_displayName ||'</.a><.br/>');
    htp.p('Published on ' || l_publishDate ');
    EXCEPTION
        WHEN others THEN
               htp.p('<.div>Somme error occured , code is ' || SQLCODE || '.</.div>');
    END renderAsHTML;
    please notice that I've added a dot in HTML tags to avoid this forum to interpret them
    note : make sure that you granted "execute" for the public user on teh procedure you've just created.
    go to item properties (navigator>shared objects>item types>modify the one you want
    go to tab3 (procedures)
    set the following options :
    type : PL/SQL
    call proc : myschema.renderAsHTML
    link text : render as HTML
    icon : keep blank
    select the "display proc results with the item" option
    pass the following parameters :
    attribute1 : item ID as p_itemId
    attribute1 : page ID as p_pageId
    attribute1 : pagegroup as p_siteId
    Now, in your custom search portlet, go to results rendering, remove all attributes and add the "associated function" attribute.
    Now, all the HTML generated by the stored proc will be rendered instead of the item.

  • How can I set which projects use Proxy Media and not just change every project?

    Hi there
    I can see how to change ALL projects to use Proxy Media or Original/Optimised Media
    in
    Preferences>Playback
    But I'm switching between projects a lot and I only want to use Proxy Media on one project, so how can I tell FCPX to only use Proxy Media on that ONE project?
    Thanks

    Perhaps if apple didn't take back prores LT this wouldn't be as much of an issue.
    Pores LT was a great compromise between file size and quality. It produced a fine image for most peoples needs and was 30% smaller.
    Hopefully it will be returned soon. I can't imagine why it's not already there. Unless they want to charge for it, ... again..
    Have you tried capturing as full res, then change prefs back to proxy, open a new project and import the full res files?
    In FCP7 the render pref was separate from the capture pref. is that gone too?
    If my idea doesn't work, Surely someone will chime in with a creative work around to this.
    And hopefully it'll get fixed soon in an update.
    Best,
    g

  • How can I display assignment-level Work in hours and days in the same view?

    I have a view based on Task Usage and I shows the Work figure for each resource assigned to a task.  My Options settings are to display Work in hours.  Want I'd like to do is have a custom field to calculate the equivalent number of days for each
    assignment-level work value.  Our hours per day are 7.4 so the calculated field should be [Work]/7.4.  eg.
    Task Name >  Work         >  Work-days (Calc'd Field)
    Task 1
        Fred        >  7.4 hrs     >  1 days
     I tried creating a Resource custom field to do this but what displays is the value of the Task-level Work and this same value is repeated on every assignment row.  MSP is not using the Work value of the assignment. 
    Is there a way to acheive this view?
    Thanks
    John

    You're welcome John.
    You could have a calculated task custom field which could divid the work in hours by 7.4 hours, but even like this you couldn't add it to a usage view and it would be only at task level, not assignment. Maybe a VBA macro could switch automatically the option
    but I'm not sure.
    If a reply above helped you, please mark it as an answer so other users with a similar concern can refer to it.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How can I display the 11000+ "items not shown?"

    I have Elements 7 and running Windows 7 64bit. "Show all" only shows a couple of thousand photos and 11000+ "items not shown."  I have never stacked or hidden any photos.  I've tried everything.  The "show hidden" gives me 0 photos.  When I ask to show a tag of some of the missing photos, I again get 0. The photos are not shown in any of the views.  When I try to reimport the photos, it says they are already there. I need help desperately. I've put too much work into this organizer to start from scratch.

    Thanks for the reply and the terrific FAQ source.  I followed the directions suggested, but things actually got worse.  When I tried display all, I got 0 photos - nada - zip.  I kept messing around and finally success.  I tried so many combinations of things that I'm not sure which actually solved the problem, but I believe it was reconnect all.  I had tried this a couple of times before without success, but this time I deleted from the catalog all items elements couldn't find, even though I knew where they were.  Lo and behold all 13000 photos appeared.  BTW many of those are duplicates.

  • How can I tell which object is causing my error

    How can I determine which object has the lock, and for brownie points, release it?
    The SP is using a view, are view read only by default in Oracle, so I can rule that out as the 'locker'?
    If not, I'd like to modify with the equivalent of WITH(NO_LOCK). How can I do this in Oracle?
    Error report:
    SQL Error: ORA-04021: timeout occurred while waiting to lock object
    ORA-06512: at "PVNG_RPT.RPT_POP_COMMON_ORDER_PATRON", line 5
    ORA-06512: at "PVNG_RPT.RPT_SP_ORDER_DETAIL", line 402
    04021. 00000 - "timeout occurred while waiting to lock object %s%s%s%s%s"
    *Cause:    While waiting to lock a library object, a timeout is occurred.
    *Action:   Retry the operation later.
    Many thanks
    DC

    That's the insert statement.....
    INSERT INTO
    Ahaaaaaaa,
    I have investigated moere and it looks like one of my American colleagues has been tinkering.
    I see RPT_POP_COMMON_ORDER_PATRON_1 and RPT_POP_COMMON_ORDER_PATRON_2 in the object tree.
    I've dropped _2 - Fine
    I'm trying to drop _1, but that's having a really good think about it......>= 3 mins so far.
    So, I guess that that points to RPT_POP_COMMON_ORDER_PATRON_1 being the culprit iof the lock, hence why it is struggling to be dropped.
    How can I drop a proc that has locks, essentially saying, "I don't care what you're doing - I want you out of my database and take your locks with you!". :)
    Thanks all
    DC

  • I have lots of duplicate songs in ITunes. How can I tell which ones were purchased vs ripped?

    I am trying to delete duplicate songs in iTunes library. How can I tell which ones were iTunes purchases and which ones I ripped from CD's.

    If you turn on the Kind column your purchases will read Purchased AAC audio file or Protected AAC audio file.
    BTW I've written a script called DeDuper which can help remove unwanted duplicates. See this  thread for background.
    tt2

  • How can I display the HTML page from servlet which is called by an applet

    How can I display the HTML page from servlet which is called by an
    applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
    I am calling my struts action class from the applet. I want to show the response in the same browser.
    Code samples will be appreciated.

    hi
    I got one way for this .
    call a javascript in showDocument() to submit the form

  • How can I display the front panel of the dinamically loaded VI on the cliente computer, the VI dinamically loaded contains files, I want to see the files that the server machine has, in the client machine

    I can successfully view and control a VI remotly. However, the remote VI dinamically loads another VI, this VI loaded dinamically is a VI that allows open others VIs, I want to see the files that contains the server machine, in the client machine, but the front panel of the dinamic VI appears only on the server and not on the client, How can I display the fron panel with the files of the server machine of the dinamically loaded VI on the client computer?
    Attachments:
    micliente.llb ‏183 KB
    miservidor.llb ‏186 KB
    rdsubvis.llb ‏214 KB

    I down loaded your files but could use some instructions on what needs run.
    It seems that you are so close yet so far. You need to get the data on the server machine over to the client. I generally do this by doing a call by reference (on the client machine) of a VI that is served by the server. THe VI that executes on the server should pass the data you want to diplay via one of its output terminals. You can simply wire from this terminal (back on the client again) to an indicator of your choosing.
    Now theorectically, I do not think that there is anything that prevents use from getting the control refnum of the actual indicator (on the server) of the indicator that has the data, and read its "Value" using a property node. I have never tried this idea but it seems t
    hat all of the parts are there. You will need to know the name of the VI that holds the data as well as the indicator's name. You will also have to serve all VI's. This is not a good idea.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • I have made a book of my I Photo pictures. In certain layouts there is a textframe. How can I avoid the frame becoming visible in the print if I don't want to write anything? Should I just leave it or should I delete the text "Write your text here" ?

    I have made a book of my iPhoto pictures. In certain layouts there is a text frame. How can I avoid the frame becoming visible in the print if I don't want to write anything?  Should I just leave it untouched or should I delete the instructing text "Write your text here"?

    Most pages have layouts for pictures only or pictures with text boxes. Either select the same layout for that page but the one without the text box or put a space in the text box.
    Putting a space in the text box will avoid getting the warning when ordering that there's an unfilled text box in the book. The box will not be visible in the final product.  You can and should check the book before ordering by previewing it as described in this Apple document: iPhoto '11: Preview a book, card, or calendar before you order or print it
    Happy Holidays

  • How can I tell which display hardware is installed on my powerbook G4 using the serial number?

    I have an old Powerbook G4 with no OS on it, and would like to install Linux.  Using the serial number, how can I find which display hardware is installed?

    Do you mean how to find the manufacture of the LCD display itself, or the video hardware config on the logic board?
    Finding the code for the vendor who made the display requires an OS because it is accessed through the Terminal app.
    If your serial number starts with "W8" and you are having lines show up, that is a known problem associated with the plant in Shanghai China. It also affected a large number of G5 iMacs. Only a new display will fix it and that probably costs more that any used G4 Powerbook is worth on the used market.

  • How can i display a image file which is placed in the applications server

    Hi all,
    Can any one help me how can I display a image file which is present in the application server.
    With regards,
    M.Ramana Murthy

    hi,
    *& Form TOP_OF_PAGE
    * text
    FORM F_TOP_OF_PAGE.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    IT_LIST_COMMENTARY = IT_LISTHEADER
    i_logo = Logo name
    * I_END_OF_LIST_GRID =
    ENDFORM. "TOP_OF_PAGE
    rgds
    Anver

  • HT1338 I wanted to import files but the computer says that there is not enough free space. how can i see which files take up the space?

    I wanted to import files but the computer says that there is not enough free space. how can i see which files take up the space?

    Here's freeing up disk space.
    DALE

Maybe you are looking for

  • 10.5 machine cannot send to cluster

    I have a cluster set up that works fine when other computers running OS 10.4 submit to it. However, there is only one machine that is running 10.5 on the network and whenever I try to send a job to the cluster with that machine it just gets stuck on

  • Newbie question:  How do I set the input for a series of audio recordings to be different, if I only have a 2 channel interface?

    I am using a 2 channel interface (Apogee Duet) and I can record a voice and guitar track fine.  My question is how do I record a third audio track after the fact?  It seems when I attempt to record an additional track, say bass for example, Logic tre

  • HEY GIVE ME SOME HELP !!!!!!!!!!!!!!!!

    Hey I try the java but NoClassDefFoundError. Which is it? Hurry!!!!!!

  • Ipod will not restore in disc mode

    I tried the steps listed in ipod support to unfreeze my mini. The icons shift from the apple logo, to file error, to do not disconnect. When I tried to restore it in disc mode, I got a message on my PC that said, "Can't mount ipod." Does this mean th

  • Javah : Class Not Found Error

    Hi ., I am trying to write my first native method under all windows (98/2000 and even under NT) environments , and I have written a simple java source(say MyProgram.java) ,as it is shown at the Javasoft documentation. This file compiles cleanly and I