Indigo Rose Software

Professional Software Development Tools

 
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 16
  1. #1
    Join Date
    Jul 2006
    Posts
    38

    Problem whit the definitions of Imput Mask Settings ??

    Hi

    I have tried to create a imput object on AMS6 and i have some problem to create it as i want.
    I was trying to create a imput object with approximately 50 bytes and with spaces between those bytes, the AMS6 wont let me create so larger objects.

    This pict show us the max of what the program can do:


    AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA

    This is what i would like to do:


    AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA

    Can somebody help me whit that code, please ?

  2. #2
    Join Date
    Jul 2006
    Posts
    38
    Is it possible to do it other way?

    (Sorry about my poor english )

  3. #3
    Join Date
    Jul 2006
    Posts
    38
    Quote Originally Posted by steven
    Is it possible to do it other way?

    (Sorry about my poor english )
    How can i create a input object whit this configuration without using the function Input Mask ?


  4. #4
    Join Date
    Jul 2006
    Posts
    38

    Huh?

    An input mask is a special pattern that controls what the user can type into a MaskedInput dialog or input object at run time. The mask can be any combination of regular text characters (literal characters) and special characters. Each special character, as outlined below, represents one "place" in the edit field where the user can type a character. Different special characters allow different kinds of characters to be typed in their "place" by the user. For example, the # character only allows a digit between 0 and 9 to be typed in its place, and the ? character only allows a letter between a and Z.
    Note: The special characters you use in the input mask determine what the user will be allowed to type into the edit field.
    Does anyone knows a way to put more special characters in a input object?

    Help me please

  5. #5
    Join Date
    Jan 2000
    Posts
    2,002
    Try setting it with script on the On Show event of the page that the input object is on (example assumes that your input object is called "Input1"):

    Code:
    tblProps = Input.GetProperties("Input1");
    tblProps.MaskText
     = "AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA";
    Input.SetProperties("Input1",tblProps);

  6. #6
    Join Date
    Jul 2006
    Posts
    38
    Tks Brett for your help

    i have tried to do it but when i try to do the preview i received this error









    Tks for your help

  7. #7
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Be sure to replace the name of your input for "Input1". More than likely you named yours something else, and therefore the table doesn't exist.

  8. #8
    Join Date
    Jul 2006
    Posts
    38
    Tks for your help Worm

    The object is defined is defined as INPUT1..

    Now i have to study a little more to create that table, just as you say..

    Can you help me creating the table that i need to my input object?

    Sorry about the poor english
    Last edited by steven; 07-25-2006 at 09:24 AM.

  9. #9
    Join Date
    Jul 2006
    Posts
    38
    where I can create the table.. and how should it look like

    On Page Properties or in the Object Properties anyone can give me a hand on this please

    I am newbie in this and iappreciate all help

    tks guys
    Last edited by steven; 07-26-2006 at 05:23 AM.

  10. #10
    Join Date
    May 2005
    Posts
    1,115
    create a table like this:

    MyTable={}
    Never know what life is gonna throw at you.
    (Based on a true story.)

  11. #11
    Join Date
    Jul 2006
    Posts
    38
    Can you help me whit the full code .. i have tried to create but :(

    Code:
    Input1 = {tblProps}
    tblProps = Input.GetProperties("Input1");
    tblProps.MaskText = "AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA";
    Input.SetProperties("Input1",tblProps);
    or


    Code:
    tblProps = {input1}
    tblProps = Input.GetProperties("Input1");
    tblProps.MaskText = "AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA";
    Input.SetProperties("Input1",tblProps);
    in the project nothing happens



    and this is what a would like that appends when i typed in the input object.



    tks for your help

  12. #12
    Join Date
    Oct 2005
    Location
    MI
    Posts
    524
    This should work.

    Code:
    -- This part creates an empty table
    tblProps = {};
    
    -- This part fills the table with the properties of the object named "Input1"
    tblProps = Input.GetProperties("Input1");
    
    -- This part replaces the mask with the one you want in the table
    tblProps.MaskText = "AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA";
    
    -- This part writes the table including the new mask back to the object named "Input1"
    Input.SetProperties("Input1", tblProps);
    Yeah right. Who's the only one here who knows the illegal ninja moves from the government?

    ()))))))))o)))))))==============================================

  13. #13
    Join Date
    Jul 2006
    Posts
    38
    it dosent work :( :(

    whem i place some charaters in the input object, they apears just like i have writen and not like this



    Tks for you help TJS

    i am desperate with this code ;( ;(

  14. #14
    Join Date
    Oct 2005
    Location
    MI
    Posts
    524
    When you view the properties of the Input Object, what is the "Input Style" set to? It should be "Input Mask". You can add this to the code to ensure it is set that way.

    Code:
    -- This part creates an empty table
    tblProps = {};
    
    -- This part fills the table with the properties of the object named "Input1"
    tblProps = Input.GetProperties("Input1");
    
    -- This part sets the input object to use input mask
    tblProps.InputStyle = 2;
    
    -- This part replaces the mask with the one you want in the table
    tblProps.MaskText = "AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA";
    
    -- This part writes the table including the new mask back to the object named "Input1"
    Input.SetProperties("Input1", tblProps);
    Edit: Seems to work when I try it....
    Last edited by TJS; 07-26-2006 at 08:29 AM.
    Yeah right. Who's the only one here who knows the illegal ninja moves from the government?

    ()))))))))o)))))))==============================================

  15. #15
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834
    When I was looking into your problem, I noticed that it appears the Input Mask does not work on Input Objects set to multiline. At this point, I'm not sure if it is a bug or by design (but incorrect in the docs). I know that the Password option is not supported for multiline, so that one may not work either. I did get the single line to work though.

    I've logged the issue to be looked into.

    REF: 13410
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Change IE settings function problem
    By Jim Smiley in forum AutoPlay Media Studio 6.0
    Replies: 2
    Last Post: 04-07-2006, 03:30 PM
  2. Set Mask on Object Problem
    By Roboblue in forum AutoPlay Media Studio 6.0
    Replies: 6
    Last Post: 10-31-2005, 04:23 AM
  3. Bug - Project Settings - Custom Mask area
    By Intrigued in forum AutoPlay Media Studio 6.0
    Replies: 23
    Last Post: 09-25-2005, 09:59 AM
  4. INFO: Tips for Debugging Action Lists in AutoPlay Media Studio 4.0
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-03-2002, 08:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts