Maximize button in a customized form

Hi friends,
I have developed a customized Form. In that form close and minimise button are already there but MAXIMIZE button is not threre. How can i attach that button (MAXIMIZE) in my customized form .Kindly suggest me the code and also suggest where should i write that.
Thanks  & regards
Sanjoy paul

Hi
1) If you use form loaded from xml file when set BorderStyle = 0
-  fbs_Sizable  : A form with sizable borders.: 0
-  fbs_Fixed : A form with fixed-size borders. : 4
-  fbs_FixedNoTitle : A form with fixed-size borders and no title. : 3
-  fbs_Floating : A form with fixed-size borders, no title, and always on top. :  6
Specifies the border type of the form, as described in BoFormBorderStyle.
For more search for <forms> Element in the SAP BO SDK Help.
For example:
<Application>
  <forms>
    <action type="add">
      <form FormType="<SET_FORM_TYPE>" type="4" BorderStyle="0" uid="TO_CHANGE"
            title="<Form Title>"
            visible="1" default_button="1" pane="0" color="0"
            left="200" top="100" width="900" height="540"
            client_width="900" client_height="540"
            AutoManaged="1" SupportedModes="15" ObjectType="-1" mode="1">
2) If you use vb code to create your form:
Sorry, oForm.BorderStyle is Read-Only property and you can/t set it.
BR
Sierdna
Edited by: Sierdna S on Sep 12, 2008 9:30 AM
Edited by: Sierdna S on Sep 12, 2008 10:04 AM

