Prompt text

hi all.
i have two text items let say t1 and t2 i want when cursor on t1 so the prompt text should bold
and when cursor on t2 so the t2 prompt text should be bold.
when cursor on t2 then the t1 should be in normal text.
is it possible?
Forms 10G.
OS xp sp3.
sarah

--WHEN-NEW-ITEM-INSTANCE (In Block level)
IF :SYSTEM.TRIGGER_ITEM = 'TEST.TEXT1' THEN
Set_Item_Property('TEST.TEXT1',PROMPT_FONT_WEIGHT , FONT_BOLD);
Set_Item_Property('TEST.TEXT2',PROMPT_FONT_WEIGHT , FONT_LIGHT);
ELSIF :SYSTEM.TRIGGER_ITEM = 'TEST.TEXT2' THEN
Set_Item_Property('TEST.TEXT2',PROMPT_FONT_WEIGHT , FONT_BOLD );
Set_Item_Property('TEST.TEXT1',PROMPT_FONT_WEIGHT , FONT_LIGHT);
END IF;
There are many triggers in Forms so you can try diff option according to your need.
Regards,
Lokanath Giri

Similar Messages

  • DropDownList prompt text color over

    How do you set the prompt text color for a DropDownList in the over state.
    The DropDownListButtonSkin has an over state so I can set anything to do with the button in this skin.
    However, the prompt does not belong to the button but to the DropDownList itself. The DropDownList skin does not have an over state.
    I am trying to create a UI where the prompt color and style changes as the user mouses over the DDL but I can't see how to do this.

    Hi,
    Did you ever manage to solve this? I'm having exactly the same problem
    Many thanks in advance
    Chris

  • How can we use Prompt text from Field comment in database

    After migrate database from 4 to 9, I'm getting the problem. The problem is Prompt text in Form don't appear. So, how can we get the Prompt text by using the comment of the field in database which it related with that database text. Thank you.

    Hello,
    The table name is indicated in the query data source name property of the block
    Get_Block_Property( 'bloc_name', QUERY_DATA_SOURCE_NAME ) ;
    The column name is indicated in the column name item property
    Get_Item_Property( 'blk.item_name', COLUMN_NAME ) ;
    Comment is stored in the user_col_comments view
    Here is the code that retrieves coments for all based items of the current block:
    Declare
      LC$Table    Varchar2(30);
      LC$Column   Varchar2(30);
      LC$Item     Varchar2(61);
      LC$Comment  USER_COL_COMMENTS.COMMENTS%Type ;
    Begin
      LC$Table := Get_Block_Property( :system.current_block, QUERY_DATA_SOURCE_NAME ) ;
      -- For each item of the block --
      LC$Item := Get_Block_Property( :system.current_block, FIRST_ITEM ) ;
      Loop
        LC$Column := Get_Item_Property( LC$Item, COLUMN_NAME ) ;
        If LC$Column is not null Then
             Begin
            Select
             COMMENTS
            Into
             LC$Comment
            From
             USER_COL_COMMENTS
            Where
             TABLE_NAME = LC$Table
            And
             COLUMN_NAME = LC$Column
            -- set the prompt --
            Set_Item_Property( LC$Item, PROMPT_TEXT, LC$Comment ) ;
             Exception
                  When no_data_found Then
                     Null;
             End;
        End if ;
        LC$Item := Get_Item_Property( LC$Item,  NEXTITEM ) ;
        Exit When LC$Item is null ;
      End loop;
    End;Francois

  • To Apply PROMPT-TEXT For Multy Language Like Arabic Or English

    Dear Frinds
    To Apply PROMPT
    When I Log In AP arabic Language Show PROMPT In arabic
    Or
    When I Log In in AP English Language Show PROMPT TEXT In English
    Can I appaly this SOLUTION In Custom.pll
    Thanks

    Could any one please advise me on my question, so that it will be helpful to purchase the correct application before i go forward.

  • How to force all characters in prompt text field will be in uppercase???

    Hi everybody
    How to get that all characters in a prompt field of a Webi report will be compared in uppercase with the database field ?? Even if the user input text in lower case.
    this is due to the database all filelds are in uppercase, and avoid to say to the users they input fileds in uppercase.
    i looked for a parameter in a universe and in oracle.prm filed, and i didn´t find it.
    Thanks in advance
    Guillermo
    DB: ORACLE 10G
    BO: XI r2

    Thanks a lot rohy.
    now i use that solution, but my intention is try to solve to all objects, not each object individualy, due to i have a lot of objects that a user can choose from a prompt, and i have a lot of filters to do that
    i would like to change some parameter to do that at one time.
    i investigate about it......
    thanks again.
    best regards Guillermo
    have a nice day

  • Disable prompt text

    Hello all,
    I have a form with a couple of database fields. I have to hide a field when it has a certain status. The problem is to hide the prompt of this item.
    if c_pro%found then
    set_item_property('FILES.DEINUSE', visible, property_true);
    set_item_property('FILES.DEINUSE', enabled, property_true);
    set_item_property('FILES.DEINUSE', update_allowed , property_true);
    set_item_property('FILES.DEINUSE', displayed , property_true);
    else
    set_item_property('FILES.DEINUSE', visible, property_false);
    set_item_property('FILES.DEINUSE', enabled, property_false);
    The field is disabled en not visible, but the prompt remains visible. I have tried "PROMPT_DISPLAY_STYLE", but its not working. The prompt is a button above the field.
    Thnx.

    Hi,
    Make sure the caption is the prompt of the item itself. If an item is hidden, then its prompt will also be hidden. The caption may be a independent Text. And we can't change the TEXT item's property runtime.
    Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

  • Opening file in Illustrator prompts "Text Import Options" and does not open file correctly.

    I've been dealing with this issue for quite a while and I am thoroughly stumped. A co-worker has emailed me .ai files in the past without issue. In the last couple months, however, her attached .ai files no longer open properly.
    This is the first screen I get when trying to open the files:
    Regardless of what checkboxes are marked or options changed, the outcome is always the same:
    If you can't read that, the error code is as follows:
    {"Body":{"ErrorCode":500,"FaultMessage":"Unable to get write stream for mac attachment.","IsTransient":false}}
    Putting this line of code into Google returns exactly "0" finds.
    Nobody else in the company seems to have an issue with opening the same file when this co-worker forwards it to them. I did notice, however, that the file is 141 kb within her email, but when I download it, it shrinks to 344 bytes. I don't know if for whatever reason my computer is just not downloading all of the information or what might be going on.
    To reiterate, these are the facts that I know:
    1. She is on a mac and I am on a PC.
    2. We are both using Illustrator CS6.
    3. Other co-workers on PCs do not have this problem when she emails it to them.
    4. The file shrinks from 141 kb to 344 bytes when I try to download it from her email.
    Edit: I just had her send the email to my personal gmail account and the file opened perfectly, so this appears to be an issue with office365.com which is where my business email is located. Everyone else here uses the same email service, however, so this is still an isolated issue with my account.
    Any help or ideas would be very much appreciated.
    Thank you!

    Thank you for the reply. We went through a lot of different ideas to try and fix this, but zipping the file never even crossed our minds for some reason... :\

  • Text Input Prompt

    Does anyone tried to build some text input field that can do prompt? Something like auto-complete in source code edit. It would mean that:
    - we have to make the rest of the prompt text gray
    - the cursor blinks right after the user input characters
    - if user click space bar, the first word in prompt become solid and cursor moves to next word.
    Is this something that's possible to do for iPhone?

    - How do I programmatically place the cursor in the middle of a word
    - How do I font/color part of word in text input control
    - How do I select the text up to or from where the cursor is...
    You can't. You can't. You can't. At least not with a UITextField.
    I've done more or less of what you are looking for in PocketMoney for auto completing transaction. You need to do a lot of rolling of your own code to pretend you have UITextField.
    What I ended up doing is drawing the uncompleted text at the end of the current text input of the UITextField that I subclassed.
    - Hardy

  • How to pass the variable in the script logic from text prompt

    hai,
    in my logic i am using Textprompt and the prompt is
    PROMPT(TEXT,%period%,"Enter a period Category",,"")
    i have to append this period in middle of the one category
    how can i do this
    thanks,
    Rajesh

    Hi,
    Can you please explain with an example, about what you are trying to achieve.

  • TEXT PROMPTS IN DATAMANAGER

    hai,
    can we have two text prompts working in datamanger packages.
    i had a issue that i have the two text prompts in datamanager packages and it showing that the thing is when i ran the package it is taking only the last text prompt and leaving the first text prompt,
    can any one help me out.
    PROMPT( TEXT,%SRCCAT%,"ENTER THE SOURCE CATEGORY", , "")
    PROMPT( TEXT,%DESCAT%,"ENTER THE DESTINATION CATEGORY", , "")
    TASK(EXECUTE FORMULAS,FORMULASCRIPT,"CATEGORY = %SRCCAT%")
    TASK(EXECUTE FORMULAS,FORMULASCRIPT,"CATEGORY = %DESCAT%")
    thanks,
    Rajesh

    Hi Rajesh,
    Please see the following thread: Re: Passing parameters to Logic script from DTS.
    You  can have two text prompts but you can only pass 1 of those values from the prompts back to DM (a limitation).
    Thanks,
    John

  • Questions on PROMPT() in DM

    Hi,
    a couple of questions regarding the PROMPT() options in a data manager package:
    1)  is it possible to refer to a dimension member list of an existing dimension when using TEXT of COMBOBOX option? I only succeed to hard coding the possible values ... (we want to let the user key in a value for one dimension, but ensure only one value can be selected, which is not possible using the SELECTINPUT option for example ...)
    2)syntax of  PROMPT(TEXT, [variable], [label], [PWD], [VALIDATE LIST] -> what does PWD stands for?
    3) PROMPT type MESSAGE: does anyone now what this is used for and how it works?
    regards
    D

    Hi nilanjan,
    I tried various statements, but always get value %TIME_SET% displayed, instead of the individual records:
    some examples
    1)
    PROMPT(COMBOBOX,%DPA%,"select tme time dim combo",,1,{%TIME_SET%})
    2)
    PROMPT(COMBOBOX,%DPA%,"select tme time dim combo",,1,{%DPA%})
    INFO(%DPA%,%TIME_SET)
    3)
    PROMPT(RADIOBUTTON,%TIME%,"Select time dim.",,{%TIME_SET%,},{%TIME¨SET%})
    4)
    PROMPT(RADIOBUTTON,%TIME%,"Select time dim.",,{%DPA%,},{%DPA%})
    INFO(%DPA%,%TIME_SET)
    Could you tell how it should be corrected?
    D

  • Select Sorting in prompt level

    I have below requirement from user.
    Prompts:     Loan Id
              Loan Type
              Sort by Account Number/Sale Type
    Basically when user run the report, it should prompt below three fields.
    Loan Id
    Loan Type
    Sort order with a drop down list which has values Account Number/ Sale Type.
    i.e., user should be able to select sort order he wants for both Account Number/ Sale Type before running the report at
    prompt level.
    Does anyone know the best way to accomplish this?.
    Thanks,
    ven
    Edited by: Ven Men on Jan 21, 2009 8:32 PM

    Hi Deb,
    Thanks for your reply. I need little more clarification from you regarding Ascending/Descending and group by.
    Please see my comments below.
    1) Created a prompt at the universe level where users can choose their sorting option, ie. Ascending or Descending.
        How did you create this. What I did is I created a derived table in Universe with below code.
       "Select distinct table.Account_Number from table order by 1". It just does only Ascending.
       Then I created a prompt, called Sort_Order, in designer as 
       '1'!=@Prompt('Sort_Order','A',{'Account_Number'},mono,Not_Persistent))
      It is not parsed with a Parsing Result as Parse failed: Exception: DBD, ORA-00903: invalid table     name   State: N/A
    Since I am not taking this value from database table, I went ahead and created this prompt and exported universe.
      What I understood from your point is I need to create two different prompts, once for Ascending and one for Descending. Please
      let me know if I am going wrong.
    2) In the WebI report, create two variables, one for Ascending and Descending. The formulas would be something like:
       cv_Ascending: if(userresponse("Sort order prompt text here")="Ascending";MyField)
       cv_Descending: if(userresponse("Sort order prompt text here")="Descending";MyField)
       I created variable as Sort_Act_Num =if(UserResponse("Sort_Order") = "Account_Number"; [Account Number]; 0).  This just sorts in Ascending order only and when I want to change it to descending, it is not working.
    3) Put the cv_Ascending variable in column one set to sort ascending and put cv_Descending variable in column two set to sort descending. (The column with the value that isn't selected is always null so it's sorted on nothing)
    4) Since you can't really "hide" columns in WebI, you have to fake it. Set the font color to white (or whatever color your background is) and the width to zero (0) - unfortunately, it won't let you set it to 0, it will default to .02. Turn off the borders. The columns will in effect be "hidden" and disappear.
    I've done the same thing with grouping, by creating a variable and using it as a section break. Works like a charm.
    For grouping, do I need to create any prompts or variables in designer level? Also in report level, is the code same as above to create variable for grouping.
    Please let me know..
    Thanks,
    Ven Men

  • Changing Prompt Order of Prompts defined at the universe level

    Hi All,
    I need to change the order of the prompts defined at the universe level.By default they appear in alphabetical order.
    Thanks,
    Shweta.

    Hi Shweta,
    If you are on XI R2 then you can try the following extended syntax for the prompt definition:
    @Prompt('Region', 'A', 'Class\Object Name', multi,free,,,User:0)
    @Prompt('Area', 'A', 'Class\Object Name', multi,free,,,User:1) ...etc
    Else there is no other way to sort the prompt in the desired order. Either you have to prefix the prompt text with numbers
    or alphabets.
    Regards,
    Rohit

  • CR 2008 - Optional parameter prompts

    Hi!
    I sometimes use Optional parameter prompts in Crystal Reports 2008.
    The main reason is to minimise user input in Selection Criteria Screen.
    I have many subreports, and not all prompts are needed for all subreports.
    If the user leaves the prompt blank, then a formula will set a default value for the user.
    I usually put the optional prompt at the top, so that user needs only fill prompts at the bottom.
    Here is an example:
    I have a parameter field called "PreferredSortOrder"
    The Edit screen reads as follows:
    Type: String
    List of Values: Static
    Value:
        Original Order
        Description
    Value Options:
    Show on (Viewer) Panel           : Read Only
    Prompt Text                              : Preferred Sort Order [Optional]
    Prompt With Description Only  : True
    Optional Prompt                        : True
    Default Value                             :
    Allow custom values                 : False
    Allow multiple values                 : False
    Allow discrete values                 : True
    Allow range values                     : False
    Min Length                                  :
    Max Length                                  :
    Edit Mask                                   :
    Show value or Description        : Show Value
    My report works perfectly, even if I leave the parameter field blank
    I now add another parameter field called "WhichWarehouse"
    with exactly the same values as above.
    When I run the Crystal Report, I get this message;
    Error running Crystal Reports
    The report runs only if I type a value in the "WhichWarehouse" prompt
    (The "PreferredSortOrder" prompt remains blank)
    I did exactly the same as before. Why does the 2nd optional parameter not work like the first?
    What has gone wrong?
    Thank you
    Leon Lai
    JUST ADDED
    I just noticed that in the Field Explorer,
    (a) There is a green TICK near the parameter PreferredSortOrder
    (b) But no green Tick neat the parameter "WhichWarehouse"
    What does the green tick mean?
    Could this be the key to the mystery?

    Hi Leon,
    No green tick means that the prompt has Not been used in the report.
    If the report has Subreports, and if the subreport also has a 'warehouse' prompt then it could be this prompt that is causing the issue. You should link both the warehouse prompts to make sure you're only prompted once.
    -Abhilash

  • How to change heading text  for parameter field of type date

    Hi,
        After creating a parameter field with the type " Date Time" when I open the report for entering the parameter then it displays  the given parameter with the following text:
    " Please enter Date in format "yyyy-mm-dd". "
    I want to change it to some other text like as:
    " You have to enter the date and time in format yyyy-mm-dd . "
    Is there any way by which I can change this given header to some other text.
    Let me know if anyone needs some more information in this regard so as to solve my given query soon.

    Hi Garrett,
                  Well first of all I can change only the prompt text that is user defined. I cannot change any parameter as of now whose type is let suppose Date. Since in this case the Business Object itself shows the text which is something like this " Please enter Date in format "yyyy-mm-dd". " .
       Here I want to change this given text to some other format like " You have to enter the date in the format yyyy-mm-dd" or in any other manner.
    Also the current Crystal Report version which I am using is 11.0.0.1282.

