Change Font size in RichText Datawindow 1 column

Running PB 12.1  Classic.
Whatever I do; font size does not want to change in a Richtext presentation style external datawindow size of column = string 20000000 bytes
Why = long story - converting unix reports to PB for Archiving.
I do this after the only column is populated.  You can actually see all text
dw_1.SelectTextall()     Actualy selects ALL text in dw
I have tried to setColumn(1) returns -1
src = dw_1.Modify("a.Font.Height='-8'")      a = column name     Line 1  Column 15: incorrect syntax.
li_rtn = dw_1.SetRichTextSize(8)    li_rtn = -1
I could use 2 datawindows with different Font sizes but I would like to know how can I accomplish this with code.
Anything else works
src = "DataWindow.Print.Orientation='1'
src = dw_1.Modify("DataWindow.Print.PrinterName='Xerox Phaser 5500DX PS Tray 3'")
src = dw_1.Modify( "datawindow.print.preview=yes" )
ls_default_printname = dw_1.Object.DataWindow.Print.PrinterName
li_PageCount =  long ( dw_1.describe  ("evaluate('pagecount()'," + string ( dw_prt.rowcount() ) + ")"))
src = dw_1.Modify( "datawindow.print.preview=no" )
ls_page_range =dw_1.describe ( "DataWindow.Print.Page.Range" )
li_noCopies =  integer( dw_1.describe ("DataWindow.Print.Copies"))
src = "DataWindow.Print.Copies='" +String(astr_spool.copies)+"'"
src = dw_1.Modify( src )
src = "DataWindow.Print.duplex='" + String(astr_spool.duplex)+"'"
src = dw_1.Modify( src )
src = "DataWindow.Print.paper.Source='2'"
src = dw_1.Modify( src )
dw_1.Object.DataWindow.Print.PrinterName= 'Sybase Datawindow PS'

Luis,
Not according to the examples in PB help under the Controls in a DataWindow and their properties section. While there are no specific examples for Font.Height, there are for other properties expecting numeric values
ie (copied from PB help) -
dw_1.Modify("emp_name.X=10")
dw_1.Modify("empname.Height=50")
dw_1.Modify("emp_stat.Protect=1")
dw_1.Modify("DataWindow.Print.Margin.Top=500")
etc
None of the examples I've seen use quotes around the property value where the value is expected to be numeric.
Although, like I said, I've seen Modifys using numeric arguments work both with and without quotes.
The setColumn(1) returning -1 is a concern. Seems to indicate there's something fishy going on ... wonder what happens if you try SetColumn with the column name. What event/function is this code executing from?
Nathan

