How to add close button in pannel ?
hai friends,
how to add close button in pannel ? give any example.
regards,
welcomecan
Hi Welcomecan,
You can use the TitleWindow as suggested by Subeesh for having a built in close button...The TitleWindow is infact an extension of the Panel container. TitleWindow is most generally
used for creating PopUp Windows.
Check the below link for examples...
http://blog.flexexamples.com/?s=TitleWindow
Thanks,
Bhasker
Similar Messages
-
How to add multiple button/choices in button choice
HI all ,
How to add multiple button/choices in button choice ?Initialize a cluster array (CrsrList type) with as many cursors as you think you would ever need. Setup your cursors dynamically, then delete the unused cursors (array elements) and then update your CursorList property.
Message Edited by vt92 on 03-20-2009 04:04 PM
"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
Attachments:
cursors.PNG 5 KB -
How to add a button to the grouped data in an AdvancedDataGrid?
Hi,
Can anyone please suggest how to add a button to the grouped data in the AdvancedDataGrid?
I have tried extending the AdvancedDataGridGroupItemRenderer and using it as the groupItemRenderer but its not reflecting.
For the leaf node the itemRenderer property works just fine.
Please help!HI ,
I want to add a push button on the ALV list out put which is comming as a pop up and I want this using classes and methods.
I have got a method IF_SREL_BROWSER_COMMANDS~ADD_BUTTONS from class cl_gos_attachment_list but still I am unable to get any additional button on the output ALV popup.
Please help.
Regards,
Kavya. -
Hello...
This is my code. How to add REFRESH button in this code
package sample.view;
import javax.faces.event.ActionEvent;
public class Student {
public Student() {
super();
private String name;
private String id;
private String course;
public void setName(String name) {
this.name = name;
public String getName() {
return name;
public void setId(String id) {
this.id = id;
public String getId() {
return id;
public void setCourse(String course) {
this.course = course;
public String getCourse() {
return course;
public void dosubmittoActionisterner() {
// Add event code here...
System.out.println(getName() + " " + getId() + " " + getCourse());
public void dorefershActionlistener(ActionEvent actionEvent) {
// Add event code here...Hi,
is this a home work you are working on? Even as a student you should be able to express questions more clearly.
Frank -
How to add push buttons in out put screen of ALV
Hai,
How to add push buttons in out put screen of ALV (tool bar) with out using classes or methods .I want to know using normal ALV .
Thanks in advance .
kiranHi Kiran,
Here is the sample code.If you are using reuse_alv_grid_display, no need to write code in PBO.
Just double click the 'TEST' which is written in code.Then create a GUI Status.In Application toolbar,type the name of the button you want(say BUTTON).Then double click that name.Then enter the ICON name and function text.Activate it.This itself will work.If you want all the functionalities,then try to do as Vinod told.
TYPE-POOLS: slis.
DATA: i_qmel LIKE qmel OCCURS 0.
data v_repid type repid.
SELECT * FROM qmel INTO TABLE i_qmel.
v_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = v_repid
I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
i_structure_name = 'QMEL'
TABLES
t_outtab = i_qmel
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
form set_pf_status using rt_extab type slis_t_extab.
set pf-status '<b>TEST</b>'.
endform.
FORM user_command USING ucomm LIKE sy-ucomm
selfield TYPE slis_selfield.
data lv_ucomm type sy-ucomm.
lv_ucomm
= sy-ucomm.
CASE lv_ucomm.
WHEN 'BUTTON'. "Double Click line Item
call transaction 'MM01'.
endcase.
endform. -
How to add linked button in grid?
Hi,
Does anyone know how to add linked button in a grid? I can't find it but i saw someone ask similar question but seems none of them works.
Thanks a lot!
P.S. For some reason, i can't use matrix because the data is from a SQL query.
LanHi,
as far as I know it is not possible, since this adjustment is made for the whole column. I have created a grid and I open the shown document by double clicking the row header. In the grid I can see if it is sales or purchase and so I use a workaround by opening the specific system form (e.g. sales invoice) in find mode and search the document by document number (also shown in the grid).
Sample:
oSBOapp.ActivateMenuItem("2053"); //sales invoice
oForm = oSBOapp.Forms.ActiveForm;
oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE;
oEdit = (SAPbouiCOM.EditText)oForm.Items.Item("8").Specific;
oEdit.Value = Convert.ToString(dNum);
oForm.Items.Item("1").Click(SAPbouiCOM.BoCellClickType.ct_Regular);
By the click event, you get the specific row number. Hope it helps...
Regards
Sebastian -
How to Add Print Button in the Online Payslip
Dear Friends,
How to Add Print Button in the Online Payslip (Employee Self Service). Can anyone pls let me know about this ..
with regards
SwpanaHi,
Please review the following documents.
Note: 332402.1 - Can You Mass Print Of Online Payslips?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=332402.1
Note: 256072.1 - Payslip V4.0 Print Button Is Missing
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=256072.1
For details about Deposit Advise and Checkwriter, please refer to:
Note: 459306.1 - XML Checkwriter/Deposit Advice
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=459306.1
Regards,
Hussein -
How to Add Push Button On Selection Screen
Hi Experts,
How to add Push button on Selection Screen.
Points will b rewarded for useful help.
Bohra.Hi,
To create a pushbutton on the selection screen, you use:
SELECTION SCREEN PUSHBUTTON [/]<pos(len)> <push>
USER-COMMAND <ucom> [MODIF ID <key>].
The [/]<pos(len)> parameters and the MODIF IF addition have the same function as for the formatting options for underlines and comments.
<push> determines the pushbutton text. For <push>, you can specify a text symbol or a field name with a maximum length of eight characters. This character field must not be declared with the DATA statement, but is generated automatically with length <len>. The field must be filled before the selection screen is called.
For <ucom>, you must specify a code of up to four characters. When the user clicks the pushbutton on the selection screen, <ucom> is entered in the UCOMM of the SSCRFIELDS interface work area. You must use the TABLES statement to declare the SSCRFIELDS structure. The contents of the SSCRFIELDS-UCOMM field can be processed during the AT SELECTION-SCREENevent.
Ex.
REPORT DEMO.
TABLES SSCRFIELDS.
DATA FLAG.
SELECTION-SCREEN:
BEGIN OF SCREEN 500 AS WINDOW TITLE TIT,
BEGIN OF LINE,
PUSHBUTTON 2(10) BUT1 USER-COMMAND CLI1,
PUSHBUTTON 12(10) TEXT-020 USER-COMMAND CLI2,
END OF LINE,
BEGIN OF LINE,
PUSHBUTTON 2(10) BUT3 USER-COMMAND CLI3,
PUSHBUTTON 12(10) TEXT-040 USER-COMMAND CLI4,
END OF LINE,
END OF SCREEN 500.
AT SELECTION-SCREEN.
CASE SSCRFIELDS.
WHEN 'CLI1'.
FLAG = '1'.
WHEN 'CLI2'.
FLAG = '2'.
WHEN 'CLI3'.
FLAG = '3'.
WHEN 'CLI4'.
FLAG = '4'.
ENDCASE.
START-OF-SELECTION.
TIT = 'Four Buttons'.
BUT1 = 'Button 1'.
BUT3 = 'Button 3'.
CALL SELECTION-SCREEN 500 STARTING AT 10 10.
CASE FLAG.
WHEN '1'.
WRITE / 'Button 1 was clicked'.
WHEN '2'.
WRITE / 'Button 2 was clicked'.
WHEN '3'.
WRITE / 'Button 3 was clicked'.
WHEN '4'.
WRITE / 'Button 4 was clicked'.
WHEN OTHERS.
WRITE / 'No Button was clicked'.
ENDCASE.
This example defines four pushbuttons on a selection screen that is displayed as a
dialog box. The selection screen is defined in a statement chain for keyword
SELECTION-SCREEN.
If the text symbols TEXT-020 and TEXT-040 are defined as 'Button 2' and 'Button 4',
the four pushbuttons appear as follows on the selection screen displayed as a dialog box.
Regards,
Bhaskar -
How to add push button in alv display with out class or method
Hai,
How to add push buttons in out put screen of ALV (tool bar) with out using classes or methods .I want to know using normal ALV .
Thanks in advance .
kiranYou should post your question in the ABAP forum.
ABAP Development -
How to add push button in application tool bar in SAP transaction VA01
How to add push button in application tool bar in SAP standard transaction VA01 and how to implement the code for that function code.
There is no scope to create a push button in application tool bar. Instead of that we can add in a menu bar.
-
How to add "x" button in window
hi,,
in my program I create the window
Like :
Windoe w =new Window ();
I want to add "x" button to close window
how I can do it??
please healp me ..
very Thanks,,You can just JFrame, JDialog, or create a component and draw it yourself
-
How to add push button in report.
Hi,
how to add a push button in the standard list report and on clicking which the line-size of the screen should reduce from 300 to 100.
how to proceed.
Can anyone help me.
Regards
GuhapriyanHii Guhapriyam,
You can ceate PUSHBUTTON in selection-screen like Below
SELECTION-SCREEN PUSHBUTTON 2(10) text-004 USER-COMMAND CL1.
Create a variable to hold the processed PUSHBUTTON value like
DATA v_flag TYPE flag.
The PUSHBUTTON will be processed at the event AT SELECTION-SCREEN. So write your code like below
AT SELECTION-SCREEN.
IF sy-ucomm EQ 'CL1'.
v_flag = 1. "Buttob clicked
ENDIF.
START-OF-SELECTION.
IF v_flag EQ 1.
NEW-PAGE LINE-SIZE 100.
ENDIF.
OR
The best way of doing this by setting PF-STATUS like
START-OF-SELCTION.
SET PF-STATUS 'ZSTATUS'. "Double click on this and set the pushButton in standard toolbar option and in function key specify the BACK, EXIT and CANCEL button .
Then write your logic at the event AT USER-COMMAND.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'RED'.
NEW-PAGE LINE-SIZE 100.
WHEN 'BACK' OR 'CANCEL' OR 'EXIT'.
LEAVE SCREEN.
WHEN OTHERS.
ENDCASE.
regards
Syed -
How to add Print button on Webhelp in Robohelp 10?
Can someone please provide step-by-step instructions to add Print button on Webhelp. I'm currently using Robohelp 10. I saw some suggestions using javascript in skin, but there isn't a step-by-step procedure available.
I have been seraching for this from past many days. It'd be of great help to me. Thanks!Thank you very much for your quick reply. It was really helpful. However, I still can't see the button the webhelp output.
1. Created a new skin
2. In the new skin, I added this print button and followed all steps explained (adding inline javascript and calling the function in the action tab under onClick, etc)
3. I could see the preview of this being perfectly fine.
4. But, when I generated the output by compiling it again, I could not see the changes I made in the webhelp
4. I am thinking I am missing a crucial step. Is the new webhelp using the new skin? How to know this?
5. I carried out all the steps as explained, except this "Don't forget to tick the Print button in the second page of the wizard". Could you please let me know which wizard this is and where is the check box to tick the print button?
I am eagerly waiting for your answer. Thanks! -
Hi there,
How to add this custom button on all Library Types (Not just document libraries)?
RegistrationId="101" RegistrationType="List" adds this button to Document Libraries only - which does not work for me.
Thanks so much.Hi,
According to your post, my understanding is that you wanted to add a custom button on the ribbon of all the library.
You can refer to the following code snippet, it would add a custom button “Site Settings” on the ribbon of all the libraries.
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction Id="ListViewCustomization" Location="CommandUI.Ribbon.ListView" RegistrationId="101" RegistrationType="List" Title="List View Ribbon Customization">
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition Location="Ribbon.Documents.Share.Controls._children">
<Button Id="ListViewButton" Command="ListViewButtonCommand" Description="Go to Settings" LabelText="Site Settings" TemplateAlias="o2" Sequence="93"/>
</CommandUIDefinition>
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler Command="ListViewButtonCommand" CommandAction="/_layouts/settings.aspx" />
</CommandUIHandlers>
</CommandUIExtension>
</CustomAction>
</Elements>
More reference: http://msdn.microsoft.com/en-us/library/ms473643.aspx
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
How to add a button in Sales Order screen?
Hi,
Basically I want to add a new button "Show My lookup" in sales order screen and when clicking the button I want to show a form.
Please anyone tell me how to do this?.
thanks in advance
MinaHere is a sample ItemEvent that adds a custom button to Sales Order Entry, and loads a form from XML when it is clicked. Make sure you give the forms unique identifiers when you create them - the sample just uses a hardcoded value.
Hope it helps,
John
Private Sub sboApp_ItemEvent(ByVal FormUID As String, pVal As SAPbouiCOM.IItemEvent, BubbleEvent As Boolean)
On Error GoTo ErrorHandler
Dim sboForm As SAPbouiCOM.Form
Dim sboItem As SAPbouiCOM.Item
Dim sboBtn As SAPbouiCOM.Button
Dim objXMLDoc As MSXML2.DOMDocument
Dim objXMLErr As IXMLDOMParseError
Dim objXMLElem As MSXML2.IXMLDOMElement
Dim strIdentifier As String
If pVal.EventType = et_FORM_LOAD And pVal.Before_Action = False And pVal.FormType = 139 Then
'Add Custom Button
Set sboForm = sboApp.Forms(FormUID)
Set sboItem = sboForm.Items.Add("AZU_BTN", it_BUTTON)
sboItem.Top = sboForm.Items("1").Top
sboItem.Width = "80"
sboItem.Left = sboForm.Width - 105
Set sboBtn = sboItem.Specific
sboBtn.Caption = "Custom Button"
End If
If pVal.EventType = et_ITEM_PRESSED And pVal.Before_Action = False And pVal.ItemUID = "AZU_BTN" And pVal.FormType = 139 Then
strIdentifier = "AZU_XXX" 'You should set this to a unique value each time
Set objXMLDoc = New MSXML2.DOMDocument
objXMLDoc.async = False
objXMLDoc.validateOnParse = True
objXMLDoc.Load (App.Path & "\Config\AZU_CUSTOM.srf")
Set objXMLErr = objXMLDoc.parseError
If (objXMLErr <> 0) Then
MsgBox "Failed to load XML screen definition."
Exit Sub
Else
For Each objXMLElem In objXMLDoc.getElementsByTagName("form")
objXMLElem.setAttribute "uid", strIdentifier
Next
sboApp.LoadBatchActions objXMLDoc.xml
End If
End If
Exit Sub
ErrorHandler:
MsgBox Err.Number & " " & Err.Description
End Sub
Maybe you are looking for
-
Unable to release billing document to accounting
Dear All, I am cancelling billing document.The document created in July and cancelling today. Following error is coming in vf02 SD billing document cannot be cancelled. Error message F5A 005 occurs during release to accounting. the foreign currency
-
Intermittently using Time Machine with an External Hard Drive
Ok, Kappy answered some questions I had about how Time Machine works with an external hard drive. After doing more reading about Time Machine, I found out that a person can, for example, leave the drive powered-off for a couple of weeks and only peri
-
Lion Stuck at login screen,can't type password
My OSX Lion stuck at login screen,when I type password it just "beep" and I can only type few words.I just had those problem before..But since the battery ran out,and I gonna login...then I can't type the password...please help me.... P.S. My keyboar
-
Expression or Calculation tag value are reset to last application saved value when PC reboot
I'm doing daily logging data for daily report and for the daily flow calculation, I'm doing those step: 1- When Timer1 = 11h55 -> Daily_Volume = (Actual_Volume - Yesterday_Volume) 2- When Timer2 = 11h56 -> Yesterday_Volume = (Actual_Volume ) 3- When
-
Hi all, I am trying to Post a Purchase order in MIGO. It should display a message saying ' Please do goods receipt using Inbound delivery' If an inbound delivery exists for that particular Purchase order. If i am posting an inbound delivery in MIGO.