Text and Table in the same line (Smartform)
Hello,
we have a problem related with a smartform, it contains dynamic tables and we need to do a form like this:
Text1 Wa_tab-f1[1] Wa_tab-f2[1]
Text2 Wa_tab-f1[2] Wa_tab-f2[2]
Text3 Wa_tab-f1[3] Wa_tab-f2[3]
(As I cannot print the form well, I will try to explain it:)
Text1, Text2, Text3 don´t need frames!! the other fields YES. I have been testing trying a lot of solutions but I have allways the same result: When I start to print frames for Wa_tab-f1 I allways get a new line....
Do you know a solution for this?
Thanks.
Fernando.
Edited by: Fernando Luengo on Oct 29, 2010 6:49 PM
Hello Fernando,
why don't you simply define a table with 3 columns. In the line definition you paint a frame around the second and the third cell in the line (this might be a bit tricky. if you use the button for the frame around the cell for the 2nd and then for the 3rd cell it deletes the frame between the cells so better mark the cell sides one by one.).
Best Regards
Roman
Similar Messages
-
How can I combine a lot of text and images on the same screen?
How can I combine a lot of text and images on the same screen? I can get a couple of words on the screen with a graphic but not 10 lines. I need 10 lines on the page with the image.
Priscilla,
I routinely combine 10 lines of 36 pt bible or lecture text to a suitable background using Boris Title 3D.
Many times the text is too long to fit the screen using Boris, so I devide it into 2 or more parts with no transition between sections.
In my case, the text is on the screen as the speaker quotes them.
David -
How do I combine text and photos on the same page in iPhoto using photobook
How do I combine text and photos on the same page in iPhoto using photobook?
You mean while creating a book in iPhoto? Click on the layout button while viewing a page and select the layout that includes both text and photos. Most themes will have those options.
OT -
Text and images in the same component?
Ok... a lil help please :
into what component can i put text and images at the same time
as in...
example, what component could contain data like this :
Hello this is me <imageofmyself> and this is my house <imageofmyhouse>... bye all !
thanks in advance,
Jonathan, a.k.a. KyrazYou could use a Swing HTMLPANE or draw it all onto a
BufferedImage and display that (code posted under 2D graphics thread).
MArk -
How can I write left and right in the same line of a richtextbox?
I want to write, in the same line, text with a right aligment and other with left aligment. How can I do it?
thanksI want to write, in the same line, text with a right aligment and other with left aligment. How can I do it?
thanks
As
Viorel_ says "Perhaps there are other much easier solutions. For example, create two
RichTextBoxes with no borders (if you only need two columns of text)" but the real issue would be saving the info in the RichTextBox's (RTB's) RTF or Text to two different RTF or TextFiles. Although I suppose if it was just going to
a TextFile then you could somehow use a delimited text file so each same line number of each RTB is appended to the same line and delimited. That way you could probably load a split array with each line from the text file splitting on the delimeter per line
and providing RTB1 with index 0 of the split array and RTB2 with index 1 of the split array. I'm not going to try that.
This is some leftover code from a long time ago. It has three RTB's. RTB1 is there I suppose because the thread asking for this code wanted it. RTB2 is borderless as well as RTB3. The Aqua control in the top image below is the Panel used to cover RTB2's
scrollbar. So RTB3's scrollbar is used to scroll both controls.
I forgot to test if I typed past the scroll position in RTB2 if both would scroll as maybe RTB3 would not since it would not have anything to scroll to I suppose.
Maybe this code can help or maybe not. The bottom two images are the app running and displaying nothing scrolled in RTB2 and RTB3 then the scroll used in the bottom image.
Disregard the commented out code in the code below. It was there so I left it there. I suppose you should delete it. Also I didn't set the RTB's so one was left aligned and the other right aligned. I believe the Panel becomes a control in RTB2's controls
when it is moved to cover RTB2's vertical scrollbar but don't remember although that seems the case since both RTB2 and RTB3 are brought to front so if the Panel was not one of RTB2's controls I would think it would be behind RTB2 and RTB2's vertical scrollbar
would display but don't remember now. In fact I don't really remember how that part works. :)
Option Strict On
Public Class Form1
Declare Function SendMessage Lib "user32.dll" Alias "SendMessageW" (ByVal hWnd As IntPtr, ByVal msg As Integer, ByVal wParam As Integer, ByRef lParam As Point) As Integer
Const WM_USER As Integer = &H400
Const EM_GETSCROLLPOS As Integer = WM_USER + 221
Const EM_SETSCROLLPOS As Integer = WM_USER + 222
Dim FixTheProblem As New List(Of String)
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.CenterToScreen()
Panel1.BackColor = Color.White
Panel1.BorderStyle = BorderStyle.Fixed3D
RichTextBox2.BorderStyle = BorderStyle.None
RichTextBox2.ScrollBars = RichTextBoxScrollBars.Vertical
RichTextBox3.BorderStyle = BorderStyle.None
RichTextBox3.ScrollBars = RichTextBoxScrollBars.Vertical
RichTextBox3.Size = RichTextBox2.Size
RichTextBox3.Top = RichTextBox2.Top
RichTextBox3.Left = RichTextBox2.Right - 20
Panel1.Size = New Size(RichTextBox2.Width * 2 - 16, RichTextBox2.Height + 4)
Panel1.Left = RichTextBox2.Left - 2
Panel1.Top = RichTextBox2.Top - 2
RichTextBox2.BringToFront()
RichTextBox3.BringToFront()
FixTheProblem.Add("Curry: £6.50")
FixTheProblem.Add("Mineral Water: £4.50")
FixTheProblem.Add("Crisp Packet: £3.60")
FixTheProblem.Add("Sweat Tea: £2.23")
FixTheProblem.Add("Motor Oil: £12.50")
FixTheProblem.Add("Coca Cola: £.75")
FixTheProblem.Add("Petrol Liter: £3.75")
FixTheProblem.Add("Shaved Ice: £.50")
FixTheProblem.Add("Marlboro: £2.20")
FixTheProblem.Add("Newspaper: £.25")
FixTheProblem.Add("Spice Pack: £.75")
FixTheProblem.Add("Salt: £.50")
FixTheProblem.Add("Pepper: £.30")
For Each Item In FixTheProblem
RichTextBox1.AppendText(Item & vbCrLf)
Next
RichTextBox1.SelectionStart = 0
RichTextBox1.ScrollToCaret()
Dim Fix As String = ""
For Each Item In FixTheProblem
Fix += Item.Replace(":", "^:") & vbCrLf
Next
Fix = Fix.Replace(vbCrLf, "^>")
Dim FixSplit() As String = Fix.Split("^"c)
For i = 0 To FixSplit.Count - 1
If CBool(i Mod 2 = 0) = True Then
RichTextBox2.AppendText(FixSplit(i).Replace(">"c, "") & vbCrLf)
ElseIf CBool(i Mod 2 = 0) = False Then
RichTextBox3.AppendText(FixSplit(i) & vbCrLf)
End If
Next
End Sub
Dim RTB2ScrollPoint As Point
Private Sub RichTextBox2_Vscroll(sender As Object, e As EventArgs) Handles RichTextBox2.VScroll
Dim RTB2ScrollPoint As Point
SendMessage(RichTextBox2.Handle, EM_GETSCROLLPOS, 0, RTB2ScrollPoint)
SendMessage(RichTextBox3.Handle, EM_SETSCROLLPOS, 0, New Point(RTB2ScrollPoint.X, RTB2ScrollPoint.Y))
'Me.Text = RTB2ScrollPoint.X.ToString & " .. " & RTB2ScrollPoint.Y.ToString
End Sub
Private Sub RichTextBox3_Vscroll(sender As Object, e As EventArgs) Handles RichTextBox3.VScroll
Dim RTB3ScrollPoint As Point
SendMessage(RichTextBox3.Handle, EM_GETSCROLLPOS, 0, RTB3ScrollPoint)
SendMessage(RichTextBox2.Handle, EM_SETSCROLLPOS, 0, New Point(RTB3ScrollPoint.X, RTB3ScrollPoint.Y))
'SendMessage(RichTextBox2.Handle, EM_SETSCROLLPOS, 0, New Point(0, 10))
End Sub
End Class
La vida loca -
How can I bind two text view elements in the same line?
Hi all:
In my case, it is not allowed that one text view is in the first line and another in the second line. How can I put them always in the same line?
Thanks.Hi,
as the window resizes the UIcontrols are also resized if wrapping is enabled and they will be in same row.
as u mentioned they are two containers in root container but appears one by one do as below
for root container
set layout - grid layout
colcount - 2
for 1st child container
set layout -grid layout
set colspan - 1
as u requre 3 Ui control in it
set colcount of child container to 3
add the UI controls
set the colspan of UI controls to 1.
do as same for second container
Thanks,
yashpal -
BEX : report with real and budget on the same line
Hi everyone,
I need to create a Bex report showing on the same line :
- budget WBS element stored in a DSO (DataSource 0CO_OM_WBS_1)
- used amount stored in another DSO (DataSource 0FI_GL_4)
Data are stored in 2 different DSOs.
If a create a multiprovided with both DSOs I will get 2 lines in my report as axes are different,no ?
Thanks for any idea.
AussieHi,
You can make use of infoset.You can also do a lookup from one dso to another ant transport the values in one dso.So by doin this alll your values will be stored in one place and then you can show the values in one line in report.
Please also give me the idea of keyfields of both dso's.
You can also use constant selection in report if you are using multiprovider through this to some extenet you can solve the problem of values in coming in two lines.
Also check out the below PDF for Displaying Result Row in One Line While Reporting On Multiproviderer.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70dcd7b5-6a3d-2d10-c984-e835e37071a2?quicklink=index&overridelayout=true
Hope it helps.
Regards,
AL
Edited by: AL1112 on Aug 3, 2011 11:55 AM -
BEx WAD -- Creating Chart And Table on the same page
Hi All.
I am creating a new Web Application. This contains a dropdown with 2 reports to select.
When the user selece report from the dropdown list, it has to display both Table and Chart for the report.
Could you pls explain me how can I do this.
Thanks
SR.Go to Dropdown web item properties and choose your report and use Before Command and use OPEN_CHART_DIALOG. You may try with After Command also.
-
How to plot Actual and Target on the same line chart in webi
Hi,
We have a requirement where we need to plot a graph on webi. The data is something like:-
Month Regional Office Actual Target
12014 Midwest 768 876
22014 Eastern 1908 1876
Can anyone please suggest something.
Regards
ShirleyHi Shirley Ray,
May i know the exact requirement...
IF you want to show the data in graph,its just simple
you can show regional office and month on x axis,measure on y axis like below chart.
right click on table and convert it into column chart.
Regards,
Samatha B -
Get row count for different tables to the same line
How can I get the row count for different tables in one line:
SELECT count(A), count(B), count(C) from table tb_a A , tb_b B, tb_c C;
Thanks!>
Hi,
How can I get the row count for different tables in one line:
SELECT count(A), count(B), count(C) from table tb_a A , tb_b B, tb_c C;Something like this? One of the many uses for CTE's - Common Table Expressions - AKA
subquery refactoring. Worth getting to know - very handy!
with acount as
select count(*) as counta from dual -- put your table name here
bcount as
select count(*) as countb from dual -- put your table name here
ccount as
select count(*) as countc from dual -- put your table name here
select a.counta, b.countb, c.countc from acount a, bcount b, ccount c;HTH,
Paul...
Edited by: Paulie on 25-Jul-2012 17:44 -
Export multiple schemas and tables in the same time
Please help with this
If I need to export 3 schemas SCH1, SCH2 and SCH3, also table tab1 and tab2 in schema SCH4, can anyone write only one parfile to export them in once.Are you going to use original exp/imp or data pump?
It's not easy to do this in one shot if it's even possible. -
My macbook internet download speed is extremely slow. I have tried 2 other computers, another mac and windows and the download speed is over 10mb but with this macbook pro it is less than 1mb. What is causing this and how to fix?
To find out how much space you have & what is left, open up Disk Utility/Machintosh HD/First Aid. The info will be at the bottom of the window.
Sluggish Finder - Bunch of icons on your desktop? An overcrowded desktop slows down your Mac.
Get rid of needless Finder calculations - Open a window in Finder/View/Show View Options: ensure "Calculate All Sizes" option is unchecked.
Internet related - It's likely that your broadband connection is the bottleneck. You can check your speed on http://www.speedtest.net to see how fast your connection is. If your web browser specifically performs slowly, quit and relaunch it.
If browser remains sluggish, empty its cache.
Safari/Empty Cache
Firefox/Preferences - select the Network tab of the Advanced preferences and click the "Clear Now" button in the "Offline Storage" area.
Application related - Launch "Activity Monitor" - Applications/Utilities - click the CPU heading and see what float to the top. If an application takes up a large chunk of CPU and won't let it go, it could be dragging down your Mac's performance. Quit it by clicking the Quit Process button at the top of the Activity Monitor window.
Too little ram - max out your ram.
Solution may be found if you search in the "More Like This" section over in the right column. -
Print different text elements on the same line
Hi all,
1.
Is it possible to print different text elements on the same line ? with multiple write_form
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'TITLE1'
WINDOW = 'INFO'
EXCEPTIONS
ELEMENT = 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'TITLE2'
function = 'APPEND'
WINDOW = 'INFO'
EXCEPTIONS
ELEMENT = 1.
How to print TITLE1 and TITLE2 on the same line ?
TITLE2 in bold.
2. How to print 2 text elements on the same line with include statement ?
/: include test1 ...
/: include test2
Thanks
Edited by: Moo Yac on Sep 22, 2008 8:23 AMTo be more specific :
I want to print the following
Text_symbol1:$Var1$ Text_symbol:$Var2$
on the same line.
where Text_symbol1 and Text Symbol2 are defined in SO10 for different languages.
Thanks. -
Is there a way to print over the same line of text?
Hey everyone, does anyone know if it's possible to write over the same line in a console window? I am formatting a diskette an currently it is going:
1 percent complete
2 percent complete
3 percent complete
4 percent complete
5 percent complete
I am currently doing:
System.out.println(bufferedReader.readLine());
to display this .. is there anyway to write over and over on the same line?
Thanks again.I just thought of something!!! Try this:
System.out.println("When the zeros have printed twenty times the disk has been formatted\n");
System.out.println("|-----------------------------------|"\n)
Then add the zeros to the line underneath it as it formats. This will give a progress bar effect. The zeros, when completely done, should fill up the whole |---| segment.
Hope this helps.
Virum -
SAPscript address name1 and name2 - print on the same line
I want to print name1 and name2 on the same line in an address on a check. Does anyone know how to do that ? I am usign the ADDRESS SAPscript command.
The ADDRESS command allows you to format according to different countries postal formats. If you want to put two lines in one, I don't think you can use the ADDRESS command, but will have to format it yourself.
Rob
Maybe you are looking for
-
Gurus, I have a requirement, to process if the Company code is 0001 then crdit 1 days to quota 01. How to write in rule. Also let me know where to insert the rule in schema TM04 Edited by: kumar.Durai on Mar 9, 2009 6:14 AM
-
User not found error when connecting to MDM server using NWDS
Hi, I am getting the error as " User not found " when i am connecting to MDM server from the code written in NWDS. If i make that user as admin in usermapping in MDM den it works fine bt if that user is not admin den get the error as user not found.
-
Hello Am trying to insert a special characcter "ƒ" but its not taking
Hello all , Help is greatly appreciated. Am trying to insert a special character for currency symbol -"ƒ". Below is my insert statement. INSERT INTO PROD.region (COUNTRY_ID, CURRENCY_SYMBOL , NAME) VALUES (530,'"ƒ"', 'Netherland Antilles' ); I tried
-
Why is my iPhone 5 using so much data?
I have had my iPhone 5 for exactly one month. I have a shared plan with my daughter. We are on wifi all of the time except when she is in school. I have only used .039 gig. Her phone has used14.47 gig in 29 days. 10 of those in the last 3 days. She d
-
Historical Workorder Visibility for Equipment
Hello - I have a question related to historical workorder visibility for equipment. The scenario below should explain what I'm looking for. Hope you can either tell me how to do it or explain why it can't be done! We want to be able to see, within