Problem with TextField formatting

I'm having a little bit of a problem with this very basic bit
of code. The following code works fine: (I apologize for not having
it in a format that may be more suitable)
this.createTextField("my_text", this.getNextHighestDepth(),
10, 70, 400, 100);
my_text.text = "This is my TextField.";
//my_text.embedFonts = true;
However, for some reason, this doesn't work. I'm baffled by
why uncommenting this simple line of code makes it not show up:
this.createTextField("my_text", this.getNextHighestDepth(),
10, 70, 400, 100);
my_text.text = "This is my TextField.";
my_text.embedFonts = true;
Any help would be appreciated.

My guess is that you forgot a few things to work with
embedded fonts...
1) Have you embedded the font you want to use inside your
library and given it a unique id.
2) If you did #1, try this...

Similar Messages

  • Problem with date format when ask prompt web-intelligence

    Bo XIR2 with 5 SP. Instaled on Windows 2003 with support Russian.
    Inside BO every labels, buttons - use russian. But when invoke web-report and Prompt appear there is problem with date format.
    Looks like korean format of date 'jj.nn.aaa H:mm:ss'.  I see system settings of date in Win .. everything right
    What i have to do?
    Where i can change format date for bo?

    GK, try this...
    decode(instr(packagename.functionname(param1 ,param2),'2400'), 0, to_date(to_char(to_date(rtrim(packagename.functionname(param1 ,param2),'(PT)'), 'Month dd, yyyy "at" hh24mi'),'mm/dd/yyyy hh24mi'),'mm/dd/yyyy hh24mi'),
                                                                      to_date(to_char(to_date(rtrim(packagename.functionname(param1 ,param2),'(PT)'), 'Month dd, yyyy "at" "2400"')+1,'mm/dd/yyyy "0000"'),'mm/dd/yyyy "0000"'))-Marilyn

  • Problem with Date format

    Got one more problem Merilyn and Radhakrishnan...
    Regarding the soln y provided me earler with the thread "Problem with date format"...
    What is happening is....I am able to change the 2400 to 0000 but when it is changed from 2400 on jan 1st to 0000 the hour is changing but not the date....the date still remains as jan 1st instead of jan 2nd....
    Eg: Jan 1st 2400 -- changed to -- jan1st 0000
    instead of jan 2nd 0000
    Could you please help me in this issue...
    Thanks,
    GK

    GK, try this...
    decode(instr(packagename.functionname(param1 ,param2),'2400'), 0, to_date(to_char(to_date(rtrim(packagename.functionname(param1 ,param2),'(PT)'), 'Month dd, yyyy "at" hh24mi'),'mm/dd/yyyy hh24mi'),'mm/dd/yyyy hh24mi'),
                                                                      to_date(to_char(to_date(rtrim(packagename.functionname(param1 ,param2),'(PT)'), 'Month dd, yyyy "at" "2400"')+1,'mm/dd/yyyy "0000"'),'mm/dd/yyyy "0000"'))-Marilyn

  • Problem with date format dd/mm/yyyy. But I need to convert yyyy-mm-dd.

    Dear friends,
    I have the problem with date format. I receiving the date with the format dd/mm/yyyy. But I can upload to MySQL only in the format of yyyy-mm-dd.
    how should I handle this situation, for this I've created these code lines.But I have some problem with these line. please help me to solve this problem.
    String pattern = "yyyy-mm-dd";
    SimpleDateFormat format = new SimpleDateFormat(pattern);
    try {
    Date date = format.parse("2006-02-12");
    System.out.println(date);
    } catch (ParseException e) {
    e.printStackTrace();
    System.out.println(format.format(new Date()));
    this out put gives me Tue Apr 03 00:00:00 IST 2007
    But I need the date format in yyyy-mm-dd.
    regards,
    maza
    thanks in advance.

    Thanks Dear BalusC,
    I tried with this,
    rs.getString("DATA_SCAD1")// where the source from .xls files
    String pattern = "yyyy-MM-dd";
    SimpleDateFormat format = new SimpleDateFormat(pattern);
    try {
    Date date = format.parse("DATA_SCAD1");
    System.out.println(date);
    } catch (ParseException e) {
    e.printStackTrace();
    System.out.println(format.format(new Date()));
    this out put gives me Tue Apr 03 00:00:00 IST 2007
    But I want to display the date format in yyyy-mm-dd.
    regards,
    maza

  • Error while opening pdf in reader in windows 8:Can't open this file. There's a problem with file format

    I have a problem with a pdf file which does not open with reader in windows 8 but it opens properly with adobe pdf reader. All other pdf can be opened in reader.But when i open a pdf(see this link for pdf for which i got error http://incometaxsoft.com/temp/Form.pdf)
    it gives error as "Can't open this file. There's a problem with file format".
    The same file opens properly in adobe pdf reader.You can check the pdf file which i have mentioned in the link above.But the reader which comes with windows 8 can open some other pdf in the same PC.What may be the error causing this??

    This has turned out to be an enormous issue for me as I sell PDF files as ebooks. I have done a fair amount of investigating this for my system.
    My files have to be compatible not just across readers but across operating systems.
    To date, I have over 200 PDFs that have functioned flawlessly across Mac, PC (Windows 7 and below), Android, iPhone/iPad, Linux.
    I personally test my PDFs using a variety of readers and PDF editors including
    PDF XChange (my favorite)
    Foxit (runner up for me and I recommend for most people)
    Adobe (the bloated monster)
    Nitro 9 (great for moving graphical elements around)
    ABBYY
    And the Nuance PDF Create toolsets
    Those are off the top of my head. There are a bunch on Android that I test with too.
    I am running the Windows 10 Pro Tech Preview and I have this same problem so I know it isn't fixed yet in any kind of pre-release way (-sigh-)
    Here is what I've learned for my situation
    The PDFs I created using NUANCE'S PDF CREATE PROFESSIONAL VERSION 8
    all fail using the built-in Windows 8/10 PDF reader.
    When I look at the PDF properties for these Nuance created files, the underlying engine used to write them is called "ImageToPDF". Using ABBYY it indicates their own engine as does everyone else that I've tried. It is easy for you to check to see
    what created your PDF by doing a "Control D" (look at the document properties). Perhaps there's a common engine causing issues.
    If I use the exact same source files to create a PDF using any of my other tools I have no issues. I checked the PDF versions made by the tools and they are all set to 1.5.
    A customer mentioned being able to convert them in a way they worked by saving them without having to do any kind of extraction, but I have not been able to duplicate that. Perhaps he did a "print" which seems like it could work.
    In summary, the workaround everyone is talking about, using an alternate reader, of course works. But not everyone wants to change.
     The culprit I have found is my Nuance PDF Creation tools that are using the ImageToPDF engine.
    I hope it gets FIXED as I really don't want to have to regenerate all of my PDF files.

  • A Problem with Region Format Settings

    Hi!
    I have a peculiar problem with Region Format settings on my iPod touch (Settings > General > International > Region Format). It appears that iPod touch can support more region formats than it is stated on that list. Once I registered my iPod, I selected my location, Lithuania, and it automatically set (I think because of this action, and not another, like my PC settings) Region Format to Lithuanian. Although it is nonexistent on the menu list! Good news!
    However, the problem is that while I explored my iPod I accidentally checked another region, and there is no "cancel" option. So my region switched to another. And now I am not able to switch it back to Lithuanian again because there is no such selection (reset or restore didn't help).
    Has anybody any suggestions how could I return to my preferred region format (Lithuanian)? Thanks!

    thats interesting. I think the ipod took those settings from your computer/mac.
    anyway, shouldn't there be something near you that has the same region format settings? maybe you can just use something that's exactly the same.
    and btw: some of the regions have arrows next to them which brings you to subregions of that region. maybe you should check that out?
    otherwise ... well ... I think only a restore would bring back the original settings.

  • Problem with background formatting in pivot table

    Hello,
    I have a problem with background formatting in pivot table. I can't change background (light blue rectangular in upper left corner). Do you have any idea how to do it?
    Here is the link to the picture of the pivot table:
    http://img163.imageshack.us/img163/110/unledfyq.png
    I would be grateful for any help.
    Regards,

    Hey,
    Check this link once, you will need java script to acheive this:
    http://everythingoracle.com/obieehdom.htm
    scroll down to this topic: Parsing using HTML DOM
    Please award points if helpful.
    Thanks,
    -Amith.

  • Problem with date format mask 'D'

    I am experiencing an extremely thorny problem with the date format mask ‘D’. I am trying to use it to check whether today is a Monday. The variable v_temp_day is set to sysdate. For the last 4 weeks the code has behaved erratically – giving a different result at 02:00 than at 10:30 even though it is only taking account of the date. In desperation I inserted a debug statement formatting the date in a variety of ways – with interesting results. Oracle is somehow managing to tell us that today is simultaneously Monday and Tuesday depending on which format mask you choose. Anyone got any thoughts or suggestions?
    PROC_ID TO_CHAR(STAMP_TIM
    EVENT_SQLERRM
    RRHKP010 17092007 02:00:00
    TO_NUMBER( TO_CHAR( v_temp_day, D ) ) = 2. TO_CHAR( v_temp_day, D ) = 2. TO_CHAR( v_temp_day, DY ) = MON. TO_CHAR( v_temp_day, DAY )
    = MONDAY . TO_CHAR( v_temp_day, Day DD-MON-YYYY HH24MISS ) = Monday 17-SEP-2007 020000. TO_CHAR( v_temp_day, D ) = 2.
    SQL> select to_char( sysdate, 'D' ) from dual ;
    T
    1

    My book says the trunc(d,'iw') will return "same day of the week as Jan 1st of that year"It's bad book.
    Please read about [url http://oraclesvca2.oracle.com/docs/cd/B10501_01/server.920/a96540/functions176a.htm#80159]TRUNC & 'IW' Format Model and [url http://oraclesvca2.oracle.com/docs/cd/B10501_01/server.920/a96529/ch3.htm#50331]Database Globalization Support Guide: First Calendar Week of the Year in the manual.

  • Problem with date format from Oracle DB

    Hi,
    I am facing a problem with date fields from Oracle DB sources. The date format of the field in DB table is 'Date base type is DATE and DDIC type is DATS'.
    I mapped the date fields to Date characters in BI. Now the data that comes to PSA is in weird format. It shows like -0.PR.09-A
    I have changing the field settings in DataSource  to internal and external and also i have tried mapping these date fields to text fields with out luck. All delivers the same format.
    I have also tried using conversion routines like, CONVERSION_EXIT_IDATE_INPUT to change format. It also delivers me the same old result.
    If anybody of you have any suggestions or if anybody have you experienced such probelms, Please share your experience with me.
    Thanks in advance.
    Regards
    Varada

    Thanks for all your reply. I can only the solutions creating view in database. I want some solution to be done in BI. I appreciate if some of you have idea in it.
    The issue again in detail
    I am facing an issue with date fields from oracle data. The data that is sent from Oracle is in the format is -0.AR.04-M. I am able to convert this date in BI with conversion routine in BI into format 04-MAR-0.
    The problem is,  I am getting data of length 10 (Output format) in the format -0.AR.04-M where the month is not in numericals. Since it is in text it is taking one character spacing more.
    I have tried in different ways to convert and increased the length in BI, the result is same. I am wondering if we can change the date format in database.
    I am in puzzle with the this date format. I have checked other Oracle DB connections data for date fields in BI, they get data in the format 20.081.031 which will allow to convert this in BI. Only from the system i am trying creating a problem.
    Regards
    Varada

  • Problem with table formatting

    I'm having a lot of problems with tables not reflecting their formatting when I open them in a browser. I've tried opening in Safari, Firefox & Camino with the same results. For example, a row with the following html content has a much larger height & aligns the text to the top when opened in a browser:
    <tr>
              <td height="15" colspan="3" valign="middle"><h6 align="center">Summer 2009</h6>
              </td>
            </tr>
    If it matters, this is a row in a table nested in another table. Here's the code down to the row in question (all tags are closed properly in the remaining code):
    <table width="600" border="2" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center" valign="top"><img src="images/events.jpg" width="250" height="35"></td>
        </tr>
        <tr>
          <td align="left" valign="top">
          <table width="100%" border="0" align="center" cellpadding="1" cellspacing="0">
            <tr>
              <td height="15" colspan="3" valign="middle"><h6 align="center">Summer 2009</h6>
              </td>
            </tr>
    I am using a style sheet for text. Here's the code for "h6" if that matters:
    h6 {
    font-family: Verdana, Geneva, Arial;
    font-size: 14px;
    font-weight: bold;
    color: #660099;
    Any ideas is appreciated. This is driving me nuts. Spacing and alignment sometimes work and sometimes don't work. Dreamweaver is supposed to make such things easier!
    Kevin

    Header tags are usually used round a bit of text, not parts of a table, and if you don't specify the margins on them, can force different amounts of space below in different browsers. Try making the bottom margin on h6 zero, and confine it to text within a cell.
    Also, if you can upload your page somewhere and let us have the url it will be easier to troubleshoot.

  • Problem with text formatting on upload

    Hi there,
    I am new to iWeb and coming from a design background where I'm used to being able to format text leading and character spacing in programs like inDesign.
    I have found where to do this in iWeb so that my text is not all bunched up and close together, giving the layout some breathing space, but when I publish the site and view it online this formatting doesn't work and the text goes back to its old bunched up look.
    Does anyone have a tip on how to fix this?
    Thanks!

    Thanks Tom,
    The URL is www.yachtprojects.eu and I am having all sorts of problems with the site now. I am based in France, using Orange as my ISP and I cannot access the site from either my home computer or my iPhone (which is also on Orange). It takes AGES to load and then finally comes up with the text but no images.
    Other people however can see the site, and when I was in Ireland last week, I could see it, but it had some worse problems with the fonts not fitting the layout than I was describing before. I have no idea why this has happened or how to fix it and I'm currently looking at moving the site to a different server to see if that makes a difference. The current server people claim that they can see the site OK so they have no interest in helping me solve the problem.
    With regard to viewing the site on other browsers, I have tried Safari, Firefox and Explorer and none can view the site properly from my home Mac. Other people everywhere else seem to be able to see the site, but I don't know if the text looks the way it should or not and I suspect the line spacing problem is still there.
    The best representation of the site with just the initial problem of line spacing but all other things OK is if you look at it on my mobile me server: http://web.me.com/alisononline/yachtprojects/Home.html this is the way the site was meant to look, but just with the line spacing not as spread out as it should be.
    It would be wonderful if you could help shed some light on these problems for me!
    Thanks
    Alison

  • Problems with TextField in Window (jre 1.4.2)

    Hi,
    I have a problem with the following code, which used to run o.k. on older vm's:
    <CODE>
    import java.awt.*;
    import java.awt.event.*;
    class TFTest extends Window {
         public TFTest(Frame frame) {
              super(frame);
              TextField tf = new TextField("Hello!");
              tf.setEditable(true);
              tf.requestFocus();
              add(tf);
         public static void main(String args[]) {
              System.out.println("Starting MAPP ParentGui...");
              Frame frame = new Frame("TFTest");
              TFTest mainFrame = new TFTest(frame);
              mainFrame.setSize(240, 320);
              mainFrame.setVisible(true);
    </code>
    The TextField doesn't seem to become editable whatever I change....
    gr,
    Peter

    Two problems:
    1. You must make parent Frame visible to make child Window focusable(see Javadoc for Window.isFocusable)
    2. You request focus on the component before adding it to the top-level. Make sure you first add component, then request focus on it.

  • Problem with Textfield autocomplete -- only uses the INSTR function

    Hi dev team,
    I use the new APEX "textfield autocomplete" item type and got a really damn problem with it.
    I have a table with an index on the same column which I want to search with the autocomplete field.
    Index:
    CREATE BITMAP INDEX TEST.GEO_DATA_IDX1 ON TEST.GEO_DATA (postcode)
    NOLOGGING TABLESPACE TS_INDEX;Select which is automatically generated by APEX 4:
    SELECT   a.*
      FROM   (  SELECT   DISTINCT postcode AS RV
                  FROM   TEST.GEO_DATA
                 WHERE   country_id = :P1_COUNTRY
              ORDER BY   1) a
    WHERE   INSTR ("RV", :p$_search_string) > 0 AND ROWNUM <= :p$_max_rows;
    -- plan
    Plan
    SELECT STATEMENT  ALL_ROWSCost: 4,308  Bytes: 45,31  Cardinality: 1,97            
         2 SORT UNIQUE  Cost: 4,307  Bytes: 45,31  Cardinality: 1,97       
              1 TABLE ACCESS FULL TABLE #TABLE# Cost: 4,306  Bytes: 47,311  Cardinality: 2,057  In APEX 3 I used the addon from Tyler Muth with my own Select:
    SELECT   DISTINCT
                postcode AS DV,
                postcode AS RV
         FROM   TEST.GEO_DATA
         WHERE   country_id = L_COUNTRY
         AND    postcode like l_search||'%'
         ORDER BY 1
    -- Plan
    SELECT STATEMENT  ALL_ROWSCost: 840  Bytes: 152,867  Cardinality: 13,897                                
         8 SORT ORDER BY  Cost: 840  Bytes: 152,867  Cardinality: 13,897                           
              7 HASH UNIQUE  Cost: 838  Bytes: 152,867  Cardinality: 13,897                      
                   6 VIEW VIEW index$_join$_001 Cost: 836  Bytes: 232,111  Cardinality: 21,101                 
                        5 HASH JOIN            
                             2 BITMAP CONVERSION TO ROWIDS  Cost: 31  Bytes: 232,111  Cardinality: 21,101       
                                  1 BITMAP INDEX RANGE SCAN INDEX (BITMAP) #INDEX#
                             4 BITMAP CONVERSION TO ROWIDS  Cost: 45  Bytes: 232,111  Cardinality: 21,101       
                                  3 BITMAP INDEX SINGLE VALUE INDEX (BITMAP) #INDEX#Is there a chance getting my INDEX used by the new APEX item? I guess not. But I still want to ask before I rebuild everything. :)
    Best regards,
    Tobias

    Hi Tobias,
    I assume you are currently using "Contains & Case Sensitive" for the "Search" attribute. Have you already tried out "Exact & Case Sensitive"? Because that will internally use the LIKE operator as your original query does and because the % is at the end it should enable the use of an index. But it might still not work, because the ORDER BY might be executed at a different time than in your original example, but it's worth a try.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Problem with email format in SBO Mailer

    Hi all.
    I use the SBO Mailer for send email. I can send and receive the mails but I have a problem in the format that SAP sent the email becuase put on tthe message before the line of signature a tag like " < BR "
    Anyone knows how to eliminate the line of the signature? I think the problem it´s with this line.
    Can you help me? Thanks a lot.

    Hi, I just write a little message and that´s it. In the mail appears my message and then '<BR' then a line and finally the signature. I tried to delete the signature but it´s the same problem
    Thanks

  • Problems with Open Format Timeline

    HEllo to everybody.
    I have a little problem with the open format timeline editing.
    I'll try to explain it as clearly as I can.
    I'm editing a project which will output as PAL 25 Uncompressed 8-bit, letterboxed, through an Aja LH to IMX tape
    I'm editing different formats, PAL 25 and HDV 720p.
    I'm now doing the online editing. I used media manager to create an offline project and I'm recapturing my media at high quality.
    My timeline settings are PAL 25 Uncompressed 8-bit. I'm recapturing my PAL 25 footage Uncompressed 8-bit and my HD footage via component through the Aja with the setting 720p 50 Uncompressed 8-bit.
    On the timeline though, my HD footage shows cropped on both sides. Meanwhile when I open the master clip from the browser it is in his 16:9 aspect ratio.
    When I re-edit the clips in the timeline they are no longer cropped but show in their 16:9 aspect ratio.
    My question:
    is there a way to recapture the clips from my timeline in a way that they already show in their original 16:9 aspect ratio?
    Or the only thing to do is to swap all the clips on the timeline with their corresponding master clips in the Browser? The project is an hour and 20 minutes, and the second option is quite time consuming and greatly boring.
    I would greatly welcome any suggestion
    thank you
    nicola

    Thanks Tom.
    I suspected it might be as I heard it flowing glibly off the narrator's tongue.
    Incidentally, your fame is spreading over here.
    Last night at our club meeting we were visited by a neighbouring society. One woman happened to mention to someone that she was having problems with FCE 4, so she was directed to me.
    I mentioned the ADFs and your name, to which she responded, "I'm working through his book at the moment!"

Maybe you are looking for

  • Request not appearing in QA Worklist

    Hi, We have a 3 system landscape and the QA approval procedure is configured. Any transport request that is created and released in the DEV box is automatically trnapsorted to the QA (batch program) and then gets appended to the QA worklist for the a

  • SNP: How to "lock" initial column in SNP data view (SCM7.0 / SP8)

    Hello experts, after a change from SCM5.0 to SCM7.0 we are seeing a change in a tiny but very important capability and we are trying to re-establish it in SCM7.0. If somebody has an idea how to address this that would be of great help: As of SCM5.0 u

  • ADFBC Where to define labels for custom Application Module method arguments

    I was wondering if there was a "good place" to define these labels in ADF Business Components. I can just change them for the UI for my current project, but I thinking there might be a better way. Thanks, Brian

  • Urgent: Mailing text files

    I have currently written a stored procedure which calculates bills and saves them in a separate text file for each user/customer. I want to automatically mail them to each user. Their email address will be stored in the database. Can any one help me

  • Loyalty points are stored in which entity?

    Hi, I need to integrate Siebel's loyalty management with ATG and for That I need to know What is the data that flows from Siebel to ATG for loyalty functionality. So I need to know below things- In which entity loyalty/reward points are stored in Sie