Forcing carriage returns when writing into a text field in director 7

I am trying to put together a data table in a text field in
director 7. I have a 4 variables that contain random numbers. I
would like my data table to appear in the following format:
P1 xxx atm
V1 xxx mL
P2 xxx atm
V2 xxx mL
I was trying to do it into a single text field by
concatenating the text string for the variable name, the variable,
and also the variables containing the units. Unfortunately, the
different units are all different lengths, so I keep getting word
wrap issues. Is there anything I can do to just tell it to start a
new line?
My workaround was to put each line into a different field,
but .....
Any help would be appreciated.
BobR

This is actually fairly simple when working with numbers,
because numbers
(in most fonts) are fixed-width. X number of digits will take
up Y amount
of space, regardless of what those digits are. Thus, if you
figure out the
maximum number of digits that will fit into your column, you
can count the
digits of your random number to see if it'll fit, and then
add RETURNs in it
if it won't. Another thing you can do if it fits your style
is pad the
numbers with leading 0's. _'s are also usually the same width
as numbers.
At any rate, it's a little hard to help if we don't have a
good idea of what
kind of data you're trying to display - what's the range of
numbers, for
example? If you know about how many digits you'll have in
your longest
numbers, you should be able to tailor your text member to be
able to fit
that many digits without wrapping, just by typing in 12345678
or however
many digits you need and stretching things to fit that. It
gets a good deal
trickier with letters, unfortunately - "woman" takes up more
space than
"illicit" despite containing 2 fewer letters. There's ways of
dealing with
that, but they're not easy...

