Dashed Line in Smartform

Hi,
I wanted to know how we can draw a dashed vertical line in smartform.

hi
good
you may specify an x-position and a length in this way:
code
SELECTION-SCREEN ULINE /12(10).
[/code]That means, "position at column 12 and draw an horizontal line of width 10 characters".
I hope this helps. Best regards
thanks
mrutyun^

Similar Messages

  • HI,Can the smartforms output the windows box as the type of dashed Line?

    My customer let me Print the windows box with the dashed line in smartforms, but i searched many method ,all failed,anybody know how to do it?

    hi,Bala Muthu Raja 
    thanks for your information.
    but i means i want to output the dashed line box for the windows as following......
    ^^^^windows^^^^
    ^^^^windows^^^^
    ^^^^windows^^^^
    ^^^^windows^^^^
    ^^^^windows^^^^
    adjusting the line width just make the box line become wild or thin.
    Message was edited by: shi jack
    Message was edited by: shi jack

  • How to print horizantal lines in smartforms?

    hi friends,
                       how to print horizantal lines in smartforms.
    waiting for ur valuble replies.
    Thanks,
    Kiran

    HI,
    If u use templates or table,then use borders to print the horizontal lines.
    Eg : Create template-->Table painter->click select pattern button->Display framed pattern->select 3rd one.it will display only horizantal lines.
    if want to print horizantal line under the text, then create one paragraph or character formate with Underline in smartstyles.Use that paragraph or character to u r text element

  • How to change draw dashed line with arrowhead (not straight)?

    Hi friends,
    The following code sinept draws an arrowed line from a given point to the other point. I want to know how it can changed to be dashed line as well? I would appreciate it if anybody help me for doing such changes.
    Thanks in advance,
    Reza_mp
    import javax.swing.*;
    import java.awt.*;
    import java.util.ArrayList;
    public class ArrowExample extends JFrame
        enum ArrowHead {
            HEIGHT(10), WIDTH(10);
            int n;
            ArrowHead(int n) {this.n = n;}
            public int value() {return n;}
        java.util.List<Arrow> arrows;
        BasicStroke stroke;
        private class Arrow {
            Point start;
            Point end;
            Polygon arrowHead;
            public Arrow(Point start, Point end) {
                this.start = start;
                this.end = end;
                double direction = Math.atan2(end.y - start.y, end.x - start.x);
                System.out.println(direction * 180/Math.PI);
                arrowHead = new Polygon();
                arrowHead.addPoint(0, 0);
                Point p1 = rotate(ArrowHead.WIDTH.value()/2, ArrowHead.HEIGHT.value(), direction);
                arrowHead.addPoint(p1.x, p1.y);
                Point p2 = rotate(-ArrowHead.WIDTH.value()/2, ArrowHead.HEIGHT.value(), direction);
                arrowHead.addPoint(p2.x, p2.y);
                arrowHead.addPoint(0, 0);
                arrowHead.translate(end.x, end.y);
            public Point rotate(int x, int y, double dir) {
                Point p = new Point();
                double r = Math.sqrt(x*x + y*y);
                double theta = Math.atan2(y, x);
                p.setLocation(Math.round(r*Math.cos(theta + dir + Math.PI/2)),
                              Math.round(r*Math.sin(theta + dir + Math.PI/2)));
                return p;
            public void draw(Graphics2D g) {
                g.drawLine(start.x, start.y, end.x, end.y);
                g.drawPolygon(arrowHead);
                g.fillPolygon(arrowHead);
        public ArrowExample() {
            super("Arrows");
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            JPanel p = new JPanel() {
                protected void paintComponent(Graphics g) {
                    super.paintComponent(g);
                    Graphics2D g2d = (Graphics2D)g;
                    Stroke oldStroke = g2d.getStroke();
                    Color oldColor = g2d.getColor();
                    g2d.setStroke(stroke);
                    g2d.setColor(Color.black);
                    for (Arrow a : arrows)
                        a.draw(g2d);
                    g2d.setStroke(oldStroke);
                    g2d.setColor(oldColor);
            p.setBackground(Color.white);
            add(p, BorderLayout.CENTER);
            stroke = new BasicStroke(3);
            arrows = new ArrayList<Arrow>();
            arrows.add(new Arrow(new Point(10,10), new Point(100,100)));
            arrows.add(new Arrow(new Point(300,10), new Point(300,100)));
            arrows.add(new Arrow(new Point(450,450), new Point(400,100)));
            pack();
            setSize(500, 500);
        public static void main(String[] args) {
            setDefaultLookAndFeelDecorated(true);
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    new ArrowExample().setVisible(true);
    }

    Change the draw method as follows:
            public void draw(Graphics2D g) {
                Stroke s = g.getStroke();
                g.setStroke( new BasicStroke( 3.0f, BasicStroke.CAP_BUTT,
                   BasicStroke.JOIN_MITER, 1.0f, new float[] { 10.0f, 10.0f }, 0.0f ) );
                g.drawLine(start.x, start.y, end.x, end.y);
                g.setStroke( s );
                g.drawPolygon(arrowHead);
                g.fillPolygon(arrowHead);
            }

  • How to suppress blank lines in smartforms

    Hi all,
         How can we suppress blank lines in smartforms?
    In my scenario I am having customer address details in main window.
    i.e. Name
         Street
          P O Box
          P O Box Location
          Post Code
          Telephone
          Fax.
    Suppose if there is no value for P O Box Location the address is getting displayed as
          Name
         Street
          P O Box
                          -> Leaving blank space
          Post Code
          Telephone
          Fax.
    But I want it as
         Name
         Street
          P O Box
          Post Code
          Telephone
          Fax.
    i.e The blank line should not be displayed.
    Kindly let me know how to do this.
    Regards,
    Neethupriya.

    Hi Neethu,
    Are you using ADDRESS option in smartforms or code to get address from customer master?
    If you are using code, you can give condition like P O Box Location <> SPACE in condition tab.
    Pranav

  • How to protect the lines in smartforms

    hi gurus
    i want to know how to protect the line in smartforms..
    regards
    baskar

    Check this link.
    http://www.saptechies.com/smartforms-protect-lines-in-main-window/
    if you are using tables, there are two options for protection against line break: – You can protect a line type against page break. – You can protect several table lines against page break for output in the main area.
    Protection against page break for line types – Double-click on your table node and choose the Table tab page. – Switch to the detail view by choosing the Details pushbutton. – Set the Protection against page break checkbox in the table for the relevant line type. Table lines that use this line type are output on one page.
    Protection against page break for several table lines – Expand the main area of your table node in the navigation tree. – Insert a file node for the table lines to be protected in the main area. – If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file. – Choose the Output Options tab page of the file node and set the Page Protection option. All table lines that are in the file with the Page Protection option set are output on one page
    Regards,
    Maha

  • How to draw a line in smartforms!

    Hello ABAPers,
    In smartform, I am having a table. Every 3 rows I want to draw a line. How can I do that in Smartforms?
    Thanks,

    hi Naren,
    Check these links out
    drawing line in smartforms
    Re: Smartforms - Line Height
    Re: smartforms blank line
    Regards,
    Santosh

  • How to get 2nd line in smartforms using template

    how to get 2nd line in smartforms main window using template. i have also defined loop .

    if possible can you try with the TABLES..
    Put one TABLE in your MAIN window
    create table lines as per your requirment...consider all lines like 6 for header, 1 for main, 1 for total
    Now, you will find three section under the tables: header, main, footer...
    in header section, create a table line, assign one of the proper lines from the line types.. repeat for your all lines.
    in main section, you can access your data form the loop.
    the footer secion will be called, just after the main will be finished.
    Regards,
    Naimesh Patel

  • Problem with dashed line spacing when printing to pdf

    Hi all,
    this may be a problem with my pdf program (I use bluebeam), but maybe someone will have an idea how to fix it whether in indesign or bluebeam.
    so I made a dashed line using the stroke command in indesign. I need to have the spacing set to 3pt dash and 2pt space. I also need to keep the lineweight to 0.5...this all works fine and appears correctly in indesign when I preview
    the problem is that some of the dashed lines, but not all of them, change size and spacing in the pdf when I view it. it seems to change when I zoom in and out as well. I thought maybe this was just some odd feature with bluebeam and it would still print to the correct size, but it does not, it prints the lines as different sizes. does anyone have an idea why this happens and how to fix? ive viewed and printed from adobe reader and it seems to be okay there but this file will be accessed by multiple other people and they may not be opening and printing in adobe reader..
    thanks guys

    When you export a PDF you will notice that you are exporting to Adobe PDF. Using any reader beyond Acrobat Pro or Reader is a crapshoot.
    For issues with Bluebeam I suggest you contact the developer.

  • Drawing dashed line or dotted line in a flex line chart

    Friends,
    I want to draw a line chart which should be either dotted or dashed.
    since there is no component like dashed line chart, can anyone help me in creating one.
    i think if i extend the line series component, then i can draw that.
    but am stuck there. pls help people.
    Regards,
    Anoop

    Try looking [url http://www.macdevcenter.com/pub/a/mac/2002/03/22/vertical_text.html]here.
    : jay

  • Illustrator CS2 adds mysterious white dashed line thru my linked Photoshop file

    Im using Windows XP, Illustrator & Photoshop CS2, Acrobat 7.0 Professional.
    I have an illustrator file with a linked PSD file that has this mysterious thin white dashed line going through the entire image & I have no idea what it's from or how to repair it.
    My trouble shooting thus far includes:
    - In illustrator - I hide all the layers to see if there was an odd graphic on another layer that was causing the line, nothing. I tried to select the dashed line, not possible. I've created a PDF of the file, and the dashed line is in the PDF too (to verify it wasn't just Illustrator). Oddly in both Acrobat & Illustrator when I zoom in & zoom out, the dashes maintain their on-screen viewing proportions (like the dash spaces recalculate to the same tiny thin dashed line no matter what zoom Im at)
    - In Photoshop - I zoomed in until I couldn't zoom no more and there is not the slightest dashed line in the graphic.
    Lastly, I have this exact linked setup repeated throughout several different files (basically its the same ad but laid out to different dimensions for each)... and none of the others have this mysterious white dashed line.
    here's a screen capture from Acrobat... zoomed into 6400%
    argh - can someone help? Thanks!
    kristin

    Hi guys (and sorry for the tremendous delayed response).
    No the line doesn't print on my local b/w laser printer. However I have seen the lines print in 1 newspaper publications... (this is out of 50 different publications)
    Yes, the image is rotated slightly in illustrator, and I always flatten prior to making the PDF (cuz of the transparency/drop shadow).
    It's really making me nervous that ALL our ads have these lines appearing during onscreen viewing... Im making a new batch of ads for our campaign & there are more lines than before!
    Any tips theories remedies my friends?

  • Dashed lines in Flash CS3

    Hi all, Is there a way to make the end caps of an imported
    dashed line (say from Illustrator or Canvas) straight? They seem to
    always come out round.
    I have tried making them straight lines instead of dashed
    both before and after importing them to Flash but the end caps
    still come out rounded. Flash does not let me change the end caps
    of dashed lines at all. So even if I set it correctly when it's
    still a straight line, as soon as I turn it into a dashed line, it
    turns round and I can't change it.
    Very frustrating.
    Thanks for your help,
    Aryeh

    Seems like an oversight from Adobe to me. Submit a bug report
    at the following address, and maybe they will add that
    functionality.
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Draw a continuous dashed line

    I suspect the answer is simpler than I expect, but it has been eluding me none the less, so I've been wondering how to draw a continuous dashed line, as per the title. I'm cleaning up a photo I made a while back and would to create a flowing line and set it to be dashed as you can do in Adobe Illustrator, where you could draw a line and edit the line type to be dashed, or dotted, or a bunch of snowflakes or what have you.
    I can hear you asking, "why not just use Illustrator?". Well, I do not have it. I used Illustrator and Photoshop CS6 in an art class senior year of high school, but it has been a little while so I'm trying to re-learn the ropes a little bit.

    I was able to use Filter - Other - Minimum with a particular set of parameters, followed by a Median filter to smooth the results, to get something not unlike what you showed, but given that I derived the parameters empirically from your very limited image, at exactly the size given, I wouldn't be surprised if the characteristics of this sequence of operations are way off from what you want.
    In any case, if you'd like to see this "proof of concept" action to understand what I did, here it is:
    http://Noel.ProDigitalSoftware.com/ForumPosts/BlackFindingAction.zip
    Keep in mind this will be VERY sensitive to the thresholds and sizes chosen for the various steps, and is crafted to work at an image with just the resolution you showed above.
    -Noel

  • How do I create a dashed line growing longer?

    Hi all,
    I want to create a dashed line that grows longer. I made two keyframes (at frame 1 and frame 15) with dashed lines of different lengths. Motion or Classic Tween just makes the small line move to the right and then turn into the long line immediately at frame 15.
    Shape Tween gets me the closest (actually shows a line growing), however, it turns into a solid line in the intermediate steps.
    My next idea is to create a mask that slowly reveals more of the line. Is that the best solution?
    Thanks!

    yes, use a tweened mask.  that's the easiest solution.

  • How to create a dashed line for cell border

    Hi,
    Is anyone know How to apply the style for cell border to get the dotted line in WinRT 
    In WPF i will get the dotted line for cell border using this way.
    <DrawingBrush Viewport="0,0,20,20" ViewportUnits="Absolute" TileMode="Tile">
    <DrawingBrush.Drawing>
    <DrawingGroup>
    <GeometryDrawing Brush="Black">
    <GeometryDrawing.Geometry>
    <GeometryGroup>
    <RectangleGeometry Rect="0,0,50,50" />
    <RectangleGeometry Rect="50,50,50,50" />
    </GeometryGroup>
    </GeometryDrawing.Geometry>
    </GeometryDrawing>
    </DrawingGroup>
    </DrawingBrush.Drawing>
    </DrawingBrush>
    Thanks in Advance,

    check this thread: 
    http://stackoverflow.com/questions/14673643/windows-store-apps-how-to-draw-a-dashed-line
    Fouad Roumieh

Maybe you are looking for

  • PowerBook G4 15 Keyboard not working during Leopard install

    I need help! I have a powerbook G4 I wanted to sell. I was looking on amazon at a few reviews, and I found a MacBook Pro review that said how to do a reset of the entire computer. I was excited, because I wanted to sell, and I did it. Here is what it

  • How many x in y

    Hi I need to make charge based on 100s or any part thereof. So for 223 I need to charge three times (100 + 100 + 23) etc. How do I calculate this figure of three from 223? I know there is mod but it gives me 223 mod 100 = 23 but not how many hundreds

  • Exception condition "PERS_KEY_LOCKED" raised

    Hi All, I'm in entry stage of SD Module, Please help me, I & my computer stuck with a system error --Unable to lock Table/view V_TVAK. while going for tcode VOV8 as well as Path. --Unable to lock table/view V_TVKO while difining Sales Orgn. --Unable.

  • CS4 Bridge and the new CC

    Will my old CS4 version of Bridge interact with the new CC?

  • Upgrading my HP Pavilion h8-1170uk with a GeForce GTX 750 Ti

    Hi there, I have reached whits end here, I am looking to upgrade my GeForce GT 545 with a GeForce GTX 750 ti on my HP Pavilion h8-1170uk. I have emailed your support asking for advice and have been told to phone your number although I have explained