Increase the height of push button ?

Hi,
I want to increase the height of the push button in the selection screen in module pool. Please suggest.
Thanks in Advance.

Ya, the length can be increased. But.. Actually the problem is: there is a module pool program executing which a selection screen comes first. In the selection screen, there is a push button with some text written in it.
I need to increase the size of the push button , as well as the Text size, so that the people viewing the screen from the distance, will be able to see the Text clearly.
Please suggest some solution.
Thanks,
Saheli.

Similar Messages

  • Is it possible to increase the height of the Push button in a screen?

    Dear All,
    Is it Possible to increase the height of the Push button in a screen (Module Pool Programming)?
    Is it possible to increase the font size of the characters in a screen (Module Pool Programming)?

    Hi Vijay,
    My question is.. I want to know whether it is possible to increase the height of the Push button in a screen. If it is possible, How to increase the height of the Push button?

  • How to align the item text in the combobox vertically centred after increasing the height of the combobox in mfc?

    I want to make the item text of the combobox to  be aligned vertically(Centred) . Actually I increased the height 
    of the combobox and after the increasing the combobox height, the text is not centred vertically.The code
    snippet for increasing the height is as follows,
    m_SpecifyCombo.SetItemHeight(-1,20);//CCombobox m_SpecifyCombo
    After increasing the height the text in the combobox is not in the centre as shown in the below image,
    But I want the text to be centred as shown in the below image.
    Code snippet for owner drawn combobox:
    #if !defined(AFX_CUSTCOMBOBOX_H__F8528B4F_396E_11D1_9384_00A0248F6145__INCLUDED_)
    #define AFX_CUSTCOMBOBOX_H__F8528B4F_396E_11D1_9384_00A0248F6145__INCLUDED_
    #if _MSC_VER >= 1000
    #pragma once
    #endif // _MSC_VER >= 1000
    typedef enum {FONTS} STYLE; //Why have I enumerated, Cos, Maybe I might want something other than Fonts here
    class COwnerDrawCombo : public CComboBox
    // Construction
    public:
    COwnerDrawCombo();
    COwnerDrawCombo (STYLE);
    // Attributes
    public:
    void SetHilightColors (COLORREF hilight,COLORREF hilightText)
    m_clrHilight = hilight;
    m_clrHilightText = hilightText;
    void SetNormalColors (COLORREF clrBkgnd,COLORREF clrText)
    m_clrNormalText = clrText;
    m_clrBkgnd = clrBkgnd;
    static BOOL CALLBACK EnumFontProc (LPLOGFONT lplf, LPTEXTMETRIC lptm, DWORD dwType, LPARAM lpData);
    void FillFonts ();
    int GetSelFont (LOGFONT&);
    // Operations
    public:
    // Overrides
    // ClassWizard generated virtual function overrides
    //{{AFX_VIRTUAL(CCustComboBox)
    public:
    virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
    virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
    protected:
    virtual void PreSubclassWindow();
    //}}AFX_VIRTUAL
    // Implementation
    public:
    virtual ~COwnerDrawCombo();
    // Generated message map functions
    protected:
    STYLE m_enStyle;
    COLORREF m_clrHilight;
    COLORREF m_clrNormalText;
    COLORREF m_clrHilightText;
    COLORREF m_clrBkgnd;
    BOOL m_bInitOver;
    void DrawDefault (LPDRAWITEMSTRUCT);
    void DrawFont(LPDRAWITEMSTRUCT);
    void InitFonts ();
    //{{AFX_MSG(CCustComboBox)
    afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
    afx_msg void OnDestroy();
    //}}AFX_MSG
    afx_msg long OnInitFonts (WPARAM, LPARAM);
    DECLARE_MESSAGE_MAP()
    //{{AFX_INSERT_LOCATION}}
    // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
    #endif //!defined(AFX_CUSTCOMBOBOX_H__F8528B4F_396E_11D1_9384_00A0248F6145__INCLUDED_)
    // OwnerDrawCombo.cpp : implementation file
    #include "stdafx.h"
    #include "combobox.h"
    #include "OwnerDrawCombo.h"
    #ifdef _DEBUG
    #define new DEBUG_NEW
    #undef THIS_FILE
    static char THIS_FILE[] = __FILE__;
    #endif
    #define WM_INITFONTS (WM_USER + 123)
    //I chose 123 cos nobody might use the same exact number.. I can improve this by use RegisterWindowMessage..
    // COwnerDrawCombo
    //Initial values of the text and highlight stuff
    COwnerDrawCombo::COwnerDrawCombo()
    m_enStyle = FONTS;
    m_clrHilight = GetSysColor (COLOR_HIGHLIGHT);
    m_clrNormalText = GetSysColor (COLOR_WINDOWTEXT);
    m_clrHilightText = GetSysColor (COLOR_HIGHLIGHTTEXT);
    m_clrBkgnd = GetSysColor (COLOR_WINDOW);
    m_bInitOver = FALSE;
    COwnerDrawCombo::COwnerDrawCombo (STYLE enStyle)
    m_enStyle = enStyle;
    m_clrHilight = GetSysColor (COLOR_HIGHLIGHT);
    m_clrNormalText = GetSysColor (COLOR_WINDOWTEXT);
    m_clrHilightText = GetSysColor (COLOR_HIGHLIGHTTEXT);
    m_clrBkgnd = GetSysColor (COLOR_WINDOW);
    m_bInitOver =FALSE;
    COwnerDrawCombo::~COwnerDrawCombo()
    BEGIN_MESSAGE_MAP(COwnerDrawCombo, CComboBox)
    //{{AFX_MSG_MAP(COwnerDrawCombo)
    ON_WM_CREATE()
    ON_WM_DESTROY()
    //}}AFX_MSG_MAP
    ON_MESSAGE (WM_INITFONTS,OnInitFonts)
    END_MESSAGE_MAP()
    // COwnerDrawCombo message handlers
    void COwnerDrawCombo::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)
    //I might want to add something else someday
    switch (m_enStyle)
    case FONTS:
    DrawFont(lpDrawItemStruct);
    break;
    //I dont need the MeasureItem to do anything. Whatever the system says, it stays
    void COwnerDrawCombo::MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct)
    void COwnerDrawCombo::DrawFont(LPDRAWITEMSTRUCT lpDIS)
    CDC* pDC = CDC::FromHandle(lpDIS->hDC);
    CRect rect;
    TRACE0 ("In Draw Font\n");
    // draw the colored rectangle portion
    rect.CopyRect(&lpDIS->rcItem);
    pDC->SetBkMode( TRANSPARENT );
    if (lpDIS->itemState & ODS_SELECTED)
    pDC->FillSolidRect (rect,m_clrHilight);
    pDC->SetTextColor (m_clrHilightText);
    else
    pDC->FillSolidRect (rect,m_clrBkgnd);
    pDC->SetTextColor (m_clrNormalText);
    if ((int)(lpDIS->itemID) < 0) // Well its negetive so no need to draw text
    else
    CString strText;
    GetLBText (lpDIS->itemID,strText);
    CFont newFont;
    CFont *pOldFont;
    ((LOGFONT*)lpDIS->itemData)->lfHeight = 90; //9 point size
    ((LOGFONT*)lpDIS->itemData)->lfWidth = 0;
    newFont.CreatePointFontIndirect ((LOGFONT*)lpDIS->itemData);
    pOldFont = pDC->SelectObject (&newFont);
    pDC->DrawText(strText, rect, DT_LEFT | DT_VCENTER | DT_SINGLELINE);
    pDC->SelectObject (pOldFont);
    newFont.DeleteObject ();
    void COwnerDrawCombo::InitFonts ()
    CDC *pDC = GetDC ();
    ResetContent (); //Delete whatever is there
    EnumFonts (pDC->GetSafeHdc(),NULL,(FONTENUMPROC) EnumFontProc,(LPARAM)this);//Enumerate
    m_bInitOver = TRUE;
    BOOL CALLBACK COwnerDrawCombo::EnumFontProc (LPLOGFONT lplf, LPTEXTMETRIC lptm, DWORD dwType, LPARAM lpData)
    if (dwType == TRUETYPE_FONTTYPE) //Add only TTF fellows, If you want you can change it to check for others
    int index = ((COwnerDrawCombo *) lpData)->AddString(lplf->lfFaceName);
    LPLOGFONT lpLF;
    lpLF = new LOGFONT;
    CopyMemory ((PVOID) lpLF,(CONST VOID *) lplf,sizeof (LOGFONT));
    ((COwnerDrawCombo *) lpData)->SetItemData (index,(DWORD) lpLF);
    return TRUE;
    int COwnerDrawCombo::OnCreate(LPCREATESTRUCT lpCreateStruct)
    if (CComboBox::OnCreate(lpCreateStruct) == -1)
    return -1;
    // TODO: Add your specialized creation code here
    if (m_enStyle == FONTS)
    //SetItemHeight(-1,30);
    PostMessage (WM_INITFONTS,0,0);
    return 0;
    long COwnerDrawCombo::OnInitFonts (WPARAM, LPARAM)
    InitFonts ();
    return 0L;
    void COwnerDrawCombo::OnDestroy()
    if (m_enStyle == FONTS)
    int nCount;
    nCount = GetCount ();
    for (int i = 0; i < nCount; i++)
    delete ((LOGFONT*)GetItemData (i)); //delete the LOGFONTS actually created..
    // TODO: Add your message handler code here
    CComboBox::OnDestroy();
    void COwnerDrawCombo::FillFonts ()
    m_enStyle = FONTS;
    PostMessage (WM_INITFONTS,0,0); //Process in one place
    int COwnerDrawCombo::GetSelFont (LOGFONT& lf)
    int index = GetCurSel ();
    if (index == LB_ERR)
    return LB_ERR;
    LPLOGFONT lpLF = (LPLOGFONT) GetItemData (index);
    CopyMemory ((PVOID)&lf, (CONST VOID *) lpLF, sizeof (LOGFONT));
    return index; //return the index here.. Maybe the user needs it:-)
    void COwnerDrawCombo::PreSubclassWindow()
    // TODO: Add your specialized code here and/or call the base class
    //Tried to do what Roger Onslow did for the button.. Did not work..?? Any R&D guys around :-)
    Can anyone please let me know how can I achieve this.
    Any help can be appreciated.
    Thanks in advance
    SivaV

    Hi sivavuyyuru,
    I cannot find a easy way to make this.
    I think you may need to draw your own Combo Box control. And you could change the edit control more like static text. Check the article:
    http://www.codeguru.com/cpp/controls/combobox/fontselectioncombos/article.php/c1795/Owner-Drawn-Font-Selection-Combobox.htm
    In the resource editor, Owner draw -> variable , Has string->true, type->drop list.
    The result:
    Best regards,
    Shu Hu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How To Increase The height of a line dynamically

    Dear all,
    In a table I am using expand to fit height for the text fields in the table.It's working fine.But the height of the partition lines of the table which divide the columns are not increasing.
    I have taken the rows of the table as different subform.I have written the following script on the exit event of the each subform to increase the height of the lines but it's not working.
    var fieldHeight = xfa.layout.h(xfa.form.form1.page1.subformname, "in");
    Line1.h = fieldHeight;
    Line2.h = fieldHeight;
    How can I do it?If any body can please help me.It's very urgent.
    Thanks a lot in advance
    Regards
    Rakesh

    I'm after pretty much the same thing too.
    I have a table of text fields which are all set to vertically expand to fit. If you enter data into 1 and make it expand vertically, none of the other fields in that row expand with it. This results in table rows looking uneven.
    I looked into using the 'h' property, but it doesn't seem to work. If you set up a field that displays the h value of another field it never budges from '0in', regardless of the field's height.
    I'd also be grateful for any ideas.
    Cheers,
    Craig

  • Horizontal menu bar - increase the height and center the vertical treat position.

    I am using SpryMenuBarHorizontal.css and want to increase the height of a horizontal menu bar 20 28px and have the menu names move to be centered vertically, rather than be aligned at the top.
    Can anyone help me figure out how to do this?

    In the following adjust the highlighted value to suit
    ul.MenuBarHorizontal a {
        padding: 0.5em 0.75em;
    Gramps

  • How to increase the height of a tabbed layout

    How to increase the height of a tabbed layout? I do have a form inside a panelTabbed layout which is not fitting inside.Is there any css class available ?
    Thanks
    Suneesh

    Hi,
    +"My panel tabbed layout is inside a detailStamp facet of a table"+
    you can set the StretchChildren property on the ShowDetailItem components to make the panel tab to resize the contained children. I set the inline style on a paneltab and the result shows in the rendered output
    Frank

  • Increaseing the height and width of textfield and password fields

    Dear friends in apex 4.1 when we create a application it automatically creates a login page
    with username and password field in it
    So my question is can i increase the height and width of the username and password field in that login page
    If it is possible please help.
    and also i cannot find the html tag like <input type=text............>
    Where to find it?

    Hi,
    You can easily achieve this using css
    <style>
    input.myclass
      height:100px;
      width:100px;
    </style>
    <input type="test" class="myclass" size="10">So in APEX you have to edit the textfield > HTML Form Eelement Attributes > put class="myclass"
    Thanks

  • How to increase the height of the text field in Adobe Central

    How do I increase the height of the text field in Adobe Central?  I know how to change the font size but visually the height of the text field (<0.5cm) looks too small.
    I want to be able to print the form and fill it out by hand. But the text field height is too small.
    Please help.
    Thanks
    Gen

    Hi;
    Are you saving your form as a PDF from FormsCentral to distribute the PDF form? 
    In the FormsCentral form authoring tools you do not have control over the size of the field.  If you are using a PDF however you can edit that PDF in Acrobat after saving from FormsCentral and can edit the size, border, color etc of the fields. 
    If you want to edit a FormsCentral PDF you'll want to review this FAQ:
    http://forums.adobe.com/docs/DOC-3661
    Thanks,
    Josh

  • Increasing the height of column header

    Hi All,
    I want to increase the height of the column header so that I can put long column names in next line. The BI publisher template is not letting me to expand the height column header. I can only
    expand the weight of the column header.
    Any help is highly cherished.
    Gyan

    hi,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e549a890-0201-0010-3f8b-d3b852457ebd
    Go through this pdf. you need to create a new desktop by applying new desktop framework page and  themes as specified in the guide. Before that in portal go to System administration -> portal display -> desktops & display rules. In that select a theme and save as 'new theme' for example. When you click 'new theme', preview opens. In it select 'portal masthead', under which there is an option 'Masthead Height'.
    In it you can specify the height in terms of px in accordance with your height of the logo. You can even insert a new logo from the 'url to logo' option under it.
    Save the theme and this is the new theme which you should assign it to new desktop.
    Hope it helps...
    Revert back if you have any doubts.
    Regards,
    Ganesh N
    Reward useful answers

  • Increasing the height of the Portal Masthead ?

    Hello,  I'm new to SAP EP. Wonder if any of you experts can assist.  We're currently implementing EP version 7.0.
    How do I adjust the height of the masthead (we are increasing the size of our logo on the masthead and consequently we will need to increase the height of the masthead)?

    hi,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e549a890-0201-0010-3f8b-d3b852457ebd
    Go through this pdf. you need to create a new desktop by applying new desktop framework page and  themes as specified in the guide. Before that in portal go to System administration -> portal display -> desktops & display rules. In that select a theme and save as 'new theme' for example. When you click 'new theme', preview opens. In it select 'portal masthead', under which there is an option 'Masthead Height'.
    In it you can specify the height in terms of px in accordance with your height of the logo. You can even insert a new logo from the 'url to logo' option under it.
    Save the theme and this is the new theme which you should assign it to new desktop.
    Hope it helps...
    Revert back if you have any doubts.
    Regards,
    Ganesh N
    Reward useful answers

  • How can i increase the height of the navigation toolbar to make my persona more visible? adding toolbars puts them all below the navi bar and it looks weird. i know this has been asked many times but the answer's always "add toolbars".

    How can i increase the height of the navigation toolbar to make my persona more visible?
    adding toolbars puts them all below the navi bar and it looks weird.
    i know this has been asked many times but the answer's always "add toolbars".

    Look here.
    http://support.apple.com/kb/index?page=answerlink&url=http%3A%2F%2Fsupport.apple .com%2Fkb%2FHT1495&answerid=16777216&src=support_site.home.search

  • Set the position of push buttons

    Hi,
    I have created two push buttons using the method add_button of cl_gui_toolbar class. But those two push buttons are coming side by side. But I need to show them one after the other.
    Is there any way to display the buttons one after the other. I tried set_position, set_left, set_height. But still they are coming side by side.
    Plesae guide me in this regard.
    Regards,
    Kishore

    >But those two push buttons are coming side by side. But I need to show them one after the other.
    I am not sure what you want from this....side by side and one after the other
    * append a separator to normal toolbar
        CLEAR ls_toolbar.
        MOVE 3 TO ls_toolbar-butn_type. "<----Separator
        APPEND ls_toolbar TO e_object->mt_toolbar.
    * append an icon to show booking table
        CLEAR ls_toolbar.
        MOVE 'BUTTON' TO ls_toolbar-function.
        MOVE icon_employee TO ls_toolbar-icon.
        MOVE 'Show Bookings'(111) TO ls_toolbar-quickinfo.
        MOVE 'Detail'(112) TO ls_toolbar-text.
        MOVE ' ' TO ls_toolbar-disabled.
        APPEND ls_toolbar TO e_object->mt_toolbar.
    * append a separator to normal toolbar
        CLEAR ls_toolbar.
        MOVE 3 TO ls_toolbar-butn_type. "<----Separator
        APPEND ls_toolbar TO e_object->mt_toolbar.
    * append an icon to show booking table
        CLEAR ls_toolbar.
        MOVE 'BUTTON2' TO ls_toolbar-function.
        MOVE icon_ok TO ls_toolbar-icon.
        MOVE 'Show Flight'(113) TO ls_toolbar-quickinfo.
        MOVE 'Flights'(114) TO ls_toolbar-text.
        MOVE ' ' TO ls_toolbar-disabled.
        APPEND ls_toolbar TO e_object->mt_toolbar.
    Now you will get a separator in between the two buttons.
    |   BUTTTON1  |   BUTTON2

  • Create the Box and increase the height a/c to the data in Script

    hi,
    i need to create one box with 6 Columns in a Script and also it should be increase the size a/c to the Data. 
    please send me the code, this is very urgent,
    Thanks & regards,
    Sunil

    BOX, POSITION, & SIZE: These commands are used for drawing boxes and are used only during creating output.
    Syntax:
    /: BOX [Xpos]  [Ypos]  [Width]  [Height] [Frame]  [Intensive]
    X & Y – Upper left corner of the box.
    Width – Width of the box
    Ht – Height of the box
    Frame – Thickness of the box (Default is full black)
    Units used for Width, Height and Thickness are TW, PT, IN, CM, CH, LN.
    Ex., /: BOX WIDTH ‘20’ CM HEIGHT 1 IN
    FRAME 10 TW INTENSIFY 15.

  • How to increase the width of ribbon button in mscrm 2013?

    Hi , we have  created a custom button ,but its text is  bit long. so we are not getting entire text on the form for this button.
    Could you please suggest , how we can increase width of the button.
    hari ________________________________________________________ If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

    thank u for  quick response.
    Could you please provide the approach which is unsupported ? (if any?)
    hari ________________________________________________________ If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

  • How To Sort the Table Through Push Buttons (ASC & Desc)???

    Hi,
    I am facing a problem with regard to 'Push Buttons' that I have created on
    my Form. I want the 'Push Button' to sort the table with respect to a
    specific column in 'Ascending order' on first push and then in 'Descending
    order' on second push and then again in 'Ascending order' on third push and so
    on...
    please help me to achieve this
    regards,
    .

    Hello,
    You could try something like this:
    Declare
         LC$Order Varchar2(128) := Get_Block_Property( 'EMP', ORDER_BY ) ;
    Begin
         If Instr( LC$Order, 'DESC' ) > 1 Then
               Set_Block_Property( 'EMP', ORDER_BY, 'EMPNO ASC' ) ;
         Else
               Set_Block_Property( 'EMP', ORDER_BY, 'EMPNO DESC' ) ;
         End if ;
         Execute_Query ;
    End ;     Francois

Maybe you are looking for

  • Layers in Animated Gif Question...

    Been going crazy all night I'm trying to create an animated gif. I made a BG image that I want the video to go on top of. The video is 136 frames (layers). I duplicated the BG image 136 times and pasted the videos 136 layers on top of the BG image..

  • How to create an album from individual multiple songs in iTunes

    HI, On iTunes for Mac, in the albums section, I have lots of individual songs entitled 'Track 01' and so on. What I would like to do, is to combine all these songs into one album, so I can get rid of all the individual files. I have already tried cre

  • I need a flash player for iphone

    i need a flash player for iphone

  • I-Tunes Transfer Script - Duncan Bernhardt

    I'm not sure if this is the correct location for this, but i noticed that some other site admins are getting help directly from Duncan Bernhardt, so i'll give it a go. I'm trying to do the initial setup for our I-tunes account (the address is https:/

  • Selection field filtering issue..

    Hi Friends, My req is to filter the data based on app id with company code, date and pay run id. Here the the app id is from global constant table, there is no key field, but we fetch the same app id in the smartform to print using the below query, i