Maybe you are looking for

  • Error Job getting cancelled

    Hi all, I am doing Stock initialization for 2lis_03_bx DS.It is extracting data but job is getting cancelled. the log is as follows " Job started Step 001 started (program RMCBINIT_BW, variant &0000000000005, user ID KRISHNA) 197.516 stock data recor

  • Setting up Remote Desktop Apps for access from a Mac with 2FA

    Hi Setting up Remote Desktop Apps for access from a Mac with 2FA. I have a server 2012 remote access gateway, with remote apps published(which uses single signon), behind a 2FA connection (web based) and want to know if its possible to allow macs to

  • How do i load my second copy on my laptop?

    i have one copy on my desktop, but when i try to load a second copy on my laptop, the systems reports valid Id, but no valid upgrade program

  • My iPhone 5s will not power on and I need my serial number for support.

    I am attempting to get help through Apple Support- Chat, but I need my serial number.  It is not showing up in iTunes under the device preferences.  Any other ways to retrieve the serial number through iCloud? If anyone has any idea of what is going

  • Won't play in edit mode

    In Audition 1.5 multitrack view plays fine and all functions are usable, however when I try to edit a waveform, the stop, play, pause, play from cursor, and play looped are all greyed out and unusable. I've tried pressing the spacebar as well, but no