Dynamic ToolTip for button

Hello world

I want to use only a single button for multiple uses.

I want the ToolTip for this button is changed when I change the end of it.

But the problem is that we declare the ToolTip on TipTable for each widget.

This means that we don't have one channel for each widget.

Is it possible to customize and give him more than a balloon?

Thanks in advance.

Hi Duy-NV-Niteco,

You can replace the iterface id on your boss IID_ITIP touch by your own implementation of the ITip interface.

Markus

Tags: InDesign

Similar Questions

  • Dynamic action for button update region

    Hi all, how to create a dynamic action for button update region. Suggest me

    Thank you

    Apex-Obin wrote:

    Thank you... with over loading the entire page?

    Updating of dynamic actions using partial page refresh (PPR). However it is supported only on certain types of region: traditional and interactive reports, graphics and plug-ins where PPR support has been implemented by the developer of plug-in. The model of the region must also include an id = "" #REGION_STATIC_ID # "attribute, which means that the model region cannot set model No."

  • How to display the ToolTip for button

    Hello

    I use 11.1.1.4.

    I want to show the ToolTip in the button. tag that so I want to use and to display the ToolTip.

    Best regards, rami

    Rami,

    Use the property 'shortDesc"of the button.

    John

  • How to rename the ToolTips for buttons in the PlayBar

    I've seen a few questions about it and I read the blog post on how to do it: http://blogs.adobe.com/captivate/tag/adobe-captivate-playbars.

    However, I do not understand the section on ToolTips. Can someone please guide me through the steps in a non-technical manner?

    When you open one of the bars of playback in Flash, press F9. It will open the script window.

    Then click on the location of MovieClip in the lower pane left, as shown in the picture. The text will appear in the script window

  • ToolTip for the button

    Nice day

    I'm new to the blackberry development. I created a bitmapbuttonfield using the examples of the advanced user interface. There is a button with an image. I want to display a ToolTip for the button when the button receives the focus. Can someone please help

    Thanks in advance

    Hello

    Use this code:

    package mypackage;
    
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.FieldChangeListener;
    import net.rim.device.api.ui.component.ButtonField;
    import net.rim.device.api.ui.component.Dialog;
    
    public final class MyScreen extends TooltipScreen
    {
    
        ButtonField btn1,btn2,btn3;
        public MyScreen() {
    
            btn1=new ButtonField();
            btn1.setChangeListener(new FieldChangeListener() {
                public void fieldChanged(Field field, int context) {
                    Dialog.alert("Button 1 Click");
                }
            });
            btn2=new ButtonField();
            btn2.setChangeListener(new FieldChangeListener() {
                public void fieldChanged(Field field, int context) {
                    Dialog.alert("Button 2 Click");
                }
            });
    
            btn3=new ButtonField();
            btn3.setChangeListener(new FieldChangeListener() {
                public void fieldChanged(Field field, int context) {
                    Dialog.alert("Button 3 Click");
                }
            });
            add(btn1, "Button 1");
            add(btn2, "Button 2");
            add(btn3, "Button 3");
    
        }
    
    }
    
    package mypackage;
    
    import java.util.Timer;
    import java.util.TimerTask;
    import java.util.Vector;
    
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.XYRect;
    import net.rim.device.api.ui.container.MainScreen;
    
    public class TooltipScreen extends MainScreen {
    
        TooltipScreen screen = this;
        boolean doRedraw = false;//prevent infinte redrawing
        Vector tooltips = new Vector();//vector to hold tooltip strings
        private Timer tooltipTimer = new Timer();
        private TimerTask tooltipTask;
        boolean alive = false;//is the tooltip alive? used to pop it after our timeout
        int count = 0;//used to calculate time tooltip is displayed
        //tooltip popup colours:
        int backgroundColour = 0xeeeeee;
        int borderColour = 0xaaaaaa;
        int fontColour = 0x666666;
        //the tooltip:
        String tooltip;
        int tooltipWidth;
        int yCoord;
        int xCoord;
        //region parameters:
        XYRect contentArea;
        int contentBottom;
        int contentRight;
    
        public TooltipScreen() {
            super();
    
            //when timeout reaches 100ms*20 ie. 2seconds set alive to false and redraw screen:
            tooltipTask = new TimerTask() {
    
                public void run() {
                    if (alive) {
                        count++;
                        if (count == 20) {
                            alive = false;
                            invalidate();
                        }
                    }
                }
            };
    
            tooltipTimer.scheduleAtFixedRate(tooltipTask, 100, 100);
    
        }
    
        //override add method adds an empty string to tooltip vector:
        public void add(Field field) {
            tooltips.addElement("");
            super.add(field);
        }
    
        //custom add method for fields with tooltip: add(myField, "myTooltip");
        public void add(Field field, String tooltip) {
            super.add(field);
            tooltips.addElement(tooltip);
        }
    
        public void setColours(int backgroundColour, int borderColour, int fontColour) {
            this.backgroundColour = backgroundColour;
            this.borderColour = borderColour;
            this.fontColour = fontColour;
        }
    
        //reset everything when user changes focus,
        //possibly needs logic to check field has actually changed (for listfields, objectchoicefields etc etc)
        protected boolean navigationMovement(int dx, int dy, int status, int time) {
            count = 0;
            alive = true;
            doRedraw = true;
            return super.navigationMovement(dx, dy, status, time);
        }
    
        protected void paint(Graphics graphics) {
            super.paint(graphics);
            if (alive) {
                Field focusField = getFieldWithFocus();
                tooltip = (String) tooltips.elementAt(screen.getFieldWithFocusIndex());
    
                //don't do anything outside the norm unless this field has a tooltip:
                if (!tooltip.equals("")) {
                    //get the field content region, this may fall inside the field actual region/coordinates:
                    contentArea = focusField.getContentRect();
                    contentBottom = contentArea.y + contentArea.height;
                    contentRight = contentArea.x + contentArea.width;
    
                    //+4 to accomodate 2 pixel padding on either side:
                    tooltipWidth = graphics.getFont().getAdvance(tooltip) + 4;
    
                    yCoord = contentBottom - focusField.getManager().getVerticalScroll();
                    //check the tooltip is being drawn fully inside the screen height:
                    if (yCoord > (getHeight() - 30)) {
                        yCoord = getHeight() - 30;
                    }
    
                    //check the tooltip doesn't get drawn off the right side of the screen:
                    if (contentRight + tooltipWidth < getWidth()) {
                        xCoord = contentRight;
                    } else {
                        xCoord = getWidth() - tooltipWidth;
                    }
    
                    //draw the tooltip
                    graphics.setColor(backgroundColour);
                    graphics.fillRect(xCoord, yCoord, tooltipWidth, 30);
                    graphics.setColor(borderColour);
                    graphics.drawRect(xCoord, yCoord, tooltipWidth, 30);
                    graphics.setColor(fontColour);
                    graphics.drawText(tooltip, xCoord + 2, yCoord);
                }
            }
            //doRedraw logic prevents infinite loop
            if (doRedraw) {
                //System.out.println("redrawing screen: " + System.currentTimeMillis());
                screen.invalidate();
                doRedraw = false;
            }
        }
    }
    
    package mypackage;
    
    import net.rim.device.api.ui.Font;
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.Manager;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.component.LabelField;
    import net.rim.device.api.ui.container.PopupScreen;
    import net.rim.device.api.ui.container.VerticalFieldManager;
    
    class MyTooltip extends PopupScreen{
        int _x;
        int _y;
        TooltipThread _tooltipThread;
    
        private MyTooltip(Manager manager) {
            super(manager);
         }
        public void sublayout(int width, int height)    {
            super.sublayout(width,height);
            setPosition(_x,_y);
            System.out.println("Tooltip x: " + Integer.toString(_x) + ", y: " + Integer.toString(_y));
        }
        protected void applyTheme() {
            // Overriden to suppress Border etc.
        }
        public void removeToolTip() {
            if ( _tooltipThread != null ) {
                _tooltipThread.dismiss();
            }
        }
        private void display(UiApplication uiApp, int x, int y, int displayTime) {
            _x = x;
            _y = y;
            _tooltipThread = new TooltipThread(uiApp, this, displayTime);
            _tooltipThread.start();
        }
    
        public static MyTooltip addToolTip(UiApplication uiApp, String toolTipString, int x, int y, int displayTime) {
            VerticalFieldManager manager = new VerticalFieldManager(Manager.FIELD_VCENTER|Manager.NON_FOCUSABLE) {
                protected void paint(Graphics graphics) {
                    graphics.setColor(0x00FFFFFF); // White
                    graphics.fillRect(0,0,getWidth(),getHeight());
                    graphics.setColor(0x00000000); // Black
                    graphics.drawRect(0,0,getWidth(),getHeight());
                    super.paint(graphics);
                }
            };
            MyTooltip toolTip = new MyTooltip(manager);
            LabelField label = new LabelField(' ' + toolTipString + ' ', LabelField.NON_FOCUSABLE);
            label.setFont(Font.getDefault().derive(Font.PLAIN, 16));
            toolTip.add(label);
            toolTip.display(uiApp, x, y, displayTime);
            return toolTip;
        }
    
        class TooltipThread extends Thread {
    
            Object _notifyObject = new Object(); // Used to allow user to dismiss this Tooltip
            PopupScreen _tooltip; // Screen we are going to display
            UiApplication _ourApplication; // access to pushGlobalScreen and dismissStatus from our Application
            int _displayTime; // in seconds
    
            public TooltipThread(UiApplication ourApplication, PopupScreen tooltip, int displayTime) {
                _tooltip = tooltip;
                _ourApplication = ourApplication;
                _displayTime = displayTime;
            }
    
            public void run() {
                _ourApplication.pushGlobalScreen(_tooltip, 999, false);
                synchronized(_notifyObject) {
                    try {
                        _notifyObject.wait(_displayTime * 1000);
                    } catch (Exception e) {
                    }
                };
                _ourApplication.dismissStatus(_tooltip);
            }
    
            public void dismiss() {
                // notify the waiting object to stop the Thread waiting
                synchronized(_notifyObject) {
                    _notifyObject.notify();
                }
            }
    
        }
    
    }
    
  • ToolTip for the button previous and next in trainButtonBar

    I'm not able to view the ToolTip for the buttons next and previous by using trainButtonBar. Can someone help me on this?

    Published by: 952401 on August 13, 2012 05:50

    Hey Vinay... I think you can try this
    Required fields in a train

    It was exactly the solution you need.

    Thank you
    Serge

  • create a dynamic group for all virtual machines

    I would like to create separate dynamic groups for all my Windows virtual machines and physical machines of my Windows.  Is it possible to do it via regular expressions?  It is not granular enough to create something like this.  We have vROps that collects a large number of settings of virtual machines as its CPU usage, use of memory and use of the network to name a few.  If I install Hyperic on those virtual machines it will collect the same measures and I'll have to duplicate the data in vROps.  So I would like to have a separate profiles for Win32, CPU, physical disk on file server, etc., for virtual machines and physical machines.  I was going to try using dynamic groups, but I don't think that Hyperic will be able to handle this.  If you have any suggestions or knowledge on this operation through dynamic groups that would be great.

    Thank you.

    In UI Hyperic access the platform in platform type choose Win32 and press the green icon. You will see all the windows.

    Now select all platforms and press the 'Group' button > add to the new group

    Good luck

  • Dynamic Actions disable button based on the text field

    Hello

    Sorry if this has already been asked but I checked and could not find a job.

    «I'm trying to disable / enable a button "view" among the elements of this region from if a text field has a value or.»  I created a dynamic action for this but its not working only partially.  I can get the button to be disabled or enabled when I leave the text field, but what I'm trying to do is to get the State of button to change as soon as I start to type in the text field or return to people with disabilities if the text is deleted.

    I don't know that I'm missing something simple and help you can give is greatly appreciated.

    I use APEX 4.1 and that's how I got the dynamic action implementation, I tried different but no event types to give them action I want.

    I also install an example (details below)

    Event - change

    Selection type - point

    Article (s) - P1_TEXT

    Condition - is null

    Real Action

    Action - disable

    Fires when the result of the event is - real

    Fire on the loading of the Page - Y

    Items affected - button

    Article (s) - P1_BUTTON

    Action of false

    Action - Enable

    Fires when the result of the event is - fake

    Fire on the loading of the Page - Y

    Items affected - button

    Article (s) - P1_BUTTON

    workspace - show_issue

    user_name - show_issue

    password - show_issue

    app_id - 61707

    http://Apex.Oracle.com/pls/Apex/f?p=61707:1

    It works as expected if you change the event of 'Change' for 'key version?

  • The label, dynamic Format for VO.

    Hello

    IAM using jdeveloper 11.1.1.3.0 version.

    The other a viewobject viewdefinition-based IAM ViewObject dynamic creation...

    The ViewObject created dynamically, how to assign to the label, the format and ToolTip.


    Reg,
    Vini

    After you get the handle to the ViewObjectDef and you can set the label, the Format, the Tooltip for an attribute as follows:

    int clmnIndex = newEmpViewDef.getAttributeIndexOf ("DepartmentId");
    AttributeDefImpl _voAttrDef =
    (AttributeDefImpl) newEmpViewDef.getAttributeDef (clmnIndex);
    int clmnIndex = newEmpViewDef.getAttributeIndexOf ("DepartmentId");
    AttributeDefImpl _voAttrDef =
    (AttributeDefImpl) newEmpViewDef.getAttributeDef (clmnIndex);

    SET THE COMPONENT TYPE
    _voAttrDef.setLOVName (lovName);
    voAttrDef.setProperty (AttributeHints.ATTRIBUTECTL_TYPE,
    AttributeHints.CTLTYPE_COMBO);

    DEFINE THE DISPLAY WIDTH
    voAttrDef.setProperty (AttributeHints.ATTRIBUTECTL_DISPLAYWIDTH, 100);

    THE LABEL
    voAttrDef.setProperty (AttributeHints.ATTRIBUTELABEL,
    '' Choose a Department '');

    SET THE TOOLTIP
    voAttrDef.setProperty (AttributeHints.ATTRIBUTETOOLTIP,
    "Choose a value");

    Thank you
    Nini

  • make a visible top layer invisible for buttons / controls on a layer below.

    THE PROJECT

    I have 3 layers in a CS3 project, in the following order:

    -top Layer (layer semi-transparent Vignet and some additional graphics, all of this is contained in a loaded dynamic mc)

    -Middle Layer (the content that contains the navigation and content. This charge dynamics)

    -Background (it contains a screenfilling background image, and a few graphic alements, all of this is contained in a loaded dynamic mc)

    THE PROBLEM

    The top layer off the dynamic content blocks because its more of it.

    SOLUTION

    Dynamic turn off the layer top, so doent flash use it anymore.

    I want to keep it visible, but not accessible for any mouse action.

    Must be kept below visible dynamic content for interaction.

    I hope I described it quite clear, if someone can give me the solution.

    I gues it is some attachment real simple code.

    Thank you.

    I did a quick exaample the demo with a layer of something on top of a layer of controls and disable it to interfere with the commands below.  For this example, the lean rectangular area is the layer of Vignet who stands on a button on a layer underneath - I threw it in a background layer too, just to cofuse eyeballs, I guess...  When you click the button, it allows the Vignet layer so that it blocks the button and clicking on it it turns off again... just a variety of liuttle of commands that may be useful to you at some point.

    If you can let me/us know whow you file is different, then perhaps it will be easier to identify a different solution if one is necessary.

    http://www.nedwebs.com/Flash/vignet.fla

  • How can I remove worm of ToolTip for the clayout engine

    What is the program of ToolTip for Clayout engine and how to remove it safely?

    Hi Albertwolfman,

    ·         You receive an error message or error code during the uninstallation of this program?

    I suggest you scan your computer with the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

     

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Important: During the scan of the hard drive if bad sectors are found, the scanner tries to repair this sector, all available on which data may be lost.

    Let us know if that helps.

  • Dynamic CRM2011 for the outlook client does not recognize that I have already installed SP2

    Dynamic CRM2011 for server (vista 64-bit) or the outlook client does not recognize that I have already installed SP2

    Error log (edited to highlight what appears to be the problem):
    Latest Version of the OS: 6.0.6001
    11:14:06 |   Info |   Service Pack: Service Pack 1
    11:14:06 |   Info |   System type: workstation
    11:14:06 |   Info |   Mask away: 0 x 0300
    11:14:06 |  Error | Failed to install Microsoft Dynamics CRM for Outlook. Install Windows Vista Service Pack 2 and then try again.
    11:14:06 |  Error | System requirements not filled to allow the installer to run.
    My computer works SP2 and all current updates except for:
    • Platform Update for Windows Vista x 64-based Systems (KB971644)
    1. error: 8000ffff
    I ran 'fit' the Microsoft tool, but made no difference. This update is my problem, or I am barking the wrong tree?
    Help, please!

    Hi Paul,.

    The question you posted would be better suited in the Forums of Microsoft Dynamics. I would recommend posting your query in the Forums of Microsoft Dynamics.

    http://social.Microsoft.com/forums/en-us/category/Dynamics

  • ToolTips for menu

    How can I set a ToolTip for a menu item?

    For example, in the contacts built in app when I press and hold the icon search the ToolTip "Search" appears.

    You need bbUI version 0.9.6.144 or later, those included in the bed for example BlackBerry uses 0.9.6.126. Adding tooltips is relatively recent.

    BCR.

  • Dynamic lists for recommendation using CSElement

    Hello

    I want to know what should be in CSElement to create dynamic lists for recommendation.

    If I create just a list with two columns as asset Id and the type of assets that will suffice?

    Dynamic list recommendations requires a list named " AssetList " and 2 columns 'assetid' and 'assettype.

    We can use any method to generate this list.

    Looks like my CSElement

    I used the most basic that is hard coding as

    And it works.

    Thanks nice to point me the finger in the right direction.

  • Dynamic action for validation of date with the notification message plugin

    Hi all

    Someone help me please with dynamic action for validation of date with the message notification plugin. I have a form with two elements of the date picker control and message notification plugin.

    The requirement first user selects the exam is finished and then selects the date. So, if the date is greater than the date of the examination is over + 2 years then doesn't trigger the message notification plugin. I tried to create that dynamic action on the date picker date that triggers the scheduled issue notification message but I want to make conditional, I mean displays the message only if date of the selected is greater than the date of the exam is finished more than 2 years.

    In terms simple, notification is displayed only if provided is superior to (date of the exam is completed + 2 years).

    I use oracle apex 4.0 version and oracle 10g r2 database. I tried to reproduce the same requirement in my personal workspace. Here are the details. Please take a look.

    Workspace: raghu_workspace

    username: orton607

    password: orton607

    APP # 72193

    PG # 1

    Any help is appreciated.

    Thanks in advance.

    Orton.

    You can get the value of the date of entry:

    $(ele) .datePicker ('getDate');

    So what to add functions such as:

    function validateNotification (d1, d2) {}

    Date1 var = $(d1) .datepicker ('getDate');

    date2 var = $(d2) .datepicker ('getDate');

    if(date1 && date2) {}

    return ((date2.getTime()-date1.getTime())/(1000*24*60*60))>(365*2);

    } else {}

    Returns false;

    }

    }

    The logic based on setting (I have two years from years of 365 days preceding)

    Then in the D.A. specify a JavaScript expression as:

    validateNotification ('P2_REVIEW_COMPLETED', this.triggeringElement.id)

    Refer to page 2 for example.

Maybe you are looking for

  • Is it possible to remove the "key words" awesome bar, search

    Is there a way to delete / keywords not registered For example, there are many songs of guilty pleasure I'll be embraced if someone will see. example: Kylie Minogue Is it possible to take off and never save any page associated with this keyword 'kyli

  • iPhone 6 not supported with old MacBook (10.6.8)

    It's too bad that Apple "forces" of its customers to change their old Mac platforms, although it still works like a charm. I have an old Macbook running 10.6.8 (latest version OSX supported them for this MB). All Apple applications are up to date inc

  • volume and eq setting

    I was set my custom eq and with different settings, I adjust the volume for the same level. How does this affect battery life? I mean a more dynamic eq setting with smaller volume would result in a longer battery life than a flatter frame with higher

  • No sound in media center

    It happened recently.  I am getting sound in WMP and QuickTime player but not Windows Media Center.  It will not read video files or live tv.  He plays good music.  I tried to configure the speakers, but that did not work. Anyone knows what is the ca

  • I need a driver for compressor under Windows 7.

    I need a driver for my Windows 7 which says "compressor". How to upgrade.