top of page

INSERTAR TOOLTIP

Código para asignar un TOOLTIP a un control especifico.

using System.IO;
using System;

using System.Windows.Forms;

private void AgregarTOOLTIPS(Control control,string elTip)
        {
           
ToolTip toolTip1 = new ToolTip();

            // Retardos para  ToolTip.
            toolTip1.AutoPopDelay = 5000;
            toolTip1.InitialDelay = 1000;
            toolTip1.ReshowDelay = 500;

            // Forzar el tool tip a que se muestre aun si el control esta inactivo.
            toolTip1.ShowAlways = true;
            toolTip1.SetToolTip(control, elTip);

            
        }

bottom of page