Similar Messages

  • How to change font size, maximum column size in the result screen ?

    hi All
    That's great when using SQL Dev.
    But I also have a trouble that how to change font size, maximum column size in the result screen ?
    My users think that font in result screen is shown very small, and whenever the data in each colum is long then it's not shown full data in column, they must double click for extend the size. Have the option to default the max size for showing full data in each column ? I try but still not to do that .
    Appreciate for anyone to help us.
    Thanks all.
    Sigmasvn

    You can't change the font for the results screen yet, however you will be able to select an auto-fit option for selected columns, so if some columns have slitghtly wider text you'll be able to set the column widths to handle these wider columns.
    Also, there s the option of switching the layout of a record in the grid.
    Sue

  • How to change font size of OATableBean Column Headers

    Dear All,
    I am facing a problem, senario is i am having a table layout with about 20 columns and each column header is about 30 characters long now the problem is when the table is rendered because of header font size its layout is not good looking ... is there any way that i can controll the font size of colmun headers.
    I have tried this solution provided in this forum:
    CSSStyle csNum = new CSSStyle();
    csNum.setProperty("font-size", "8");
    OAPageLayoutBean plb = pageContext.getPageLayoutBean();
    OAMessageStyledTextBean columnBean = (OAMessageStyledTextBean) plb.findChildRecursive("Description");
    columnBean.setInlineStyle(csNum);
    but it only change font size of column data not the header.
    Thanks in advance.

    Hi,
    // Get a handle to the column's header
    OAColumnBean columnBean =
      (OAColumnBean)tableBean.findIndexedChildRecursive("<columnBeanId>");
    OASortableHeaderBean colHeaderBean =
      (OASortableHeaderBean)columnBean.getColumnHeader();
    colHeaderBean.setText("<newText>");Regards,
    Gyan

  • Mail 5: Change font size in Mailboxes column?

    Pretty happy with Mail 5 so far (one day in).
    Is there any way to change the font size for the left Mailboxes column? It's larger than the other two, and larger than I prefer.

    Also in the new layout which personally I think is dreadful and thank god I can still use classic, the display unread messages in bold option does not work as all messages are shwon in bold whether they have been read or not. This only works in Classic mode.

  • Change font size in mail

    How can you change the the font size in mail when not using the "(classic) style, particularly the column that lists all your emails (2nd column).

    Change color:  No
    Change font size:  In the App, No
    But you can change the font size for everything in iPad:  Settings > General > Text Size use slider to increase or decrease text size.

  • Can we change font size and font type in reports

    Hi All Technical/Functional Masters,
    We are developing some transactional reports in ISU. this report has 20 columns to be printed. On screen, display is not a problem but client has a requirement to download this report in PDF format and wants to print on A4-paper in Landscape. Although we have managed to accommodate all the columns on A4 paper but have to compromise with font size that are very small and not visible. If we download the report in excel format we are able to maintain the font size 8 and accommodate all columns after little format but same in PDF is a problem.
    Can anyone tell whether we can increase the font size and change font type(from SAP standard to 'Arial') before sending the output in PDF ? Is there any property or utility that can be changed or used for this purpose.

    Function Module : CONVERT_ABAPSPOOLJOB_2_PDF
    Include : THSTXWFPL
      for modify font size
    decrease fontsze foncharacter will increase
    fontsize = 120.     <-- Change
    fontsize = 100.  or fontsize = 80
    Depend on your logon lang. My case logon 'TH' or 2.  I modified font ZCORDIA (refer CordiaNEW thai font)
    if is_cascading is initial.
      case language.
      when '0'. "Serbian
        font = 'COURCYR'.  devtype = 'SAPWIN'.
      when '1'. "simpl.Chinese
        font = 'CNHEI'.    devtype = 'CNSAPWIN'. cjklang = 'X'.
      when '2'. "Thai
      font = 'THDRAFT'.  devtype = 'THPDF'.
       font = 'ZCORDIA'.  devtype = 'ZMTHSWNU'.
        font = 'THANGSAN'.  devtype = 'ZPDFUC'.
      when '3'. "Korean
        font = 'KPSAMMUL'. devtype = 'KPSAPWIN'. cjklang = 'X'.
      when '4'. "Romanian
        font = 'COURIER'.  devtype = 'I2SWIN'.
      when '5'. "Slovenian
        font = 'COURIER'.  devtype = 'I2SWIN'.
      when '6'. "Croatian
        font = 'COURIER'.  devtype = 'I2SWIN'.
      when '8'. "Ukranian
        font = 'COURCYR'.  devtype = 'SAPWIN'.
    Add font Cordia Thai
    SE73 --> Fon familia --> ZCORDIA
    Load Font Cordia thai to system
    SE38 --> RSTXPDF2UC
    load CORDIA.TTF
    SE73 --> printer font --> 'ZMTHSWNU'
    Add ZCORDIA font and copy AFM Metric from = 'THDRAFT'.  devtype = 'THPDF'.
    Modify AFM
    example
    *----- OLD--
    StartFontMetrics 2.0
    sapFamily ZCORDIA
    sapHeight 000
    sapBold false
    sapItalic false
    StartCharMetrics 0183
    WX 0500 ; N space                          ;
    WX 0500 ; N exclam                         ;
    WX 0500 ; N quotedbl                       ;
    WX 0500 ; N numbersign                     ;
    WX 0500 ; N dollar                         ;
    WX 0500 ; N percent                        ;
    WX 0500 ; N ampersand                      ;
    *--NEW--
    StartFontMetrics 2.0
    sapFamily ZCORDIA
    sapHeight 000
    sapBold false
    sapItalic false
    StartCharMetrics 0183
    WX 0375 ; N space                          ;
    WX 0375 ; N exclam                         ;
    WX 0375 ; N quotedbl                       ;
    WX 0375 ; N numbersign                     ;
    WX 0375 ; N dollar                         ;
    WX 0375 ; N percent                        ;
    WX 0375 ; N ampersand                      ;
    Result : decrease space between character.   Then Your PDF will have BIGGER FONT.
    Rdgs,
    Suwatchai

  • How do i change font sizes and colors in ical in OS Lion.  Everything is greyed and too small.   And how do I changed the color of the scroll bars, which are now invisible?

    how do i change font sizes and colors in ical in OS Lion. Since upgrading,  all fonts are grey, instead of black,  and too small.   And how do I changed the color of the scroll bars, which also are grey and almost invisible?  And if you can asnwer this, can you tell me how to get back the email format I had before the upgrade?  I no longer have column headings and I'd like them.  Thank you. 

    Do you know about changing the font colors for ical, and the color of the scroll bars?
    No, I don't. I don't use that program; I fiddled with it just now, and could not find a way to do that.
    Perhaps someone else will have an idea.

  • How to change font size on screen

    how to change font size on screen

    I'm not certain what font sizes you wish to change, when on a page you can use command and the += button to zoom in and make the fonts larger. On the finder desktop you can make what ever is on the desktop larger or smaller from the finder menu click view, custom view options, and adjust the icon size with the slider on the top, and the text using the text size box to select the size that your comfortable with.
    Forgot to add these.
    http://support.apple.com/kb/PH10876
    http://support.apple.com/kb/PH10877
    Hope this helps.

  • How can I change font size in iCal 3.0.8?

    How can I change font size in iCal 3.0.8?

    Julian,
    There is no user option to change the font size in iCal.
    For other posts regarding this topic, read some of the links in "More Like This." box just to the right of your first post in this thread.

  • How to change font size on web page when have no icon in View tool to do so

    menu bar at top of screen does not have icon to change font size of a web page as described in your support information--you show it as between stop and reload in View icon and I do not have it at all in my toolbar.

    See this: <br />
    https://support.mozilla.com/en-US/kb/Page+Zoom

  • How to change Font Size of Object Explorer in "SQL Server Management Studio"

    Dear Team,
    "SQL Server Management Studio" is a fantastic IDE for the database.
    There are so many customization options available but one thing many users missing is that " How to change Font Size of Object Explorer?"
    Can you please accumulate this feature in IDE ASAP?
    Many Thanks,
    Bhavesh

    Its there
    Go to Tools -> Options
    Then under Environment you've fonts and colors tab where you can specify a higher font size.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to change font size and style in keynote for ios

    How to change font size and style in keynote for ios

    Same situation for report parameter input value font. What ever we do , it is still Arial and size 10.

  • How to change font size in dreamweaver

    hello?  this is really a bit of overkill for a simple question.  could someone please help with this?
    and while we're at it there's a fly i want to kill with a sledge hammer

    If by changing font-size you mean in your web pages, the answer is use CSS with values in px, em or %.
    body {font-size: 100%}
    p {font-size: 1em}
    h1 {font-size: 3em}
    h2 {font-size: 2.5em}
    h3 {font-size: 2em}
    h4 {font-size: 1.5em}
    and so on....

  • How to change font size in Notification center?

    Good day
    I purchased new monitor with BIG resolution an dfount what font in notification message from Notification Center stay very small
    I try to find place where possible change font siza but don't found anything
    Please help

    AFAIK there is no way to customize this font size. You can't resize the window either.
    You need to report it to Apple Feedback so it can be logged and put in the queue to be fixed.
    http://www.apple.com/feedback/macosx.html

  • How to change font size in a call-out tool box?

    Hi, the other day i inserted a call-out tool box in a PDF document, however i cannot find anything that can change the font size of the letters i input in that box. could anyone help? Thanks.
    Sherman

    This is a question for the Acrobat support forums – please post there.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 23 Nov 2011 10:55:07 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: how to change font size in a call-out tool box?
    Re: how to change font size in a call-out tool box?
    created by danmarch<http://forums.adobe.com/people/danmarch> in PDF Language and Specifications - View the full discussion<http://forums.adobe.com/message/4043425#4043425

