Caret and Size(Width)

I want to change the width of Caret in the JTextFild,
for example,
"0000" is the text in the JTextField,and the first "0" is selected As default.
when I input "1",the text is changed to "1000",and the second "0" is selected automatically,but the caret position is between "1" and "0".
I would very appreciate it if anybody can answer my question!
Thank u very much!

how can we get the LINE position of a caret in a text
area??
in the api theres only 2 method, getDot() and
getMark()
can any 1 help?? This question isn't so easy, at least not for me. The only glimses of information from my poor knowledge base on the subject that I can share include suggesting that you look into not just the JTextArea and its methods, but also the contained Document (an interface) and its methods.
A variant of Document is the PlainDocument, and it has a getparagraphelement method or something similar that you MAY be able to use in your code. Don't ask me details, because I have to admit that I don't know them. I hope to learn more about this area sometime in the near future, but for right now, I'm struggling with all my effort to bend my mind around the steep and rocky heights of the java native interface or JNI. Interface. Ugh.
Anyway, sorry for the digression. Good luck with your text manipulation.

Similar Messages

  • Report page scaling/zoom for paper size and field width?

    Are there ways to design a report, or programmatically set a report to dynamically resize based on factors such as paper size (A4 vs. Letter vs. Legal), orientation (portrait vs. landscape), and field width (e.g fields grow and shrink based on data)?  We are looking at ways to dynamically choose paper size and scale.  This would be similar to how Excel files can adjust for printing depending on paper, and PDF files can zoom in/out for paper size.
    Thanks,
    Kyle

    We don't want to add fields dynamically at runtime.  Instead we want to automatically resize fields at runtime to properly fit data on the page.  Currently with our 400 reports, data fields have gotten longer over the years so important data is being truncated.  We'd like it if fields could properly grow/shrink/scale so that the data is always valid.  We'd like it if the user flips from portrait to landscape, the field widths automatically grow to use the entire page.  Or, if a user goes from Letter to A4, pagination still works properly and the fields get slightly wider to fit the A4 standard.
    What we don't want is to have a version of the report for portrait Letter, portrait A4, portrait Legal, landscape Letter, landscape A4, landscape Legal, etc.  It would be a support nightmare.
    I don't know if it is possible, but I'm hoping it is.  Thanks for the help.
    Kyle

  • Location and size of hotspot in a packaged file

    Hi all,
    I'm working on a authorware program in which I want to use the location ans size of a clicked hotspot to draw a rectangle. Ultimately, I would like to be able to change the size/position of a hotspot, and when packaged, the rectangle should be drawn at the new position of the hotspot, with the new size. So far, I've been succesful in an unpackaged file with:
      GetIconProperty(@Title; #awSizeX))
      GetIconProperty(@Title; #awSizeY))
      GetIconProperty(@Title; #awLocationX)
      GetIconProperty(@Title; #awLocationY)
    where Title is the title of the clicked hotspot. So far so good... BUT I learned the hard way that GetIconProperty() does not work in a packaged authorware file (next time I'll first read the help section better!). My question: how can I obtain the same information in a packaged authorware file?
    I have been looking at the GetSpriteProperty() function, which should work in a packaged file. However, the hotspots are not sprites, and I don't know what spriteproperties I should use for the location and size of the hotspot  (#awSizeX, #awSizeY, #awLocationY, & #awLocationX don't work). Furthermore, GetPostPoint does provide the position of the top left pixel position of the hotspot, but I need separate X and Y values for the position of the hotpot to be able to use the Box() function to draw the rectangle. And I need the of the hotspot as well. Lastly, PositionY@Title and PositionX@Title don't work for my hotspots (the value is always 0 and does not change when clicking the hotspots).
    I could solve the problem by making variables of all the position values and size values of all the hotspots, but then I would not be able to change the position and size of the hotspot by dragging, and changing the rectangle accordingly.
    I would be more than happy to hear if anyone has a solution for me.
    Thanks!

    Hi Steve,
    Thanks for your suggestions! Regarding your first thought: I don't know what you mean by making my clickable area a hit *object. I've tried the help pages of authorware, but it drew a blank. Could you explain how I can make my clickable area a hit *object?
    Regarding clickX/Y: the values depend on the exact location where the user clicks, therefore drawing a rectangle over a picture (which is not moving) is difficult using clickX/Y. I would like the rectangle to appear on a certain spot (namely on the position of the hotspot, with the same width & height), regardless where in the hotspot the user clicks.
    Frank

  • Control the page height and page width of pdf report using pasta_pdf.cfg

    Hi All,
    I've followed the note: 338990.1 (how to print publisher PDF reports via the concurrent manager) in metalink to print a PDF REPORT. Everything work fine except the page height and page width is used as default (8X11). Is there anyway that i can custom page height and page width size such as: legal (8.5X14).
    current set up in pasta_pdf.cfg
    [DEFAULT]
    %% ============== Preprocessing Command ==================== %%
    % Pasta can use a preprocessing command to invoke any executable
    % that supports an input file and an output file (a filter program).
    % You can use redirection. Pasta will invoke the filter program
    % to preprocess the Pasta output before passing it to the printing
    % command. By using the preprocess option, you can generate output
    % formats other than the formats Pasta currently supports. For
    % example, you can generate PCL output.
    % You can use {infile} and {outfile} in this option.
    % {infile} is the output file generated by Pasta. You can use
    % it as input for the preprocessing command. It is a temporary
    % file and will be deleted after being passed to the
    % preprocessing command. {outfile} is the output file generated
    % by the preprocessing command. Pasta names it temporarily and
    % it will be deleted after being passed to the printing command.
    % If you want to keep it, you can name it by using the '-o'
    % command line option. Pasta will copy {outfile} to the file you
    % specify.
    % Preprocess for PDF output
    % This is an example for PDF output to print.
    ; Xpdf
    preprocess=/usr/local/bin/pdftops {infile} {outfile}
    ; Ghost Script
    ; preprocess=pdf2ps {infile} {outfile}
    ; Acrobat
    ; preprocess=acroread -toPostScript -pairs {infile} {outfile}
    %% ============== Printing Command ========================= %%
    % You can specify the printing command and options you want
    % to use to print your report. Pasta will pass the final output
    % to this command. {printername} will be replaced by the
    % actual printer name passed through the command line option
    % (-pn), so in most cases you don't have to change these
    % options.
    % for UNIX platform
    printCommand=lp -c -d{printername}
    % for Windows platform
    ntPrintCommand=print /D:{printername}
    %% ============== Error Log File =========================== %%
    % This tells Pasta to create a log file. The default error
    % output is stderr.
    ;errorlogfile=pasta.log
    NOTE: pasta version 3.0.4
    form server 6.0.8.27.0
    third party tool is pdftops
    Thanks
    Kevin

    i think that can be down from the printing direver/styles/prt files when you added the printer at your apps system check the follwoign for more info.
    ( How to Implement Printing for Oracle Applications: Getting Started )
    Note:269129.1
    (Step By Step Guide to Set Up a Printer in Oracle Applications)
    ( Note:60936.1)
    fadi
    http://oracle-magic.blogspot.com

  • Change Font and Size of Graph Annotations

    Just learned a cool little trick from Christina Rogers about how to change the font and size of a graph annotation after I left a comment on her blog (if you are unsure how to create a graph annotation, check LabVIEW Help).
    With the Cursor Legend selected, use the Font Dropdown on the toolbar to select the font you want for the annotation. Apparently, annotation and cursor text on the graph inherit the font of the Cursor Legend. If you do not like how the Cursor Legend looks after you have changed the font, you can make it invisible again (I have never shown the cursor legend in final UI products... and I have never used "Hobo Std" in final UI products...).
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

    Here are two Ideas you may be interested in if you're looking at this thread:
    http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Customized-Fonts-for-Graph-Annotation/idi-p/1073784#M4...
    http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Add-Line-Width-and-Line-Style-to-Cursor-List-Property/... 
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

  • Set center and size

    Hi,
    How can I set the center and size of a map to view a group of points (like zoom to selection function).
    Thank you
    Ali

    Hi,
    you can use the concept of bounding themes. The following example uses the feature selection for theme1 and theme3 to define the center and size of your map.
    <?xml version="1.0" standalone="yes"?>
    <map_request
                 title="tilsmq202:bounding themes"
                 datasource = "tilsmenv"
                 basemap="qa_map"
                 width="400"
                 height="400"
                 bgcolor="#a6cae0"
                 antialiase="false"
                 mapfilename="tilsmq202"
                 format="PNG_URL">
      <bounding_themes border_margin="0.02">theme1, theme3</bounding_themes>
      <themes>
        <theme name="theme1" min_scale="5.0E7" max_scale="0.0">
           <jdbc_query
             datasource="tilsmenv"
             jdbc_srid="8265"
             spatial_column="geom" label_column="STATE"
             render_style="myPattern" label_style="myText"
             >SELECT geom, state from states where state_abrv='IL'</jdbc_query>
         </theme>
        <theme name="theme3" min_scale="5.0E7" max_scale="0.0">
           <jdbc_query
             datasource="tilsmenv"
             jdbc_srid="8265"
             spatial_column="geom" label_column="STATE"
             render_style="myPattern" label_style="myText"
             >SELECT geom,state from states where state_abrv='IN'</jdbc_query>
         </theme>
      </themes>
      <styles>
        <style name="myPattern">
            <svg width="1in" height="1in">
            <desc></desc>
             <g class="area" style="stroke:#0000cc;fill:#3300ff;fill-opacity:128;line-style:L.DPH">
             </g>
           </svg>
       </style>
       <style name="myText">
           <svg width="1in" height="1in">
              <g class="text" float-width="3.0" style="font-style:bold;font-family:Serif;font-size:18pt;fill:#000000">
                  Hello World!
              </g>
           </svg>
       </style>
      </styles>
    </map_request>Joao

  • How can i change standard font and fixed-width font in ipad 2?

    i need to change standard font and fixed-width font in my ipad 2, but i can not find safari setting menu. it is alower me to change that?

    Sorry, the font is not user selectable in Safari on iPad, like it might be on a desktop.  You can change the font size, but not the actual font.

  • Why does a UITableView cell.contentView.bounds.size.width change with cell reuse?

    I use `cell.contentView.bounds.size.width` to calculate the position of a text field in a UITableView cell. When the cell is created, debug code reports the width as 302. When the cell scrolls off the screen and then back on, the debug code reports that the it is 280--every time. It doesn't seem to want to go back to 302 and stays stuck at 280. The net result is that the text field gets put in the wrong place the second time the field is put into the cell's contentView, though it was put in the right place the first time.
    I figure 22 is significant somehow, but I don't know what it is. Guessing it might be the disclosure arrow, I moved the "clear the cell" code up front of the width determination, including setting the accessory to nada.
    Can anybody tell me what's going on here?
    The code (with irrelevant--that I know of--stuff snipped out) looks like this:
    <code>
        // Customize the appearance of table view cells.
        - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
            static NSString *CellIdentifier = @"Cell";
                  NSUInteger section = [indexPath section];
                  NSUInteger row = [indexPath row];
            UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
            if (cell == nil) {
                cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier] autorelease];
            // Configure the cell.
            while( [cell.contentView.subviews count] ){
                id subview = [cell.contentView.subviews objectAtIndex:0];
                [subview removeFromSuperview];
            cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
        8< snip!
                  CGFloat          theCellWidth = cell.contentView.bounds.size.width - 44.0;
                  CGFloat theLineHeight = [[UIFont boldSystemFontOfSize: [UIFont labelFontSize]+1.0] lineHeight];
            NSLog(@"cell.contentView.bounds.size.width %1.0f",cell.contentView.bounds.size.width);
            if (0==section) {
                            switch (row) {
                                      case 2:
                        while( [cell.contentView.subviews count] ){
                            id subview = [cell.contentView.subviews objectAtIndex:0];
                            [subview removeFromSuperview];
                        cell.selectionStyle = UITableViewCellSelectionStyleNone;
                                                cell.textLabel.text = @" ";
                                                cell.detailTextLabel.text = @"The Age";
                                                theAgeTextField.frame = CGRectMake(10.0, 2.0, theCellWidth, theLineHeight);
        //                NSLog(@"cell.contentView %@",cell.contentView);
                                                theAgeTextField.text = theAge;
                                                theAgeTextField.font = [UIFont boldSystemFontOfSize: [UIFont labelFontSize]+1.0];
                                                theAgeTextField.keyboardType = UIKeyboardTypeDecimalPad;
                                                theAgeTextField.borderStyle = UITextBorderStyleNone;
                                                theAgeTextField.userInteractionEnabled = NO;
                                                [cell.contentView addSubview:theAgeTextField];
                                                cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
                                                break;
        8< snip! (lots of closing braces and other stuff omitted)
            return cell;
    <hr>
    </code>
    **Want to try this one at home, boys and girls?**
    Start with a new Navigation-based Application. Put the following code into RootViewController.m:
    <code>
        - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
            return 5;
        // Customize the appearance of table view cells.
        - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
            static NSString *CellIdentifier = @"Cell";
            UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
            if (cell == nil) {
                cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier] autorelease];
            NSLog(@"cell.contentView.bounds.size.width %1.0f",cell.contentView.bounds.size.width);
            // Configure the cell.
            return cell;
    </code>
    There are only two changes in the default code required to make this happen: changing the number of rows in the section ("return 5") and the style of the cell must be _UITableViewCellStyleSubtitle_. Then, when you run the program, you'll see five lines of this:
    <code>
        2011-06-18 11:10:19.976 TestTableCells[7569:207] cell.contentView.bounds.size.width 302
        2011-06-18 11:10:19.978 TestTableCells[7569:207] cell.contentView.bounds.size.width 302
        2011-06-18 11:10:19.979 TestTableCells[7569:207] cell.contentView.bounds.size.width 302
        2011-06-18 11:10:19.980 TestTableCells[7569:207] cell.contentView.bounds.size.width 302
        2011-06-18 11:10:19.982 TestTableCells[7569:207] cell.contentView.bounds.size.width 302
    </code>
    Drag some cells off the screen (drag up--down doesn't do anything) and when they reappear, you get this:
    <code>
        2011-06-18 11:10:24.013 TestTableCells[7569:207] cell.contentView.bounds.size.width 320
        2011-06-18 11:10:24.047 TestTableCells[7569:207] cell.contentView.bounds.size.width 320
        2011-06-18 11:10:24.130 TestTableCells[7569:207] cell.contentView.bounds.size.width 320
    </code>
    Frankly, I'm frustrated as heck with this, and am so very tempted to pony up the $99 (without a working app, even) so I can have somebody at Apple weigh in on this one.
    <hr>
    Wanna' see something more interesting? Try this in place of the `static NSString...` line:
    <code>
            NSString *CellIdentifier = [NSString stringWithFormat: @"%d", arc4random() ];
            NSLog(@"%@",CellIdentifier);
    </code>
    Now, every time, the width in the log is _always_ 302. It would seem, then, that a reused cell has different content width than the original cell.
    Anybody got a clue on this?

    Hi,
    i guess the reason is that a newly create cell is create with a default frame by initWithStyle:
    But it's not yet added to any superview so you're logging that default size.
    After returning the new cell the tableViewController adds that cell as subview to the tableView which can lead to a resize of that cell.
    If the cell is scrolled off screen it's just removed from superview but stays the same size. If it's reused later it's still having the same size it had when removed from superview.
    Dirk
    initWithStyle:
    But it's not

  • Box and Size stmt in sapscript

    Hi all
    a very basic question
    can anybody plz tell me whatz the difference between box and size stmt in sapscript
    Thanks in advance

    hi,
       Check this Out.....
       <b>BOX, POSITION, SIZE</b>: Boxes, lines, shading
    The BOX, POSITION and SIZE commands are for drawing boxes, lines and shadows. These commands can be used to specify that within any particular layout set, window or passage of window text can be output in a frame or with shadowing.
    The SAP printer drivers that are based on page-oriented printers (the HP LaserJet PCL-5 driver HPLJ4, the
    Postscript driver POST, the Kyocera Prescribe driver PRES) employ these commands when creating output. Line printers and non-supported page-oriented printers ignore these commands. The resulting output may be viewed in the SAPscript print previewer.
    Syntax:
    1. /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    2. /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
    3. /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
    <b>BOX</b>
    Syntax:
    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    Effect: draws a box of the specified size at the specified position.
    Parameters: For each parameter (XPOS, YPOS, WIDTH, HEIGHT and FRAME), both a measurement and a unit of measure must be specified. The INTENSITY parameter should be entered as a percentage between 0 and 100.
    •&#61472;XPOS, YPOS: Upper left corner of the box, relative to the values of the POSITION command.
    Default: Values specified in the POSITION command.
    The following calculation is performed internally to determine the absolute output position of a box on the page:
    X(abs) = XORIGIN + XPOS
    Y(abs) = YORIGIN + YPOS
    •&#61472;WIDTH: Width of the box.
    Default: WIDTH value of the SIZE command.
    •&#61472;HEIGHT: Height of the box.
    Default: HEIGHT value of the SIZE command.
    •&#61472;FRAME: Thickness of frame.
    Default: 0 (no frame).
    •&#61472;INTENSITY: Grayscale of box contents as %.
    Default: 100 (full black)
    Measurements: Decimal numbers must be specified as literal values (like ABAP/4 numeric constants) by being enclosed in inverted commas. The period should be used as the decimal point character. See also the examples listed below.
    Units of measure: The following units of measure may be used:
    •&#61472;TW (twip)
    •&#61472;PT (point)
    •&#61472;IN (inch)
    •&#61472;MM (millimeter)
    •&#61472;CM (centimeter)
    •&#61472;LN (line)
    •&#61472;CH (character).
    The following conversion factors apply:
    •&#61472;1 TW = 1/20 PT
    •&#61472;1 PT = 1/72 IN
    •&#61472;1 IN = 2.54 CM
    •&#61472;1 CM = 10 MM
    •&#61472;1 CH = height of a character relative to the CPI specification in the layout set header
    •&#61472;1 LN = height of a line relative to the LPI specification in the layout set header
    Examples:
    /: BOX FRAME 10 TW
    Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
    /: BOX INTENSITY 10
    Fills the window background with shadowing having a gray scale of 10 %.
    /: BOX HEIGHT 0 TW FRAME 10 TW
    Draws a horizontal line across the complete top edge of the window.
    /: BOX WIDTH 0 TW FRAME 10 TW
    Draws a vertical line along the complete height of the left hand edge of the window.
    /: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
    /: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
    POSITION
    Syntax:
    /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
    Effect: Sets the origin for the coordinate system used by the XPOS and YPOS parameters of the BOX command. When a window is first started the POSITION value is set to refer to the upper left corner of the window (default setting).
    Parameters: If a parameter value does not have a leading sign, then its value is interpreted as an absolute value, in other words as a value which specifies an offset from the upper left corner of the output page. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value. If one of the parameter specifications is missing, then no change is made to this parameter.
    •&#61472;XORIGIN, YORIGIN: Origin of the coordinate system.
    •&#61472;WINDOW: Sets the values for the left and upper edges to be the same of those of the current window (default setting).
    •&#61472;PAGE: Sets the values for the left and upper edges to be the same as those of the current output page (XORIGIN = 0 cm, YORIGIN = 0 cm).
    Examples:
    /: POSITION WINDOW
    Sets the origin for the coordinate system to the upper left corner of the window.
    /: POSITION XORIGIN 2 CM YORIGIN '2.5 CM'
    Sets the origin for the coordinate system to a point 2 cm from the left edge and 2.5 cm from the upper edge of the output page.
    /: POSITION XORIGIN '-1.5' CM YORIGIN -1 CM
    Shifts the origin for the coordinates 1.5 cm to the left and 1 cm up.
    <b>SIZE</b>
    Syntax:
    /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
    Effect: Sets the values of the WIDTH and HEIGHT parameters used in the BOX command. When a window is first started the SIZE value is set to the same values as the window itself (default setting).
    Parameters: If one of the parameter specifications is missing, then no change is made to the current value of this parameter. If a parameter value does not have a leading sign, then its value is interpreted as an absolute value. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value.
    •&#61472;WIDTH, HEIGHT: Dimensions of the rectangle or line.
    •&#61472;WINDOW: Sets the values for the width and height to the values of the current window (default setting).
    •&#61472;PAGE: Sets the values for the width and height to the values of the current output page.
    Examples:
    /: SIZE WINDOW
    Sets WIDTH and HEIGHT to the current window dimensions.
    /: SIZE WIDTH '3.5' CM HEIGHT '7.6' CM
    Sets WIDTH to 3.5 cm and HEIGHT to 7.6 cm.
    /: POSITION WINDOW
    /: POSITION XORIGIN -20 TW YORIGIN -20 TW
    /: SIZE WIDTH +40 TW HEIGHT +40 TW
    /: BOX FRAME 10 TW
    A frame is added to the current window. The edges of the frame extend beyond the edges of the window itself, so as to avoid obscuring the leading and trailing text characters.
    Regards,
    Santosh

  • Int satPopup.size.width error

    Hello.  I have a macbook pro, running snow leopard.  I am trying to fill out an online job application and I continue to get the following error messages:
    int satPopup.size.width
    int.satPopup.size.height
    to a value > 0.
    What does this mean?  I have never had this problem before.  I am also seeing it on my iMac.  I am running 10.6.8 on both.
    Any ideas on what is wrong?
    Chris

    markwmsn is 100% correct.  It is bad code from the web site you're on.  Here's a shot in the dark - from the error message there's a good chance that the website is trying to serve you a "bad" popup window.   Try toggling whatever is set for the following setting to the opposite value and see what happens when filling in the application:
    Settings > Safari > Block Pop-ups
    By bad popup I mean it is dimensioned to display a 0 x 0 (width length) window which of course makes no sense.  This assumes you were using Safari as your browser.  You didn't specify this in your original question.

  • REP-1219 - Body has no size - width or length is zero

    I run my report on my desktop and it runs fine. I then register it under the Concurrent Manager in Oracle Apps. When I run it, I get the following message: "REP-1219 - Body has no size - width or length is zero". Do you have any suggestions on why I only get this after I register it.

    Hi John,
    I think there is some problem in Report Header Or Report Footer, you do one small R&D. First you remove the Report Header and generate the report and Second Time you remove the Report Footer and generate the report.
    I am sure that you will get the report...
    If you get the report output then that means there is some problem in Report Header or Footer,After that in the Report Header before the Feilds, you keep some Space and in the Report Footer also after feild you keep some space.
    Try This
    Regards,
    Ravi
    [email protected]

  • How to increase and descrease width/height of an item?

    Hi,
    My question is, there are so many item are displayed in the form and user wants to increase/decrease the size(width/height) of any item, just like we changes the size of any window.
    how we can do the same in form at run time. if anyone is having solution pl fwd to me at [email protected] or [email protected]
    thanks in advance.
    Regards,
    Anil

    Hi Anil
    Use the SET_ITEM_PROPERTY(item_name, WIDTH, y) for changing the width of the item and similarly for changinging the HEIGHT.
    Put this command in a loop and assign the loop variable to the "y" variable in the SET_ITEM_PROPERTY. Doing this will change your item width and height at the run time.
    try this and for any other queries in Forms , reports, ORACLE database pl. feel free to get in touch with me.
    Ciao take care
    Manish

  • Pixels and size???

    I would like to create a iDVD movie of my wedding pictures. I am editing them on iphoto. My question involves the constrain editing tool. There is button for DVD contrain and when I click on it, it crops my picture in thirds. I thought it might shrink it to fit the size. Being new to this, I am not quite sure what to do. Does that mean the picture that was cropped to thirds will only show that cropping on the DVD even if I didn't choose that as a constraint? What should the pixel and size be for a photo I am using on a DVD to get the best quality? I read in a former discussion that I need to resize photos on export, but isn't that just tedious? Why wouldn't iphoto include a resizing tool in their edit program? Or am I missing something? Many questions, I know. Thanks for any answers.

    I'm not an expert but I did create an iMovie from stills and I put it onto DVD a while back.
    Does each picture need to be 4x3 (the dvd size stated).<<<</div>
    Nope. Mine varied all over the map. However, when you view on a computer monitor or a conventional TV, anything other than 4X3 will have black bands to fill up the empty space. That's NOT a size - it's an "aspect ratio" - width X height ratio.
    On the help page, it says standard needs to be 720 x 540.<<<</div>
    That figure sounds like the pixel count for a conventional TV. If your photo has fewer pixels, the image will not fill the screen. If your photo has more pixels, the screen will show only a portion. Bottom line is that one pixel in your photo becomes one pixel on the screen. You'll have a worse situation with computer monitors because the resolution is configurable.
    Also, how do I know if the resolution is good enough to print?<<<</div>
    Ummm... In your first post, you said that you want to create a movie. You're not going to print from a movie.

  • About Line (pen) color and thickness (width) for DWG/DXF files in ECLVIEWER

    Hello,
    sapgui 640
    set  Line (pen) color and thickness (width) for DWG/DXF files in ECLVIEWER Loader Preferences,
    is effective for  paper A2,A3,A4 dwg file,but isn't effective for paper  A1 and extend length dwg file .
    this set for line(pen) color and thickness is different to different size paper dwg file?
    how to solve this problem?
    Vera Pang.

    Hi Vera,
    in fact that this issue is still valid for you. Could you please tell us which ECL Viewer version do you use and in which release this happens? Because in release ECC 500 there was some issue which got solved by note 964419.
    Best regards,
    Christoph

  • Panel position and size

    Is there a way to set a panel's x/y position and size using PS scripting?  If someone could point me to some documentation on this, that would be hugely appreciated!

    I don't think you can set the position of a custom panel. It seems to open where ever it was last closed. But you can set the size.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="init()"
         paddingLeft="0" paddingBottom="0" paddingRight="0" paddingTop="0"
         verticalScrollPolicy="off" horizontalScrollPolicy="off"
         horizontalGap="0" verticalGap="1">
         <mx:Script>
              <![CDATA[
                   import com.adobe.csxs.core.CSXSInterface;
                   import com.adobe.csxs.events.*;
                   import com.adobe.csxs.types.*;
                   private function getGeometry():WindowGeometry {
                        var panel_X:Number = 100;
                        var panel_Y:Number = 100;
                        var panel_W:Number = windowsizebox.width + 15;
                        var panel_H:Number = windowsizebox.height + 20;
                        var windowsize:WindowGeometry = new WindowGeometry(panel_X,panel_Y,panel_W,panel_H);
                        return windowsize;
                   private function setSize():void{
                        var csxs:CSXSInterface = CSXSInterface.getInstance(); 
                        csxs.requestStateChange(StateChangeEvent.WINDOW_RESIZE, getGeometry());
                        Function:          init
                        Description:     Initialize the panel
                   public function init():void{
                        try{// for skinning
                             var result:SyncRequestResult = CSXSInterface.instance.getHostEnvironment();
                             var hostData:HostEnvironment = result.data;
                             var skinInfo:AppSkinInfo = hostData.appSkinInfo;
                             var defaultColor:String = skinInfo.panelBackgroundColor.color.rgb;
                             this.setStyle("backgroundGradientColors", [defaultColor, defaultColor]);
                             this.setStyle("fontFamily", skinInfo.baseFontFamily);
                             this.setStyle("fontSize", skinInfo.baseFontSize);          
                        }catch (errObject:Error) {}
              ]]>
         </mx:Script>
         <mx:VBox x="10" y="10" id="windowsizebox"  height="100" width="100">
              <mx:Button label="Button" click="setSize();"/>
         </mx:VBox>
    </mx:Application>

Maybe you are looking for