Change the widht of a field with lingo

Is it possible to adjust the widht of a field with lingo? Or adjust the length of the field to the text content?
Thanks.

Thenks Sean,
I have two field set to "fixed" for a pop up menu.
The script for the first field is this:
property variabileLinea
on mouseDown
  sprite(me.spriteNum).member = member("MyField1")
end
on mouseUp me
  sprite(me.spriteNum).member = member("MyField3")
  member("MyField2").line[1] = member("MyField1").Line[variabileLinea]
end
on EnterFrame me
  variabileLinea = _mouse.mouseLine
  member("MyField1").Line[variabileLinea].hilite()
end
"MyField1" adjust the lenght of the field to the text content, "MyField2"  after the mouse up no. Any suggestion?
Thanks.

Similar Messages

  • How to change the caption of a field with a button?

    I have serious trouble, don't know why, in order to change the caption of a field.
    I can't do it with a button as in any other way...dropdown list, ecc...
    Assumes that we have a button and "on click" i want to change the caption of a numeric or text field.
    form1.ppp.Button1::click - (FormCalc, client)
    NumericField1.caption.value.text.value = "whatever you want to set it to";
    TextField1.caption.value.text.value = "whatever you want to set it to";
    xfa.form.form1.ppp.NumericField1.rawValue = xfa.form.form1.ppp.NumericField1.rawValue + 1;
    The numerical value inside the numericalfield1 is increased each click...but the caption still the same.
    Why this happen?
    I check many threads on this forum and on google and i still find these samples...
    please help.
    Thank you

    Yes, it is. Also in preview i checked "dynamic XML". is it right?
    i try to download this sample while searching in the forum to solve my problem
    https://acrobat.com/#d=pxtis4z3OxCqWxajZwDS2Q
    i try to add to that form my code and it's work!! i can't undersand why...
    Below you can find my PDF...i can't understand why here the same code doesn't work
    http://www.hsc350.it/download/Untitled2.pdf
    Thank you again!

  • How do I change the text in a field with radio buttons or check box?

    Hi All:
    I have a form that has a list of things with check boxes (could be done with radio buttons) at the bottom. The client wants a single field at the top of the form that repeats the text next to the checkboxes. For example if a user checks the box next to the words "You did thing 1 wrong" the client wants "You did thing 1 wrong" to appear in this text box at the top of the form. If the user checks the box next to the words "You did thing 2 wrong" the client wants the words "You did thing 2 wrong" to appear in the magic box at the top of the page. There are 10 different check box options, so the box at the top would need to be able to have 10 different things in it.
    Client is not interested in a drop down menu. I asked.
    I am in a bit over my head here, so my question is twofold.
    1. Can you do this in Acrobat Pro 10 on a Mac?
    2. Can you supply me with code?
    Thanks in Advance,
    Amy W.

    Create a text field and make this script its custom calculation script :
         var a ="";
         if (this.getField("Check1").value == "Yes"){
         a="You did thing 1 wrong";
         event.value = a;
    Also, replace "Check1" with the name of your check box or radio button, and give it an export value of "Yes".

  • Cr XIR1 to create a custom function to change the timestamp of a field

    Post Author: palm
    CA Forum: Crystal Reports
    Hi,
    I am trying to create a custom function to change the timezone of a field in the report depending on the timezone selected by the user in the prompt
    I wrote a SQL Expression to do this , but i ended up creating a bunch of expressions for each time zone ,
    So i am thinking of custom fuction some thing like
    TimeZoneConvertor:
    Fuction(TimeStampField ,  Timezone)
    Returns: Timestamp field with newtimezone as selected by user
    Hope you get this and please give me some kind of ideas to acheive this
    Thanks in Advance!!!!!!!!

    Hi
    goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
    Look at the below SAP HELP links, These links will show you the way to create a Function Module
    http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm

  • How to change the attributes of screen fields dynamically

    <b></b>
    well i have created a table by name empmaster_data with following fields.
    *emp_id.
    *emp_fname.
    *emp_lname
    *dob.
    *doj.
    *dept.
    *desig.
    now using a single screen i want to create,change and display the information.even i am using save and exit button.
    now i want to change the attributes of screen fields dynamically like active,input,output,invisible.

    Hi,
    Have Different Radio Buttons for the purposes what you have and use AT Selection Screen Output, Under the event Use loop at screen and with continue with your requirement.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • Changing the text of Text field in standard SAP transaction.

    Hi expert,
    I have a requirement in which i have to change the text of Text field in standard SAP transaction.
    Is it possible? If so, how?
    Any pointers will be highly appreciated.

    Hi,
    I think you want to change the field label of the text field.
    For ex in tcode MM01, you can change the field label of Material text field.
    The description of the field label comes from the data element it is associated with. To change the text of the field label, you have to change the field label of the data element.
    But it will effect all the fields associated with this data element.
    To change the field label of the data element go to tcode CMOD. Then click on GOTO->TEXT ELEMENTS->KEYWORDS->CHANGE.
    Then enter the data element which is to be changed. In the next screen, change the field label and save it.
    Regards,
    Vinod

  • Automatic tab when reaching the end of a field with limited character number

    Hello!
    Is there a way of activating an automatic tab behaviour when the user reaches the end of a field with limited character number?
    I'd like the cursor to jump to the next field in tab order automatically.
    Possible?
    Thank you for any hints!
    Marcos

    Hi,
    What if you tried something like the following example? This works using formCalc on the change event for the field the user is currently typing into:
        var fullCount = 3
        var currentString = xfa.event.newText
        if(Len(currentString) >= fullCount)then
            xfa.host.setFocus("TextField2")
        endif
    Or, if you prefer javaScript:
        var fullCount = 3;
        var currentString = xfa.event.newText;
        if(currentString.length >= fullCount){
            xfa.host.setFocus("TextField2");
    These work very smoothly.
    Hope this helps!
    Stephen

  • Changing the Default meta data field property required into not required.

    Hi,
    Is it possible to change the default meta data field property values in UCM server.
    For example consider the meta data Revision field which property required is true, then how to change this property required into not required.
    Is this possible or not?
    Thanks
    Hari

    Hari,
    in your case (if you don't want to use versioning) I'd rather recommend to change it to hidden than not required. You should be able to do it with standard profiles (the field name, I believe, is dRevision)
    I don't think you can have the field empty (in case someone deletes the content).

  • Change the name of a field in the forms

    Hello, experts:
    As I can change the name of a field in the forms?
    When you change the name of a field on the form, the field name in the database also changes?
    Joan

    Hello Joan:
    If you mean the label of the form you can do with CTR + Double Click.
    Remember not to change the integrity of the database. Is only allowed to user fields
    make changes at the level of views, stored procedures, among others, which do not compromise the integrity of
    data.
    Remember, even if they change the label, has changed the field name in the database, only the presentation
    the form.
    Edwin Mauricio Nieto Leó

  • Changing the name of standard Field

    we have ECC6.0 with three countries using. Now i want to change the Standard Field name on an infotype ,i know how to change the name of the field. but my question is if i change the name of standard field it gets reflected for all the 3 countries, but i wanted to change for only one country?
    how can i achieve this?

    infotypes are Country Specific so pls check V_T582L once
    and check the screen numbers of the infotypes for various infotypes useing PE03 P0002 feature
    and check those module in V_T588M  and after this
    go to Tcode CMOD and do the rest of the thing u want to do
    hmm...... All the best

  • I have a list a and want to use (CSR) Jslink to change the view but multiple fields

    I have a list but want to use CSR - jslink to change the view of multiple fields. Can a jslink have multiple fields to change. Looking at the samples
    here
    Would like to merge 2 or 3 script in one to do multiple things. Is this a best practice?
    Thanks in Advance
    Code snippet here below(tried this but not working for me.Sure im missing something): Trying to combine the prioritycolor and percentagecomplete together but not working
    // Create object that have the context information about the field that we want to change it's output render
    var fieldsContext= {};
    fieldsContext.Templates = {};
    fieldsContext.Templates.Fields = {
    // Apply the new rendering for Priority field on List View
    "Priority": { "View": priorityFiledTemplate },
    "PercentComplete": {
    "View": percentCompleteViewFiledTemplate,
    "DisplayForm": percentCompleteViewFiledTemplate,
    "NewForm": percentCompleteEditFiledTemplate,
    "EditForm": percentCompleteEditFiledTemplate
    SPClientTemplates.TemplateManager.RegisterTemplateOverrides(fieldsContext);
    // This function provides the rendering logic for list view
    function priorityFiledTemplate(ctx) {
    var priority = ctx.CurrentItem[ctx.CurrentFieldSchema.Name];
    // Return html element with appropriate color based on priority value
    switch (priority) {
    case "(1) High":
    return "<span style='color :#f00'>" + priority + "</span>";
    break;
    case "(2) Normal":
    return "<span style='color :#ff6a00'>" + priority + "</span>";
    break;
    case "(3) Low":
    return "<span style='color :#cab023'>" + priority + "</span>";
    // This function provides the rendering logic for View and Display form
    function percentCompleteViewFiledTemplate(ctx) {
    var percentComplete = ctx.CurrentItem[ctx.CurrentFieldSchema.Name];
    return "<div style='background-color: #e5e5e5; width: 100px; display:inline-block;'> \
    <div style='width: " + percentComplete.replace(/\s+/g, '') + "; background-color: #0094ff;'> \
    &nbsp;</div></div>&nbsp;" + percentComplete;
    // This function provides the rendering logic for New and Edit forms
    function percentCompleteEditFiledTemplate(ctx) {
    var formCtx = SPClientTemplates.Utility.GetFormContextForCurrentField(ctx);
    // Register a callback just before submit.
    formCtx.registerGetValueCallback(formCtx.fieldName, function () {
    return document.getElementById('inpPercentComplete').value;
    return "<input type='range' id='inpPercentComplete' name='inpPercentComplete' min='0' max='100' \
    oninput='outPercentComplete.value=inpPercentComplete.value' value='" + formCtx.fieldValue + "' /> \
    <output name='outPercentComplete' for='inpPercentComplete' >" + formCtx.fieldValue + "</output>%";

    Hi Patrick,
    It works in my test environment using your code.
    I suggest follow the steps as below:
    1. Save the following code as a js file (TaskListView.js) and upload it into the SiteAssets Document Library.
    2. Edit the list view page.
    3. Edit the list web part. Go to Miscellaneous -> JS Link.
    4. Add the following URL into the JS Link textbox.
    ~site/SiteAssets/TaskListView.js
    5. Click "OK" and save the page.
    If it still not works, please check whether active the Minimal Download Strategy feature in site feature or not.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • For FaceTime, can you add an additional e-mail that is not your Apple ID e-mail?  Everytime I try to do this on my iPad it sends me a verification e-mail saying I am trying to change the e-mail address associated with my apple ID and wants me to verify.

    I am trying to add another e-mail address to FaceTime, but do not want to change the e-mail address associated with my Apple ID.  Everytime I try to add the e-mail address in my FaceTime settings, it send me a verification e-mail asking me to verify that I want to change to this new e-mail address for my apple ID.  I do not.  I just want to have an additional e-mail address for people to contact me via FaceTime. Does anyone know how to do this?

    You can have multiple addresses associated with your apple id. You will have to verify any changes before they can be added and this is done by sending you an email. This is to protect you from someone else makeing changes to your account.
    You can make any changes and view all your info here:
    My Apple ID
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/

  • Changing the label of a field in SAP GUI

    Hello SAP Guys,
    I would like to change the label of a field in SAP GUI.
    I already did it internally because for that field the Shor Text of the label changed:
    I went to SE11, and wrote down the appropriate data element, through Translation I changed the entries of SCRTEXT_L, SCRTEXT_M and SCRTEXT_S and activated this change after saving.
    It is very strange that after making sure that the
    Short Text of that field was changed, I went to trx BP and I could see that the label didn´t change.
    I´ll appreciate any help you can give me,
    Regards,
    Efrain

    Hi Efrain,
    Can you tell me in which screen did you make the screen.
    Moreover the changes are not reflected immediately.
    What you can try is to create a new record of the transaction in which you changed the label and save the recore. After this try to close the session and reopen the transaction and this should work.
    The reason is the label on the screen are not picked up from the data element everytime but from buffer. So when you create a record this updates the database table entry and can also refresh the buffer.
    I had the same problem in BP transaction and the above solution worked.
    Let me know if this helps.
    Jash.

  • How to change the lenth of existing field in sap standard table

    Hi all,
    can anybody help,my requirement is, how to change the length of existing field in sap standard table....
    thanks in advance..

    Which field are you thinking of in particular?  Are you wanting to increase or decrease the length?
    Some fields are used so extensively that a change to their length will mean adjusting many tables, some of them potentially very large, and hence taking a long time to adjust.
    Some standard SAP programs expect certain fields to be of specific lengths and won't work if the length is changed.
    Some screens could cease to work.
    If you decrease length, then you could lose data.
    matt

  • How to change the text of a field in organisational assignment.

    hi gurus,
    how to change the text of field MSTBR (super visor) to a differnt name in info type pa0001.
    i have changed the field name in cmod , changed name appears in table.but it is not appearing in the info type screen 0001.
    how to resolve this pls help me..

    hi,
    The Field showing in the infotype 1 is FORPR.
    Change the text of this Field in CMOD.
    CMOD ->Go to ->tect Enhancements->keywords-> Change ->FORPR
    Change the text and check again.
    Regards,
    Manoj.

Maybe you are looking for

  • I have many PDF files in iBooks for iPad 2. How can I get those files to sync with iPhone 5?

    I Have many categories of my work brochures stored in PDF format in iBooks. iPad 2 running iOS 6. I'd like to be able to view those same PDF files on my iPhone 5. Is this possible to do over the iCloud ? i Cannot do it via iTunes because my MacBook i

  • Is there a Virtual Box Appliance available with OWB 11gR2?

    Does anyone know if such a thing is available (like the Developer Days appliance, but set up for DW)? Thanks.

  • Adobe & Moss 2007

    Hi everybody, I want to write here about a problem I noticed using Adobe 8.0 with moss 2007 with Service Pack 1. I just tried to install Adobe 8.0 on a server with Moss 2007 to use the Ifilter Utilities. I installed it, I changed sone registry entrie

  • Extracing using BDoc.

    Hello Experts, We are extraction data from CRM using a bespoke BAdi. The same BAdi is referring to BDocs. I can confim that though the BDoc are deletd, data is coming into BW. So I'm wondering where the data is coming form? Any leads/ inputs will be

  • Adobe Reader XI et Windows Vista?

    Bonjour, Pourquoi la version française de Adobe Reader XI ne peut être installée avec le système Windows Vista, mais peut l'être sur Windows XP, poutant plus ancien? Merci!