How create Linked Button on StaticText? Important!

Hallo
subject. examlpe: purchase order -> Vendor (Choose from list) and linked button was created in field Vendor (static text)
Ho to do this? please help and if possible - code (for B1 2004)
i am read this topic, but nothing was not got
Re: Add linked button to a editText field

SAP often use hacks to make their linkedButtons, and this is one of them...
Normally Linked buttons only support EditText and Comboboxes...
A workaround I'll would guess would be to:
1 - Add the staticText
2 - Add a hidden editText
3 - Link a linkbutton to the hidden edittext, and make it of type ln_None
4 - Add a value to the hidden edit text (Else the linkedbutton will not be shown)
5 - Catch the event of press of the linkedbutton (ItemPressed), and do a manual opening of what you might need to open.
Haven't had time to test this, but guess it will work..
An other and more pretty option would be to use a disabled editText...

Similar Messages

  • Enhancement Request: Create linked buttons

    If multiple buttons on the page do the same thing, there should be a way to create 1 button and have it rendered in all those positions.
    Sort of like how the 'Top and Bottom of region' buttons works.
    Yes, I can copy buttons easily but then they become independent entities and changes need to be made to both of them separately.
    Thanks

    FWIW, I solved this issue in my application by assigning a hot key to the button so for example I can press ALT-A to apply without having to scroll back up to the top of the page to press the button. The standard HTML ACCESSKEY attribute allows you to assign a hotkey to a button. Following Windows conventions, I also display the button label as "Apply" to indicate it is a hot key.

  • How create a button with a certain size??

    hi
    the button I create need to have a image icon, and the size of it should remain the same no matter what happen to the size of the frame or panel. by the way, how do I calculate the size of a image I need to set to a button at run time? thank you.

    first copy and run this code, may sure u r connected to internet..
    import javax.swing.*;
    import java.awt.*;
    import java.net.*;
    public class JButtonExample extends JFrame {
      JPanel jPanel1 = new JPanel();
      JButton jButton1 = new JButton();
      public JButtonExample() {
        try {
           jButton1.setMargin(new Insets(0, 0, 0, 0));
           URL r = new URL("http://developer.java.sun.com/images/javalogo52x88.gif");
           jButton1.setIcon(new ImageIcon(r));
           jPanel1.add(jButton1);
           this.getContentPane().add(jPanel1, BorderLayout.NORTH);
        catch(Exception e) {
          e.printStackTrace();
        pack();
        show();
      public static void main(String[] args) {
        JButtonExample JButtonExample1 = new JButtonExample();
    }good luck

  • How create a buttons who is not a square?

    Welcome. I'm creating a map of the world where individual states are divided into separate buttons (trimmed to edges and saved in jpeg). The Czech Republic-Slovakia is activated only in a small area - marked with red lines. I would add that it is the lowest placed. How to make the button be active only that area where there is an image? Otherwise asking whether it is possible to import images were not "square"?

    That's not there. So the question is, can I enable that somehow?  About Calendar reports that this is version "7.0 (1841)".

  • How to link button to this kind of page? Help!

    I need to link flash button to subpage tag: Czesci i
    akcesoria/TRP of this page
    http://www.daftrucks.pl/ but
    there is no URL. How to get it? Is it possible to link it?
    They have also english version of this page made same way if
    it helps
    http://www.daf.com/
    please help

    Try using getURL() and the Flash manual for detailed
    information about
    the needed parameters.
    Christian Scholz-Flöter

  • URGENT! Please how to link button to a local folder?

    Hi
    I am using a MAC
    Please this is really urgent as I only have less than an hour to figure how to change my interface so the button will just open a local folder on the desktop??
    i tried getURL- but does not seem to work
    ANY help will be appreciated and life saving!!

    here's code from the flash help files (which is what you should be using):
    import flash.net.FileReference;
    var listener:Object = new Object();       
    listener.onSelect = function(file:FileReference):Void {
        trace("onSelect: " + file.name);
        if(!file.upload("http://www.yourdomain.com/yourUploadHandlerScript.cfm")) {  // use your own file handling server url file
            trace("Upload dialog failed to open.");
    listener.onCancel = function(file:FileReference):Void {
        trace("onCancel");
    listener.onOpen = function(file:FileReference):Void {
        trace("onOpen: " + file.name);
    listener.onProgress = function(file:FileReference, bytesLoaded:Number, bytesTotal:Number):Void {
        trace("onProgress with bytesLoaded: " + bytesLoaded + " bytesTotal: " + bytesTotal);
    listener.onComplete = function(file:FileReference):Void {
        trace("onComplete: " + file.name);
    listener.onHTTPError = function(file:FileReference):Void {
        trace("onHTTPError: " + file.name);
    listener.onIOError = function(file:FileReference):Void {
        trace("onIOError: " + file.name);
    listener.onSecurityError = function(file:FileReference, errorString:String):Void {
        trace("onSecurityError: " + file.name + " errorString: " + errorString);
    var fileRef:FileReference = new FileReference();
    fileRef.addListener(listener);
    fileRef.browse();

  • How to add a link button in system form?

    how to add a link button in system form in the edit text?

    HI
    see the following code
    This creates an item "55" caption, and exittext ("550") and creates linked button "51" linked to "550"
            oItem = otmpform.Items.Add("55", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            With oItem
                .Top = 315 + 30 + 15
                .Left = 12
                .Width = 100
                .Specific.Caption = "Többlet"
            End With
            otmpform.DataSources.UserDataSources.Add("550", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)
            oItem = otmpform.Items.Add("550", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            With oItem
                .Top = 315 + 30 + 15
                .Left = 120
                .Width = 100
                .Specific.DataBind.SetBound(True, "", "550")
                .AffectsFormMode = True
                .Description = otmpform.Items.Item("55").Specific.Caption
                .DisplayDesc = True
            End With
            oItem = otmpform.Items.Add("551", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
            With oItem
                .Top = 316 + 30 + 15
                .Left = 120 - 14
                .Width = 13
                .LinkTo = "550"
                .Specific.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_GLAccounts
            End With
    Regards,
    J.

  • Linking button from one flash file to a different flash file

    Hi All,
    Wondering if anyone knows how to link buttons in one flash
    file to open a specific scene of an entirely different flash file?
    If it isn't possible to choose a specific scene, is there a way to
    just open a flash file...in the same browser window, but not within
    the flash file...if that makes sense?
    I'm putting this on a website, so additionally, I will need
    to know which file to link it to, the swf, html, or fla.
    Thanks!!

    I would advise against using scenes for your website. You
    would need to create a separate html which would load the second
    swf file within the same browser window.
    This is how you call for it:
    on(release){
    getURL("
    http://www.sitelocation.com/secondswf.html");

  • Linked Button To SalesOrder, Error No Matching Record ODBC 2028

    Hello,
    I've added a LinkedButton to a Matrix Cell.
    This is ok.
    But the LinkedButton only works correct with the DocEntry
    Number of SalesOrder ,not with desired DocumentNumber.
    For Example, SalesOrder Document
    DocEntry = 310
    DocumentNumber = 400073
    Entering 310 to matrix cell and clicking the
    LinkedButton, the SalesOrder with DocumentNumber
    400073 will be loaded.
    Entering 400073 to matrix cell and clicking the
    LinkedButton, error ODBC 2028 occurs.
    Has someone an idea, how to link that
    button properly to the DocumentNumber??
    The source
    'adding column
    Set sbo_cOlumn = sbo_Matrix.Columns.Add
                        (UID:="1",Type:=it_LINKED_BUTTON)
    'adding UserDataSource
    oForm.DataSources.UserDataSources.Add UID:="1",
                          DataType:=dt_LONG_NUMBER
    'bind column to UserDataSource
    sbo_cOlumn.DataBind.SetBound
                      Bound:=True, TableName:="", Alias:="1"
    ' create linked Button
    Set sbo_LinkedButton = sbo_cOlumn.ExtendedObject
    sbo_LinkedButton.LinkedObject = lf_Order
    Regards
    Thomas

    Hi,
    I have the same problem with linking to Sales Order.
    Sugesstion to use DocEntry instead of DocNum is correct only partially and it looks user-unfriendly even if you hide DocEntry value and have DocNum in the next column.
    If you open "Inventory/Pick and Pack/Pick List" and select any pick, you can see a standard link to SO's DocNum, not to a DocEntry
    Can please anybody explain how it is done?
    Thank you
    Natalya

  • Link Button In Grid

    Hai To All,
                 Iam creating reports for my module. For that iam using grid to  display the fields. Now my issue is i want to place the link button(Orange arrow) for specific fields.
    For Example,
    For Supplier Code iam placing the following code so that i can able to get view the link button and if i click i can able to open the Business Partner.
    Grid.Columns.Item(0).Type = SAPbouiCOM.BoGridColumnType.gct_EditText
                                    Dim oCol As SAPbouiCOM.GridColumn
                                    oCol = Grid.Columns.Item(0)
                                    oCol.LinkedObjectType = 2
    Similar to that i want to create link button for my user defined screen that is my screen.I registered as UDO as "PI_UDO"
    Grid.Columns.Item(0).Type = SAPbouiCOM.BoGridColumnType.gct_EditText
                                    Dim oCol As SAPbouiCOM.GridColumn
                                    oCol = Grid.Columns.Item(0)
                                    oCol.LinkedObjectType = "PI_UDO"
    If i give "PI_UDO" as my linked object it is not accepting.No error display also....
    If i use none option for linked button,
    Grid.Columns.Item(0).Type = SAPbouiCOM.BoGridColumnType.gct_EditText
                                    Dim oCol As SAPbouiCOM.GridColumn
                                    oCol = Grid.Columns.Item(0)
                                    oCol.LinkedObjectType = -1
    I cant able to view the link button......
    Weather we can able to create link button for our screen???
    In Forum someone told that we can....But some told as cannot??
    What is the solution for this???
    Its an urgent requirement can anyone help me.......
    Regards,
    Anitha
    Edited by: ani nazir on Jul 30, 2008 11:06 AM

    Thanks Petr,
    If i use like that i can able to open the screen but there is an error
    "No Matching Records found in Business Partner"
    In Matrix Item Link press event i made bubbleevent=false
    Regards,
    Anitha

  • Rollover link buttons

    Hey guys,
    I was wondering wether there was a way to create rollover
    link graphics the same way as text links ie.
    link/active/hover/visited. I want to create link buttons with
    graphics and need the different 'rollover' states (but dont want to
    use Flash) as I want pure HTML/CSS - is there a way round to do it
    or should I stick to good old fashioned text links, which I'm
    trying not to? Many thanks.

    Make the graphics the background image for the <a>
    tags, and use the hover
    pseudo-class to do the rollover to a new background image.
    You can see that in the menu here -
    http://66.165.96.216
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "tommysauce" <[email protected]> wrote in
    message
    news:ed218e$7b6$[email protected]..
    > Hey guys,
    > I was wondering wether there was a way to create
    rollover link graphics
    > the
    > same way as text links ie. link/active/hover/visited. I
    want to create
    > link
    > buttons with graphics and need the different 'rollover'
    states (but dont
    > want
    > to use Flash) as I want pure HTML/CSS - is there a way
    round to do it or
    > should
    > I stick to good old fashioned text links, which I'm
    trying not to? Many
    > thanks.
    >

  • How to create text buttons that link to video?

    I've finally gotten around to trying DVD SP, and even though I read the whole manual, it's not at all clear if, or how, you can create text buttons that link to the video you want to play, without displaying a clip of that video in the button itself.
    I have no problem creating a text button, but I can't change the font, and editing is counter-intuitive, unlike iDVD. I'd use iDVD, but it doesn't accept .m2v files, and it seems to think that my 6 videos of about 43 minutes each are too large for a DVD+DL disc, so it won't let me burn it or save it as a disc image.
    Does anyone have a way out of this conundrum, or am I SOL?
    Mulder

    It really isn't that hard!
    As Drew said, go into your menu and click and drag to create a button rectangle. With the button highlighted, look in the property inspector at the bottom and type in the text that you want to use. Ensure that you 'include in button highlight' and then set the colour choice for selected and activated.
    What you get is a simple line of text which illuminates when you roll over it, and changes colour when you click on it.
    Once that is done, click on the button area again and set the target to go to the piece of video that you want to have play back.
    You should also set the menu call and end jump on that track to make sure your viewer can get back to the menu.
    Once that is done the menu will show as a simple piece of text (more buttons means more bits of text, and the first button will be highlighted by default) and no video will play until the button is activated.
    DVDSP is definitely a steeper learning curve than iDVD but for very good reasons. You get far greater control and access to far more advanced features in DVDSP. This means that some things will seem harder, whereas in fact they are just different and the process for achieving the result you want is different. Much of what you want to know is in the manual and also in the tutorials which came with the app. Failing that there are several good online spaces where you can find a lot more information... not least of which is right here, of course!

  • How to link ACTIONS/help to a a newly created button?

    I have created a button to open up a pop up window and display the same information as if you click on ACTIONS and then HELP on an interactive eport/form however I end up with a blank pop up screen
    I have the following under Action When Button Clicked
    action = redirect to URL
    validation = YES
    URL =
    javascript:popupURL('wwv_flow_utilities.show_ir_help?p_app_id=101&p_worksheet_id=3&p_lang=en');
    any ideas??
    thanks in advance for the assist.

    why not make your button click fetch the IR Help menu link on-the-fly and use that
    Change your buttons URL redirect action to
    javascript:window.location.href = $('#apexir_ACTIONSMENU a.dhtmlSubMenuN[title="Help"]').attr('href');Or even the following would do
    javascript:popupURL('wwv_flow_utilities.show_ir_help?p_app_id='+$v('pFlowId') + '&p_worksheet_id='+$('div#apexir_DATA_PANEL table.apexir_WORKSHEET_DATA').attr('id'))These also has the advantage that there is no application or worksheet_id hardcoding in the URL.

  • URGENT! Help with creating more than one linked button

    Hi!
    Could someone help a newbie with trying to figure out this.
    I work in Flash CS3, AS3.
    I've created a button that links to another webpage by using this code (the code is added to a separate layer):
    import flash.events.MouseEvent;
    steud.addEventListener(MouseEvent.CLICK, onMouseClick);
    function onMouseClick(e:MouseEvent):void
      var request:URLRequest = new URLRequest("http://www.xx.html");
      navigateToURL(request, "_blank");
    It works just fine, but the problem is that I want to add more buttons (and links) to it, and thats where I get stuck. When I try just adding a new layer and adding the code there, everything stops working. I've also tried copy/pasting the code beneath the first one, with no results.
    Does anyone know?
    /J

    I will try
    I've modified this tutorial http://www.tutcity.com/view/create-a-sliding-content-with-back-and-forward-navigation.2394 7.html and the intent is to make a sliding menue that contains images of plants that link to the url of the plant. I've got buttons (with a mouse over effect that shows the name of the plant), and in AS2 I could use GetURL to link an invisible button to the URL, but to create the sliding effect, I had to use AS3. I've understood that GetURL doesn't work in AS3.
    In scene 1 I have three layers; content, arrows and actions.
    The actionscript looks like this:
    // File downloaded from www.riacodes.com
    import com.greensock.*;
    var arrayX :Array = [0,-800,-1600,-2400,-3200,-4000,-4800];
    var currentIndex : Number = 0;
    left_mc.addEventListener(MouseEvent.CLICK,navigate);
    right_mc.addEventListener(MouseEvent.CLICK,navigate);
    left_mc.buttonMode = true;
    right_mc.buttonMode = true;
    checkArrows();
    function navigate(e:MouseEvent):void{
    if(e.currentTarget == left_mc) currentIndex --;
    else currentIndex ++;
    checkArrows();
    TweenLite.to(content_mc,.5 ,{x:arrayX[currentIndex]});
    function checkArrows():void{
    if(currentIndex == 0) left_mc.visible = false;
    else if (currentIndex == arrayX.length - 1) right_mc.visible = false;
    else{
    left_mc.visible = true;
    right_mc.visible= true;
    On the content layer I have the backgroundimages that slides as a movieclip.
    If I doubleclick on the movieclip I have two layers, one with the bakground images and the invisible buttons, and one layer where I've put the script:
    import flash.events.MouseEvent;
    JC.addEventListener(MouseEvent.CLICK, onMouseClick);
    function onMouseClick(e:MouseEvent):void
      var request:URLRequest = new URLRequest("http://www.blomsterbolaget.se/vaxtsidor/Dracaena_fragrans_JC.html");
      navigateToURL(request, "_blank");
    JC is the instance name of one of my buttons. So far everything works, but I want to add linking to another button, and I'm not sure how to do this correctly. When I've created the invisible buttons, I've drawn a square, converted it to a button, named it, and named the instance name. Changed the Alpha to 0. I've also added an On mouse over effect, but I don't think that has anything to do with this.
    Hope you can help med!
    /J

  • How to use a link button in a matrix

    Hi, I'm trying to create a matrix with a column that uses a link button to call a Sales order.. how can i do it? i'm new in SBO!

    Hi,
    You can do it in 2 differents ways:
    1. With the ScreenPainter. Set the column property "Type" with the value "et_LINK_BUTTON" and the property "LinkObjectType" with the value of the Business Object (for Sales Orders, the value is "17").
    2. Directly on the XML file. You can see and example below.
    <column uid="col" type="116" title="Parte" description="" visible="1" AffectsFormMode="0" width="55" disp_desc="0" editable="1" right_just="0" val_on="" val_off="" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
          <databind databound="1" table="" alias="col"/>
    <ExtendedObject linkedObject="17" LinkedObjectType="17"/>*
    </column>
    The most important things are the properties "type" (116 for linked button) and "linkedObject" and "LinkedObjectType" (17 for Sales Orders).
    I hope this can help you.
    Regards,
    Cristian Rivero

Maybe you are looking for