Maybe you are looking for

  • F110 doesn't clear vendor open items. Interad it creates one more entry.

    Hi! This is the problem I have. I run F110, proposal is great, payment is great, check is printer. Check in FCHR is created. I go back to FBL1N - open item is still there! More that that - another open item with document type - ZP is there, but it sh

  • Event Handling - In what layer/pane is a JMenu contained?

    In what layer is a JMenu contained? I ask this because I am trying to figure out what object gets the event first - the component with a keybinding of WHEN_IN_FOCUSED_WINDOW or my menu. I want my menu to clear itself for certain keystrokes and allow

  • Error while uploading data into cube

    I am trying to upload data into my content cube but I got an error it says" "Time conversion from 0CALDAY to 0FISCPER (fiscal year S1 ) failed with value 20040303"      I checked the data in the PSA it's there but the first record is not green light

  • Deploying forms on Fusion Middleware 11g

    Hi everyone! I will post my thread in english and spanish. English:_ I have developed a simple form using developer 11g on a windows pc, and now I want to deploy it on a SLES10 server that has installed WebLogic Server 10.3/Fusion Middleware 11g. The

  • ACR 6.1 vs DXO Lens Correction?

    I have been experimenting with the lens correction module in ACR 6.1, which has profiles for two lenses I own, the Nikkor AF-S 18-70mm f/3.5-4.5 G and the Nikkor AF-S 70-200mm f/2.8 G IF-ED VR, and am quite pleased with the results. The 18-70 lens is