Similar Messages

  • Hide/Unhide Button on a Custom Form?

    Hello!  I am looking for some ideas regarding the ability to hide/unhide a button on a custom form.  Ideally, I would like to create an authorization group, if a user is a member of the authorization group, they can see the button, if not, the button is hidden.  Is this something that can be done?  If not, does anyone have another way of doing this?  Thank you.

    Are you asking specifically for Smartforms, SAPforms, Interactive Adobe forms? Or generally about UI programming?
    Generally yes, this is possible and is also often done to give the user a more friendly interface to work with (without having to click on buttons, only to discover that they cannot use it anyway).
    Many standard transactions are developed in this way.
    Cheers,
    Julius

  • Link Of a Standard Form to a Custom  Form --- Urgent !!

    We are in apps version 11.5.10.2. The Client has custom payslip form suited to their requirement. Now they want a little enhancement feature in the Custom Form.
    The custom pay slip form can be queried by employee number. From then you can get the appropriate payperiod where you can navigate to any of the pay periods and view the payslip for that period.
    Now they want to add a button to the custom form so that on the click of the button the element entries form for the respective pay period is opened. Now we have added a button and gave the reference to the standard form. We do not know exactly how to reference the exact period entries and for the same employee number. Currently it is poping a find window asking the employee number.
    Form gurus...please throw ur light on this ...awaiting ur replies and suggestions.

    do they want to see the element entry form (so Read Only), or do they want to kick off transactions into that element entry form?
    When Read Only, you can use also the Element History folder, or a custom subform, based on the element entries view.
    If not, you have to rework your original custom form, so that she is TaskFlow compatible, and then inheritance should take place by itself.

  • Attachments not enabling for custom form

    Hi,
    I created a simple custom form based on a custom table having only 2 fields. The form works fine.
    I tried adding attachment functionality by setting up -
    - Document Entities
    - Document Categories and
    - Attachment Functions as given in many tutorials online.
    I am still unable to see the attachment icon enabled.
    I also registered the custom table using ad_dd.register_table and ad_dd.register_column and still the attachment icon is not enabled.
    Even the profile option 'Indicate Attachments' is set to Yes at site level. Still does not work.
    Is there any code that needs to be written on the standard attachments trigger in the fmb?
    Please suggest what else I can do to enable the attachments icon/clip?
    Thanks!

    Is there any code that needs to be written on the standard attachments trigger in the fmb?
    Please suggest what else I can do to enable the attachments icon/clip?How to enable attachment button in a custom form
    Re: How to enable attachment button in a custom form
    Please also see old threads.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Attachment+AND+Custom&objID=c3&dateRange=all&userID=494875&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Attachment+AND+Custom&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Sharepoint 2013 pass custom form data

    I am asking the question since this is my first project working with Sharepoint 2013.
    Here is the project requirements:
    1. I created a custom list for users to enter data in a custom form that is modified by Infopath 2013.
    2. Once the user clicks the 'save' button on the custom form, the workflow is started and the workflow will be waiting for certain users to accept or reject the form.
    3. If the form is rejected the user needs to make modifications and the form can be  resubmited.
    4. Once the custom form is accepted, the user will be required to submit bimonthly updates on the progress of the request they made based upon the start and end dates submitted on the original form.
    5. After the custom form as been accepted, a master/detail will be setup with the master being the accepted form and the bimonthly updates will be details.
    Here are my question:
     I want to pass the information from the accepted form to the master/detail form that will do the following 'Once the custom form is accepted, the user will be required to submit bimonthly updates on the progress of the request they made based upon the
    start and end dates submitted on the original form'. Would you tell me how to pass the information from the accepted custom form to being the 'master' part of the master/detail form I just mentioned?
    Is this a good solution? If you how would you change the design and how would you make these coding changes and what would the design change be?

    Hi Scampsman,
    Based on your description, my understanding is that you want to pass data from one InfoPath form to another InfoPath form in SharePoint.
    To achieve this goal, we can write code in the details form with FormEvents_Loading to capture and display the incoming parameters passed from the original form.
    Please refer to the link below for more detail steps(same for InfoPath 2013):
    http://sharepointbeeeye.com/infopath-2010-passing-data-between-forms/
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How can I create a custom button for opening a form?

    I have a parent form having child forms. In my main form I want to create custom buttons for opening child forms. I want to use master-detail form but there are more than one child forms, and in master-detail form I can only create one detail form. So I will create a form based on a table and in that form I will call the child forms by custom buttons. Can I do that?
    Thanx,
    Gulsah.

    This can be easily done. First open up two instances of your Portal. In one window, you will need to go into your component you wish to link FROM. In the other window you will need to go into your component you wish to link TO. In the component you wish to link TO there will be a moduleid. Note this somewhere. Then, you will see an area that says: "Call Interface: Show". Click on this. (In the window you are linking to.). In this window, you will see a bunch of stuff. At the bottom you will see a URL call. This is the call you need to use. At the top, it explains each piece of the URL call. Just subsitute YOUR appropriate information into the URL call. In the form you wish to link FROM, create a button. Once you create this button, it will appear at the bottom, click on it and you will see an area to insert a Javascript. Click the onClick and insert:
    //this is the variable you want to pass from one form to the other
    get_field_name = getField(this.form,'COLUMN_NAME_IN_DATABASE');
    //this is so you can open the "child" form
    window.open('/pls/cc_prod/DAD_NAME.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=MOD_ID_HERE&p_arg_names=_sessionid&p_arg_values=&p_arg_names=COLUMN_NAME_IN_DATABASE&p_arg values='+GETFIELD_NAME+'&p_arg_names=_COLUMN_NAME_IN_DATABASE_cond&p_arg_values=%3D');
    In the fourth tab, where it says, "....before displaying form" insert the following: (This will tell the form how to handle the getField function.)
    htp.p('<script language="JavaScript1.3">
    < !--
    function getField(form,fieldName)
    var objName = "";
    var tmp = "";
    var dAction = "";
    var sel_idx = 0;
    var cnt = 0;
    var instance = 0;
    var slicedName;
    var fillData = new Array();
    for (var i = 0; i < form.length; i++)
    slicedName = form.elements.name.split(".");
    tmp = slicedName[2];
    instance = parseInt(slicedName[3],10);
    if (!tmp)
    continue;
    objName = tmp;
    if (objName == fieldName)
    return form.elements[i].value;
    //-->
    </script>');
    I hope this helps.
    null

  • Add attachment button to a custom new form SharePoint 2013

    I'm creating a new custom form using SharePoint Designer 2013.
    I would like to add a attachment button to be able to upload files and images. How can this be done?
    See code below
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <h3 class="ms-standardheader">
    <nobr>Attach Files</nobr>
    </h3>
    </td>
    <td valign="top" class="ms-formbody" id="attachmentsOnClient" style="width: 434px">
    <span dir="ltr">
    <input type="file" name="fileupload0" id="onetidIOFile" size="56" title="Name"></input>
    </span>
    </td>
    <td width="100px" valign="top" class="ms-formbody">
    <input name="Button1" type="button" value="Attach" onclick='OkAttach()' style="width: 6em;
    height: 1.7em" id="attachOKbutton" />
    <span id="idSpace"></span>
    </td>
    </tr>
    <tr id="idAttachmentsRow">
    <td nowrap="true" valign="top" class="ms-formlabel" width="20%">
    <SharePoint:FieldLabel ControlMode="New" FieldName="Attachments" runat="server"/>
    </td>
    <td valign="top" class="ms-formbody" width="80%">
    <SharePoint:FormField runat="server" id="AttachmentsField" ControlMode="New" FieldName="Attachments" __designer:bind="{ddwrt:DataBind('i','AttachmentsField','Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Attachments')}"/>
    <script>
    var elm = document.getElementById(&quot;idAttachmentsTable&quot;);
    if (elm == null || elm.rows.length == 0)
    document.getElementById(&quot;idAttachmentsRow&quot;).style.display=&apos;none&apos;;
    </script>
    </td>
    </tr>
    Im getting error :
    Uncaught TypeError: Cannot read property 'value' of undefined
    form.js?rev=PxBF2F2E04Ut1YUooXDAbg%3D%3D:1
    OkAttachform.js?rev=PxBF2F2E04Ut1YUooXDAbg%3D%3D:1
    onclick
    Somewhere around this line:
    k=document.getElementsByName("RectGifUrl")[0];e.innerHTML='<span class="ms-delAttachments"><IMG SRC=\''+k.value+"'>&nbsp;<a href='javascript:RemoveLocal
    Thanks in Advance

    Create a custom list form or go to your NewForm.aspx using SharePoint Designer. Place the below code where you would like to insert the Attachment Field
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <h3 class="ms-standardheader">
    <nobr>Attach Files</nobr>
    </h3>
    </td>
    <td valign="top" class="ms-formbody" id="attachmentsOnClient" style="width: 434px">
    <span dir=”ltr”>
    <input type=”file” name=”fileupload0″ id=”onetidIOFile” size=”56″ title=”Name”> </input>
    </span>
    </td>
    <td width="100px" valign="top" class="ms-formbody">
    <input name="Button1" type=”button” value="Attach" onclick='OkAttach()' style="width: 6em;
    height: 1.7em" />
    <span id="idSpace"></span>
    </td>
    </tr>
    Thank You, Pallav S. Srivastav ----- If this helped you resolve your issue, please mark it Answered.

  • How to call a custom form on click of a button?

    We have a requirement to call a custom form on clicking a button which is on a standard form. I cant modify the standard form. Is this possible to handle this event from CUSTOM.pll or forms personalization?
    some sample code will help. Thanks in Advance,
    Message was edited by: 988490e8-2268-414d-b867-9d9a911c0053

    Hi,
    I think you are working with Oracle EBS.
    I don't think so that we can able to call the custom form on clicking button.
    We can call the form from the standard form using both custom.pll and form personalization
    In custom.pll using zoom function we can do this and in form personalization we can call the form by using form function, In both we call the form by creating a special menu in standard from and we used to call.
    So please check further, and let me know if any i can help you any.
    Regards
    Sri     .

  • How to make a custom form, buttons etc... please...

    I mean, how to make a form (for example, JFrame) with arbitrary form (geometry, for ex, round, oval, star like etc). I think you understand what i mean.
    Of course, i think i can use winApi, but it's only for windows. It doesn't suit for Java in this problem solution.
    That question also about cusomizing form of buttons, fields.. etc..
    i think, everything.
    What can java allows to cusomize and what not.
    Thanx!!

    I am just a learner and so i can just suggest you a strategy to implement Customized forms in JAVA. However i am sure that in practice it will work as far as Windows OS are concerned. Here is it:-
    The basic IDEA is to declare a native function in JAVA that makes JNI calls which will be further processed by Win32API and processed output will result into an elliptic or any polygonal shaped forms.
    To achieve declare some function as follows:
    public native void createEllipticalForm(formName formRefrance);
    create a Win32 Compiled DLL that manages this function as follows:
    (Mindwell, i havent stated what you call as pure-code but just a pseudo-code to the actual implementation)
    public native void createEllipticalForm(formName formRefrance)
    /* Search for the below stated Functions in Win32 API and work on
    them. I see a ray of success if you work with these functions properly.
    Further-more I assume that you are aware with concept of HANDLES */
    createEllipticRegion(); //WINDOWS.H
    showWindow(handleToTheForm); //WINDOWS.H
    Search for "createEllipticRegion() or showWindow()" on the GOOGLE to get the pure win32 API Code for Creating Customized Forms.
    Reply me in case any of you people get a solution based on my idea.
    [by VISH]

  • Text Items And Push Buttons Created on a customized form does not appear.

    Hi,
    I created a custom form and attached it to ebs. The form opens without any error.
    I had 3 text items and 2 push buttons with proper property class applied to them. But I am only able to see the prompt of the first text item. All the other widgets are not visible. What could be the possible cause for this.
    Deepak

    How are you running the form? Have you deployed it properly and attached it to a menu/form function and are viewing it within EBS?
    Did you open the TEMPLATE.fmb form and save a copy of it as the starting point for your custom form?
    --Johnnie                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to attach custom form LOV to find (torch symbol) button

    Hi,
    We are working on Oracle Applications 11.5.10.2. We are customizing new forms and registered with Oracle Apps, there are lov's on the form and we want to attach lov to the find button on tool menu.
    Our requirement is when ever click on find button, it has to display all the values in the LOV. But our custom form is not reaching this requirement.
    Please help us in this regard to make link between LOV and find button
    Thanks in Advance...
    Venky.

    Hi,
    I can you make your requirement a bit clear.
    From the below text what I could able to understand is, when we click on the browse button(i.e. tourch symbol) it should dispaly a list of values from which we can select a values and the form will display the records pertaining to onl those records .Is that True?
    Rgds,
    Naveen.

  • Create and Enable Find/Torch menu Button in Customized Form

    Hello Friends,
    I want to Create and Enable Find/Torch menu Button in Customized Form??? How can i do that? Please Help !!!
    Thanx in Advance
    Deepak Arora

    Hi,
    Please see the Application Developer guide.
    Applications Releases 11i and 12
    http://www.oracle.com/technetwork/documentation/applications-089559.html
    Thanks,
    Hussein

  • Team Foundation Server 2013 Refresh button not refreshing Custom Control values in TFS Templates

    Hi all,
    We have recently migrated from Team Foundation Server 2010 to Team Foundation Server 2013 Update 2. In TFS 2013 template design we found the refresh form control (inbuilt control of TFS) which is unable to refresh the custom control values that is built
    by us. Is there any way that we can programatically modify to enable the refresh button work with custom control.
    Please find below screenshot link for reference.
    http://postimg.org/image/z4mo3t8r9/
    SaranRam

    Hi SaranRam,
    The refresh button is there to allow the data that populated the work item to be refreshed. The data that you want refreshed is part of the rendering of the form and would only be refreshed when the browser refreshes. Refer to MrHinsh's reply in this
    page.
    Best regards,
    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.

  • Problem with custom form

    Hey All,
    Has anyone ever experience a problem with maximizing or resizing their custom form? I have a rather large form that every time I try to maximize or resize causes Business One to hang and crash.
    Any ideas what might be causing this?

    Hi Curtis,
    Thanks for posting the solution... will keep it in mind!
    Thanks,
    Adele

  • How to submit a concurrent program from a custom form.

    I'm use Forms [32 Bit] Version 6.0.8.26.0 (Production) and Oracle Applications : 11.5.10.2.
    I need execute a concurrent program from a custom form.
    In the custom form I have a button and when that button is clicked I want to submit this cocurrent program. I am using the below code.
    fnd_profile.get('USER_ID', v_user_id);
    fnd_profile.get('RESP_ID', v_resp_id);
    fnd_profile.get('RESP_APPL_ID', v_resp_appl_id);
    fnd_global.apps_initialize(v_user_id,v_resp_id,v_resp_appl_id);
    vn_request_id := apps.fnd_request.submit_request (
    'XBOL',
    'CSUV_GL_STATEMENT_EXPORT'                                                            
    ,NULL
    ,NULL
    ,FALSE
    commit;
    But the concurrent program finished in error:
    "ORACLE error 6550 in FDPSTP
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    The SQL statement being execute"
    The executable of the concurrent program is the next:
    PACKAGE CSUV_GL_STATEMENT_EXPORT_PK
    IS
    PROCEDURE Main (
    pouc_errbuf OUT VARCHAR2,
    poun_retcode OUT NUMBER,
    pinc_OWNER in varchar2,
    pinc_VESSEL in varchar2,
    pind_GL_DATE in varchar2,
    pinc_STATE_NUM in varchar2,
    pind_STATE_DATE in varchar2,
    pinc_EXCEL_LAYOUT in varchar2
    END CSUV_GL_STATEMENT_EXPORT_PK;
    And de value set of the all my concurrent program parameters is "240 Characters".
    I dont't understand why the concurrent program finished wrong.

    Hi,
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignoredPlease refer to "Oracle Applications Developer's Guide" manual for the correct syntax and the number of arguments you need to pass to this API.
    Oracle Applications Developer's Guide
    http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115devg.pdf
    Thanks,
    Hussein

Maybe you are looking for

  • I have an unauthorized purchase and would like to know how to go about it.

    I have two pendings on my bank account for 14.99. I have not purchased anything and would like to know why I am being charged. Also I have not received any emails stating that I have purchased something. Could someone have hacked my account and purch

  • I am using FFnightly and all of a sudden I get the msg Error code: ssl_error_rx_record_too_long) only one one website which I need to access

    The website can be accessed ok from another computer in the office. It happened about 3 days ago (I think after an auto update) and I hoped it would clear. I use win8.1. I tried one of the solutions and deleted Cert8db in the profile, but that did no

  • Software Development Management- How?

    Hi There, Does anyone know of a good way to manage software development (in Labview)? I've been the only programmer in Labview at my company, so tracking software changes wasn't too bad. We recently hired a couple of engineers who also program Labvie

  • Changing SSH default port from 22 to 8080

    Hi all, I have deployed SSH on my home solaris 10 x86 machine and it was working fine through the default port 23. But the problem is that i can't connect to it from work as the firewall blocks outgoing SSH traffic. So i want to change the default po

  • Portal session

    Hi, We've developed a web dynpro application and integrate it in the portal via iview. Our web dynpro application will need to fetch the data from backend system. Due to the slowness of the backend and amount of data, we have a timer in webdynpro con