How to change the font size and style on run time

dear all
i try to change the font style and font size on runtime. I did the following:
1- i created an item(:font_size) in which i will write the size of the font for the the other item ('customer_name')
2 on the post_change trigger for 'font_size' i write this code
SET_ITEM_PROPERTY('customer_name',FONT_size,(:font_size);
i write 12 then then font size changed , then i write 18 , the size does not change. and when i write any value , no change happens. I do not know why
the second problem is how to change the font style
i made three checkbooks (bold,italic,underline)
on the trugger when_checkbox_checked i write
     IF :BOLD = 'B' THEN
     SET_ITEM_PROPERTY('N_SAMPLE',FONT_STYLE,'BOLD');
     ELSE
SET_ITEM_PROPERTY('N_SAMPLE',FONT_STYLE,'REGULAR');
     END IF;     
no change happend at all.
please help

Hi friend,
it's a really really strange tip... May be it's a Forms bug? I've tried with set_item_property..and.. you're right, it doesn't work..
So.. you can try making this:
- create a visual attribute with an specific font size....
- use the
SET_ITEM_INSTANCE_PROPERTY('block.item',CURRENT_RECORD,VISUAL_ATTRIBUTE,'you_visual_attribute');
and call it from psot-change....
It works
Hope it helps,
Jose.

Similar Messages

  • How do I change the font size and color in my e-mail?

    I'm using the regular MAIL application on my Macbook (OSX 10.5.5) and I'm wondering how to change the font size and color of my incoming and outgoing mail.
    Any suggestions?
    thanks!

    I'm using the regular MAIL application on my Macbook (OSX 10.5.5) and I'm wondering how to change the font size and color of my incoming and outgoing mail.
    For outgoing email you the Fonts and Colors buttons found in the New Message pane (note that settings you make in Mail > Preferences do not affect outgoing messages).

  • How to change the font size of text and case in smartforms

    hi,
       could any one explain how to change the font size of text in smartforms. ex. previously i had taken P4 left aligned and C6 but now i want to decrease the font without making it bold. pl......... guide me
       secondly the value which are coming from tables are upper case but i need lower case. pl. guide
    thanking u

    check out the smart styles...create a font of ur size n use.
    Define the paragraphs & character formats using SMARTSTYLES & use them in your smartform.
    You have to give the smartstyle name in the Form attributes-->Output options for the formats to be used in your smartform.
    You can define font size in Smartform Style.
    Smartform Styles > Charcterformat> Font --> size.
    to load the font to SAP server chk this
    Re: Adding a new font for SAPscript/SMARTFORM output
    Regards
    Vasu

  • How do I change the font size and color in a text box?

    How do I change the font size and color in a text box?

    Really frustrating to find the first time but simple once you figure it out. I think I spent hours trying to find this. Simply right click on a blank spot in the toolbar up top and select Properties Bar. There it is! The available properties will change depending on whether you have the content (text) selected or the box itself.
    I haven't found a way yet to make it show up as a regular part of the toolbar. It floats around and gets in the way so I don't leave it on and then have to open it again when I need it. Again - frustrating; but at least it's there!

  • I like the mail feature with one exception; I cannot figure out how to change the font size of incoming mail permanently.  And, when answering an email I have to highlight the first few words and zoom it so I can see what I am writing.  what am I missing?

    I like the mail feature with one exception; I cannot figure out how to change the font size of incoming mail permanently.  And, when answering an email I have to highlight the first few words and zoom it so I can see what I am writing.  what am I missing?

    You can type the email using what you set in preferences and then highlight the text and use command - minus sign (or command - + for larger) to reduce the size of the text.
    You can also type command - T and a window will appear allowing you to select fonts/sizes/color/ background highlight.
    The above works in Notes also. I haven't tried to do this in any other Apple application.
    For incoming emails, you can use the above to reduce font size, but I don't know of a way to permanently set the incoming font size to a default.

  • How to change the font size of text element in smartform

    Hi
    i want to know how to change the font size of text element in smartform
    regards
    Gincy

    Hi
    You can create Smartstyles, in which you can define paragraph formats for texts and character formats for character level changes.
    Paragraph format ---> alignment, font size etc
    character format for ---> superscript, subscript.
    After creating, in your smartform, there will be a option in the text element to enter a style.
    You give the created style and you can use the paragraph and character formats i that style.
    Hope this is clear..
    Regards
    Sekar

  • How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit.

    How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit. I am uanble to modify it to 5.38 pt for example. Its only allowing to 1 decimal place.

    Click on each field and the choose Properties from either File menu (or if on Mac hold dow mouse button until context menu appears choose properties)
    go to Font
    choose desired size and type font,you can choose to make this the default.
    Do this with each field.
    Or if you have a lot of fields:
    while one is selected select all of them
    then go to fonts in properties
    change Font and size and make default.

  • How to change the font size of Text box tool ?

    How to change the font size of Text box tool ?
    I am using Acrobat PDF 6.0
    Tools > Advanced Commenting > Text Box Tool
    I need to know how to change the font size. The default font size is too big.
    let me know
    Thanks

    I do not have AA6 available right now (I can check at home this evening). I am also using AA Pro, not Std. In AA7, there is a text box tool that is a commenting tool. When I started typing, a properties toolbar came up that had the font size and such. I haven't figured out how to get the toolbar after the fact. In AA8, I selected the text box tool and then went to view and selected the properties bar (the font size and all showed then), or use Ctrl-E when editing the text. I have not been able to figure out how to edit the text in a text box after you have created it - think it is a mental block right now. Bill

  • How to change the font size in sap scripts?

    hi friends,
        i had a query regarding to SAPSCRIPT.
      how to change the font size of a text in sap script form in which it should change it  dynamically.
    is it possible to change the font size dynamically in scripts.
    one more query regarding to this only.
    i need to get the hard copy of a script .
    what is the transaction code to get the hard copy?

    Hi venkata,
    You can specify the font size either in the Character format or pharagraph format.
    You better decide it according to your requirement.  If you want to apply the same font size for the entire form create the Paragraph format and give the paragraph format in the default paragraph format.
    If you want to apply that to limited text, then create character format.
    The process of creating it is just after going inside paragraph format click EDIT-> Create Element and give the font size.
    This applies for character format also.
    Reward points if useful.
    Thanks,
    karthik

  • The fonts on my facebook page is set to approximately 200%. This problem is only on my facebook page. Does anyone know how to change the font size on this page?

    I do not know how I changed the font size on my face book page I have tried everything to change the font size to 100% but have failed. Any suggestions?

    Hi,
    From your description, you want to know how to edit a page in SharePoint 2013.
    Go to the page->click Settings->Edit page,refer to the following screenshot:
    If a user want to edit a page, he at least have edit permissions.
    If you have any problems, please don't hesitate to let me know.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Is there a way to change the font size and color of text in the calendar app?

    Does anyone know a way of changing the font size and color of text in the calendar app that comes with the iPad 2?  It is very hard to see the small gray numbers on the calendar.  Thanks

    Looks like you didn't get a reply on your post, but it is still a problem.  Font size is supposedly changeable via "Accessibility" in Settings, but it doesn't work.  You can turn on "Zoom".

  • Is it possible to change the font size and weight in an ADF table?

    Is it possible to change the font size and weight in an ADF table? I have tried to change the various font size and weight settings for a table and its columns and they seem to have no effect on the font size or weight in a table row.

    You would use skinning to modify font-size & weight for the table.
    In addition to the link suggested by Vinod,
    Take a look at http://biemond.blogspot.com/2009/01/adf-skinning-in-jdeveloper-11g.html
    Thanks,
    Navaneeth

  • How to change the font size of the text that is revolving ?

    Hi there,
    I am using the Revolution theme.
    How to change the font size of the text that is revolving (on the first menu page) ?
    Thanks

    You can't.  That's hard coded into the theme.
    OT

  • How can I change the font size and placement of photo descriptions in an  iPhoto slide show?

    With an iPhoto slide show, how do I change the font size for titles and descriptions and position the text when preparing a slide show?

    to change the pixels crop to 100x100 and export with maximum dimension of 100 - see the user tip on exporting foo details on Export options - Exporting From iPhoto
    As to DPI - digital photos have no DPI since DPI is Dots Per Inch and digital photos have no inches hence no DPI - when you print a photo then DPI is a mathematical calculation - dots divided by inches - it is not a setting
    Print a 480 pixel photos as a 1" square and the print it 480 DPI (480 / 1 = 480) and print the 100 pixel image as a 1" square it will be 100 DPI (100 / 1 = 100) - print a 480 pixel photo as a 4.8 inch square and it is 100 dpi (480 / 4.8 = 100) - just a calculation - not a setting
    LN

  • How do I change the font, size and format of tab labels?

    How do I change the font, font size, and format of a tab label?  Can I replace the text label with a gif image?
    Thanks

    barney99 wrote:
    Double clicking on the tab sends me to the block diagram.  Not sure how I change the font like that.
    I didn't say double-click on the tab. I said double-click on the tab selector's text. You need to use the "hand" tool if you have "Lock automatic tool selection" off in your LabVIEW options. 
    Attachments:
    Example_VI_FP.png ‏3 KB

Maybe you are looking for

  • Text messages going to wrong device

    I have my iPad and iPhone under the same Apple ID. Since upgrading to IOS6, my text messages have started going to my iPad instead of my phone. How do I fix this?

  • Handling service-callouts in bpm which doesnt use faults to signal errors

    I need to call a bunch of services from my bpm process. Normally i have boundary events on my service call activities, but now i have a whole bunch of services that i need to call that doesnt doesnt respond with faults for error situations. Instead,

  • HELP! Need Pricing Report

    I need a report with the following information: Material, Material description, marked for deletion flag, List Price, Standard Price (cost) Is this something that available in SAP or can I do this report using SQ01, if yes, what tables can I use? Ple

  • Methods used in design infocube

    Hi Folks, Is Star Schema only method used to design (represent) infocube or is there any other methods. if you have any links or notes please provide information. Thanks in advance Regards RK

  • ITunes HD Movies Type Folks???

    Helo folks Id like to ask, whats the type of the iTunes HD movies? (avi, mpeg, mp4..etc) Second question, will I be able if i puchase a movie and play it via VLC app for example? Or any other licensed video player on Appstore. Thankish in advanceish