Similar Messages

  • How to display error message when writing into Header text of VA02

    Hi All
    I have a requirement. I have a header text 'English' in VA01/VA02 transaction. I need to put a condition that whenever the user log-in is English language, then only he should be able to write text into that HEADER text 'English', else it should not allow the user to write anything.
    Is it possible to be done through any ABAP coding.
    Kindly help
    thanks and regards
    shilpa

    Hi
    Yes u can, but I think it's not easy to understand which language was used to write a text.
    U can use the fm READ_TEXT in order to get the text, but then I don't how u can decide if the text is in English or French or Italian...
    Max

  • I am losing my carriage returns when sending emails. How to keep? uses SMTP Email MIME Text Content-Type.vi

    I am losing my carriage returns when sending emails using the Internet email vi's.
    All carriage returns are stripped out and I get one long word wrapped paragraph.
    I want to avoid html.
    Ideally, using the vi's for rich text would be perfect, but a simple text message with carriage returns and line feeds in any font ok. 
    uses SMTP Email MIME Text Content-Type.vi
    i have tried text/plain, text/html, and mixed yada something

    You need to use Line feed constant and then use concatenate function.See the screen shot.
    Naqqash
    Attachments:
    Using Line feed.png ‏15 KB

  • How to know they is space or carrier return when java read a text file.

    Hi,
    Please help.
    How to know they is space or carrier return when java read a text file.
    The reason is that. I want to use java for loop to read each part of value. for example: first part is the items name. After the space (I need to tell java when this is a space here and its need to skip) , following by the items prices in double value and space again (need to skip also) and etc.
    item name1
    item name2
    item name3
    item name4
    item name5
    <--- here is the space to skip and another loop to read following items prices
    item price1
    item price2
    item price3
    item price4
    item price5
    <--- here is another spcae again. and so on
    thank in advance!

    You can check to see if the sting you read in is just nothing, depending on how you're reading it in:
    if((str = inStream.readLine().trim().equals("")))
    // skip and get ready for the next section
    else
    // handle the next item
    The trim() method gets rid of all leading and trailing spaces and I'm assuming you're using a stream that can use the readLine() method that returns a String.
    I hope this is clear. Let me know if it isn't, I'll try and word it different, or post how you're reading the values in if you need more help.

  • What does 'Actuality' return when checked in the Text Element of WAD.

    Hi All,
    What does 'Actuality' return when checked in the Text Element of WAD?
    Thanks In Advance

    I take back my qs as the qs is not valid anymore

  • Split imported XML data into multiple text fields

    I should first describe my final project because it is very possible that I am going about this entirely wrong!
    I am trying to create an interactive PDF file which is the floor plan of our office, when you mouse over the office spaces it would popup the info for the person in that office, in fact when you click on the office space it would show additional info like computer MAC and jack numbers
    I placed the floor plan as a layer and them created a second layer with no fill/no stroke rectangles over the offices and made them buttons (office01, office02)
    I then made text fields with the info for the people, one for regular info and one for extra info (office01-data, office01-Xdata) I made these text fields buttons as well and had them "hidden until triggered"
    These info fields are all on top of one another, as in the are all the same size and in teh same location
    Then I went to the office buttons and created events "On Roll Over" "Show/Hide Buttons and Forms" and changed the visibility of the corresponding info button.
    This works like a charm!
    I hope I am clear up to this point.... my problem now is I would like to import this data both regular and extra from an excel spreadsheet or an XML file.
    That way when we get new staff or people move offices or whatever I can update the spreadsheet or XML file, rerun my InDesign file and create a new interactive PDF
    I have created the XML file
    <staffMap>
         <staff>
              <name>John Doe</name>
              <computerName<gfth56df</computerName>
              <phoneMAC>00:08:00:AB:CD:EF</phoneMAC>
         </staff>
    <staff>
              <name>John Smith</name>
              <computerName<gfth06cb</computerName>
              <phoneMAC>00:08:00:11:22:33</phoneMAC>
         </staff>
    </staffMap>
    Created a new InDesign document
    Imported the XML and placed it in a text field
    saved as a template and closed it
    Reopen and import the XML data again... and it brings it all into the text field... wonderful and useful but not what I need.
    Is it possible to import the XML data into separate test fields, or into some other separate field that I can make into a button and show/hide?
    I may end up just entering all the data directly into InDesign as I know this will work, it just does not seem like the right way to do it.
    Thanking you all in advance 

    I am still looking to get some help with this.
    I would love to know if it is not possible or any ideas at all

  • Is there a way to import data from a specific text field in a PDF form directly into a text field in a different PDF?

    I know you can import form data from an .fdf file. Is there a way to import a specific value from that .fdf file into a text field in a separate pdf form?

    So I want the FDF to export every time the user saves or closes the PDF. Then I want the import to happen every time the user opens the PDF. That being said, this all has to work with Adobe Reader. If this is possible in anyway, I'd manage this would require some time of script. Any thoughts?

  • Typing freezes when typing in a text field

    When typing in a text field (commenting on a blog for example) the typing freezes if i try to backspace or move to cursor to add/correct something. How can I fix this? This happens  in Safari, but when I tried Chrome I had the same problem!

    Sorry just saw you were running iOS 6.
    To quit all apps in iOS 6, Double tap the Home button, hold an app icon until it wiggles then tap the for each app that is open. then try the reset.
    If that does not help you may want to try restoring.
    Be sure toi backup first.
    If restoring from a backup does not solve the problem then restore as a new device.
    iOS: Back up and restore your iOS device

  • InDesign (CS5) beachballs when clicking into a text frame

    Hi,
    I'm working on a document that causes a weird problem: when I click into a text frame, sometimes this causes InDesign to beachball for a few seconds. Activity monitor shows that InDesign takes 100% CPU time - no other activity involved. After a few seconds, everything works smoothly again.
    This does not happen every single time I click into a text frame. It happens especially after inserting sth from a library, or from another document (say, 7 out of 10 times). But it may also happen when copying (Cmd-C, Cmd-V or Alt-drag) a simple text frame within the same page.
    I gets more weird: This only seems to happen in two of my documents (and copys thereof). There isn't anything special about these documents. They contain a lot of tables and anchored objects, but that's true for a lot of other documents, too. I tried copying a table from document A (no problems) to document B (the one with problems). Clicking into this table causes a beachball. Coping the very same table within document A is fine. Even copying the table back from document B does not cause any problems. It seems like the effect is document-exclusive. I just don't know what makes it so darn exlusive .
    This problem occurs on different machines (all Macs, all 10.6, all CS5). The faster the machine, the shorter the beachball time. But even on an 8-core-iMac it easily takes up to 2 secs. Which is annoying, to say the least.
    Any ideas?

    Hmm, what version of 10.6 is this? I thought, as of 10.6.8, Sample Process always included the Binary Images section at the end. Unfortunately, because basically every one of the 250-odd plugins in InDesign has a GetPlugin()  symbol, it's tough to know exactly what is going on there...
    So, all 2126 samples recorded the same bottom 49 stack frames:
    2126 start
    2126 main
    2126 GetPlugIn
    2126 0x1cd60fef
    2126 SendEventToEventTarget
    2126 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*)
    2126 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)
    2126 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)
    2126 SendEventToEventTarget
    2126 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*)
    2126 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)
    2126 GetPlugIn
    2126 GetPlugIn
    2126 GetPlugIn
    2126 CEventDispatcher::DispatchEvent(IEvent*, IEvent::SystemHandledState)
    2126 CEventDispatcher::DispatchToEventHandlers(IEvent*)
    2126 CDefaultEH::ButtonDblClk(IEvent*)
    2126 CWindowEH::ButtonDblClk(IEvent*)
    2126 PanelEventHandler::ButtonDblClk(IEvent*)
    2126 PanelEventHandler::ButtonDblClk(IEvent*)
    2126 PanelEventHandler::ButtonDblClk(IEvent*)
    2126 PanelEventHandler::ButtonDblClk(IEvent*)
    2126 0x1f6bb8b8
    2126 GetPlugIn
    2126 0x1cfbf039
    2126 CSubject::Change(IDType<ClassID_tag>, IDType<PMIID_tag> const&, void*)
    2126 GetPlugIn
    2126 GetPlugIn
    2126 0x1afdcfdb
    2126 0x1afdc658
    2126 0x1afdb09c
    2126 0x1cfa0675
    2126 PanelView::Show(short)
    2126 PanelView::ParentsVisibleStateChanged(short)
    2126 CControlView::DoAutoAttach()
    2126 GetPlugIn
    2126 PanelView::Show(short)
    2126 CControlView::Show(short)
    2126 CComboBoxView::DoAutoAttach()
    2126 CControlView::DoAutoAttach()
    2126 CFontFamilyObserver::AutoAttach()
    2126 CFontFamilyObserver::Init(short)
    2126 0x1e757c45
    2126 GetPlugIn
    2126 GetPlugIn
    2126 GetPlugIn
    2126 GetPlugIn
    2126 GetPlugIn
    2126 StoryEndCharHelper::FixEndCharacterSingleStory(UIDRef const&)
    (Sorry, that's kind of long. Maybe I should have formatted it differently?)
    But clearly it has something to do with Fonts (CFontFamilyObserver), and something to do with one particular story (FixEndCharacterSingleStory()).
    Then when we look actually closer to the top of the stack:
        2121 StoryEndCharHelper::FixEndCharacterSingleThread(ITextModel*, long, long)
          2121 StoryEndCharHelper::GetFontAttributes(ITextModel*, long, boost::shared_ptr<AttributeBossList>*)
            2119 GetPlugIn
              1154 AttributeScanner::AttributeScanner(IComposeScanner const*, long, long, IDType<ClassID_tag> const*, IDType<ClassID_tag> const*, AttributeScanner::AttributeClassification)
                1151 AttributeScanner::ReadAttributeChunk(short)
                  1143 AttributeScanner::ReadAttributesFromVOS(VOS_SimpleCursor*, short, short)
                    1120 AttributeScanner::ReadAttributesFromRunIn(AttributeBossList const*, long*, short)
                      1117 GetPlugIn
                        1116 GetPlugIn
                          1102 GetPlugIn
                            1011 GetPlugIn
                              963 GetPlugIn
                                889 GetPlugIn
                                  768 GetPlugIn
                                    658 boost::basic_regex<int, boost::icu_regex_traits>::do_assign(int const*, int const*, unsigned int)
                                      596 boost::re_detail::get_icu_regex_traits_implementation(icu_3_6::Locale const&)
                                        587 icu_3_6::Collator::createInstance(icu_3_6::Locale const&, UErrorCode&)
                                          586 icu_3_6::Collator::makeInstance(icu_3_6::Locale const&, UErrorCode&)
                                            581 icu_3_6::RuleBasedCollator::RuleBasedCollator(icu_3_6::Locale const&, UErrorCode&)
                                              578 icu_3_6::RuleBasedCollator::setUCollator(char const*, UErrorCode&)
                                                578 ucol_open_internal_3_6
              958 AttributeScanner::GetSameRunLength()
                958 AttributeScanner::ReadAttributeChunk(short)
                  958 AttributeScanner::ReadAttributesFromVOS(VOS_SimpleCursor*, short, short)
                    944 AttributeScanner::ReadAttributesFromRunIn(AttributeBossList const*, long*, short)
                      942 GetPlugIn
                        941 GetPlugIn
                          933 GetPlugIn
                            865 GetPlugIn
                              812 GetPlugIn
                                744 GetPlugIn
                                  647 GetPlugIn
                                    538 boost::basic_regex<int, boost::icu_regex_traits>::do_assign(int const*, int const*, unsigned int) 
    Well, I made some attempt to filter out the weeds. A substantial amount of time is spent in the regular expression library. Do you have GREP styles? They may be part of the problem.
    If we can resolve this without needing to know which GetPlugIn() are which, that would be helpful. Otherwise you'll need to [maybe?] upgrade to 10.6.8; force a crash (View > Send Signal > Abort (SIGABRT)) in Activity Monitor, which may not be easy to do usefully, since if the crash happens during one of the unremarkable parts of the beachball, it won't tell us anything; break out fancier less user-friendly tools like Instruments.app or gdb.
    I don't suppose you're familiar with any of those tools?
    So, I would try removing all your non-system fonts and seeing if that changes the behavior. Or tightening up GREP styles...
    Or pulling out the heavy guns.

  • Apostrophe cause a carriage return when sig is selected

    I've got no clue on this one folks, only seems to happen in mail when a sig file is selected as a default, regardless of whether a new signature is created from scratch or a pervious one is chosen.  If none is select it appears to not happen or the adding of an apostrophe does not invoke a carriage return?
    All clues and observations welcome!
    Mr. "P"

    Yes as it turns out someone had turned on smart quotes in the keyboard system preferences.
    Case closed...

  • Why do I get a NI-488 error massage when writing into a file and at the same time copiyng this file with a backup softwarre like Easy2Sync?

    I have a small LabVIEW program which writes random numbers very fast into a ASCII-file. I want that file to be copied to a new position every 10 min. Therefor I use a backup/synchronisation software which is doing a copy operation every 10 min. It works fine a certian amount of time and after a while I get either an LabVIEW error (LabVIEW: Fiel already open: NI-488 Comand requieres GPIB Controller to be System controller) or an backup-software error (couldn´t open file...whatever). I´m guessing, it has something to do with file-access but I don´t know why?!? If I run the LabVIEW program and I copy and paste the random-number-file with the windows explorer very fast (pressing ctrl+v rapidly) while LabVIEW is still writing into this file, no error appears. Can sombody help me?
    LabVIEW 2011

    Hi Serdj,
    you don't get a GPIB error, the error number has just 2 different explanations...
    Well, you have two programs accessing the same file. One program just wants to make a copy, the other (LabView) is trying to write to the file. When copying a file that is written to you get inconsistent results! That's why one of both programs is complaining an error...
    You can't have write and read access at the same time! (But you can have more than one read access at the same time...)
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Check Code (PK) When type in to text field,Exist or not

    Hi,
    i want to create a Language Master.I have take two fields LAN_CODE and LAN_NAME in LANG_MASTER Table. Here LAN_CODE is my Primary Key.
    Now problem is when i type New LAN_CODE into Text Field Item and when i press Submit then it show me Error LAN_CODE Already Exist .
    I need when i Type New LAN_CODE in Language Code TEXT FIELD then it should be check LAN_CODE Already Exist or not. if LAN_CODE Already Exist .then Cursor should not point (go) to Next Item.
    My LAN_CODE Formate is
    HIE-------Hindi
    ENG------English
    PAN------PANJABI
    How can i check code when i type new code in to text field.Code Exist or Not.
    How can i do this.
    Thanks
    Vedant
    Edited by: Vedant on Jun 2, 2011 11:39 PM

    Hi Paul ,
    Thanks to reply me.
    I have created a form with report and
    i did apply that code ,It's working BUt Now Problem is when i press TAB then it's show me error Value Already Exit But Here it's change into APPLY_CHANGE Mode .
    How can i prevent to page not in Apply Change Mode.
    i want when TAB Press and check for Duplicate VAlue it should be in Create New Language Mode.
    How can i do this.
    Thanks
    Vedant
    Edited by: Vedant on Jun 5, 2011 11:19 PM

  • Query a view w/data entered into a text field populated by 2 table fields

    Hello, Looking for advise!!! I have a tabular canvas thats datablock uses a view to populate. In this canvas I have a text field that has been populated with first_name || ' ' || last_name in the database node of the property pallate column name. The text field is not in the table or view. I have created it in the data block and make it a database item. However, I would like to have the user push a search button to go into ENTER_QUERY mode then the user would enter the criteria to search on in this text field. The user would then push button to EXECUTE_QUERY. The result is I retrieve all records. I want any search criteria entered into this field to be used against the last_name field to retrieve any records equal to the search criteria entered, for example A%. Does anyone know if this is possible?

    Hi!
    You have to use PRE-QUERY trigger to compose the search criteria. Below I put an example of it. You have to have at least one item in the block wich is true database item (e.g. it has to exist in table or view on which your block is based). In the following example EMP_DESC is your non-database search item and EMP_ID is the database one.
    Declare
    Dummy VARCHAR2 (2000);
    begin
    if :EMP.EMP_DESC IS NOT NULL and :EMP.EMP_ID IS NULL
    then
    Dummy := '#IN (SELECT emp_id FROM Employees WHERE Upper (emp_first_name)||'' ''||Upper (emp_sec_name) LIKE Upper (''%'||:EMP.EMP_DESC||'%''))';
    Copy (Dummy, 'EMP.EMP_ID');
    end if;
    end;
    Thats it. Note the # sign in the first position of the Dummy assignment. This is required by forms to glue your search criteria and block's where clause. You may analize LAST_QUERY property of your block in order to understand how this work. Remember also to set the QUERY_LENGTH property of the EMP_DESC item to the value that could contain the whole Dummy string (otherwise it will give you an error and cut the mar the query).
    Hope this helps.
    Sergey.
    P.S. And set your EMP_DESC database item property to NO.

  • Sometimes when I click in text fields (like to fill out a captcha), I get a pop-up ad and Firefox immediately switches to it, leaving the tab blank.

    My problem is pretty much this, if I can explain it well enough: when I click on certain text fields, like to input the answer to a captcha, for instance, I constantly get pop-up ads and Firefox will switch to the pop-up, leaving the entire page that I was on before blank as if I opened a new tab.
    This started a while ago and I'd been trying to just deal with it, but it's really starting to drive me up the wall. Is there a fix to this? I'm sure it happened when I went to about:config to try and fix something about text auto-filling. I can't say whether I did that right or wrong, considering my text doesn't autofill anymore, but now I have this annoying problem.
    Help?!

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    Please scan with all programs because each program detects different malware.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *http://support.kaspersky.com/viruses/solutions?qid=208280684
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • How to get the field texts from abap dictionary into screen Text fields

    Hi SapAll.
    here i have got to modify one zscreen by adding 1 more field,when i added one field in teh screen by just writng the code in program as SELECT-OPTIONS ilart FOR CAUFVD-ILART.
    but iam unable to get the field text for the text field from teh table CAUFVD.
    CAN ANY BODY HELP ME IN THIS.
    regards.
    varma

    Hi Varma,
    Even if you want to personalise the Text also you can do without checking the DICTREF checkbox. Dirctly you can give the text in the Text elements by using the Menu GOTO -> Text Elemetns -> Selection Texts.
    Regards
    Thiru

Maybe you are looking for

  • Vertical Menu Problem

    I am trying to get the sub-menu to simply flyout just ABOVE the parent menu, instead of the default in which is appears just below. I played around with the margin settings to no avail, but I took the setting "top: 0;" and changed it to "bottom: 100%

  • Urgent...simple internal table problem

    Hi gurus i am filling a internal table like this loop at i_0001 into s_0001. clear out_final. out_final-pernr = s_0001-pernr. out_final-parea = s_0001-parea. loop at i_0021 into s_0021 where pernr = s_0001-pernr and subty ne '7'. perform rec1. endloo

  • About "virtual directory" and ShellFolder

    hi, everyone! i'm a freshman to this language, and met some trouble last night. i'm designing a small program by using jfc. the project is just like "ms resources explorer", containing a tree view. i wanna create a root node which represents desktop,

  • PSA Deletion Process failed in Process Chain

    Hi..I have a bizzarre issue... I have created one process step in Process chain for deletion of PSA data of a particulur data source(o days).Every setting is fine. Except for it fails and gives message: Data inconsistency; Partition /BIC/B0001723000

  • Faces merging again with 9.1.3?

    Just updated to 9.1.3 and decided to work on Faces. While working with one person, I noticed that other peoples faces were getting into the confirmed Faces.  For example, there are 10 confirmed faces of Alice.  I try to confirm 2 more, and then 2 pre