1. #1
    Sencha User
    Join Date
    Aug 2010
    Posts
    14
    Vote Rating
    0
    tomassio is on a distinguished road

      0  

    Default Tooltip on Checkbox

    Tooltip on Checkbox


    Hi guys

    I have an ext tool tip coded on and would be called by focus event on checkbox which works . see code below

    checkbox.on('focus', function(pb) {
    if (typeof(options['tooltip'])!='undefined' ){
    checkbox.setTooltip(options['tooltip']);
    }
    });

    Now the question is I need an event mouseover. Is there a way to do it.

    Your help is expreciated as a beginner

    tomassio

  2. #2
    Sencha User laurentParis's Avatar
    Join Date
    Aug 2010
    Location
    paris
    Posts
    246
    Vote Rating
    2
    laurentParis is on a distinguished road

      0  

    Default


    you say that checkbox.on('focus', function(pb) ... is ok
    have you try
    checkbox.on('mouseover', function(pb)..
    ?

  3. #3
    Sencha User
    Join Date
    Aug 2010
    Posts
    14
    Vote Rating
    0
    tomassio is on a distinguished road

      0  

    Default


    thanks first of all. I have tried this mouseover inspite it is not defined in doc but does not work.

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Can't you just use a QuickTip, e.g.
    Code:
    combobox.on('render', function(c){
      Ext.QuickTips.register({
        target: c.getEl(),
        text: 'Some text'
      });
    });

  5. #5
    Sencha User laurentParis's Avatar
    Join Date
    Aug 2010
    Location
    paris
    Posts
    246
    Vote Rating
    2
    laurentParis is on a distinguished road

      0  

    Default


    ok, try this
    Code:
    checkbox.el.on('mouseover', function(pb)..

  6. #6
    Sencha User
    Join Date
    Aug 2010
    Posts
    14
    Vote Rating
    0
    tomassio is on a distinguished road

      0  

    Default


    both of them does not work. thanks

  7. #7
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Did you initialize QuickTips?

    Code:
    Ext.onReady(function(){
      Ext.QuickTips.init();
      ...
    });

  8. #8
    Sencha User
    Join Date
    Aug 2010
    Posts
    14
    Vote Rating
    0
    tomassio is on a distinguished road

      0  

    Default


    excellent quicktips works. thanks a lot.

  9. #9
    Sencha User
    Join Date
    Jul 2010
    Posts
    3
    Vote Rating
    0
    orlandofury is on a distinguished road

      0  

    Default


    Any of you have a sample page of adding a tooltip on checkbox using the solution mencioned in this post?

Similar Threads

  1. Can I move the ToolTip tip anchor graphic to midway down the tooltip?
    By jscolton in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 3 Mar 2011, 6:36 PM
  2. [FNR] [2.1.1 / 2.1.3] Tooltip bug and tooltip shadow issue in IE8
    By jonjanisch in forum Ext GWT: Bugs (2.x)
    Replies: 2
    Last Post: 21 Apr 2010, 8:15 AM
  3. Tooltip in CheckBox
    By lurodval in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 23 Jan 2009, 12:38 PM
  4. Replies: 0
    Last Post: 11 Dec 2008, 6:04 AM

Thread Participants: 3

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar