Page 1 of 1

RadioButtom and CheckBox (Resolved)

Posted: Tue May 02, 2017 6:15 pm
by augustogomes
Good afternoon friends.


Is it possible to use tooltip in radiobuttom and checkbox? If possible how do I do it?

Grateful
Augusto

Re: RadioButtom and CheckBox

Posted: Tue May 02, 2017 7:49 pm
by karinha

Code: Select all

   REDEFINE CHECKBOX olPdfs VAR lPdfs ID 102 OF oDlg UPDATE COLORS CLR_HBLUE, CLR_WHITE;
            ON CHANGE MsgRun( "Aguarde, Mudando Status do PDF ",             ;
                              "Mudando o Status do PDF        ",             ;
                         { | oDlg | LIGA_DESLIGA_IMPRESSAO( oDlg ) } )

   olPdfs:cToolTip := OemToAnsi( "<Click-me> Para Desligar a Gera‡Æo " +    ;
                "Automatica do PDF da Nota Fiscal em "+ "Caso de LentidÆo." )

   REDEFINE CHECKBOX oPdfTelaSumatra VAR lPdfTelaSumatra ID 103 OF oDlg UPDATE;
            COLORS CLR_HBLUE, CLR_WHITE

   oPdfTelaSumatra:cToolTip := OemToAnsi( "<Click-me> Para Visualizar o " + ;
   "Arquivo *.PDF Usando o " + "SUMATRAPDF. Est  em: " + "C:\INST_NFE\SUMATRA" )

   REDEFINE CHECKBOX oPreview VAR lPreview ID 104 OF oDlg UPDATE COLORS CLR_HBLUE, CLR_WHITE

   oPreview:cToolTip := OemToAnsi( "<Click-me> Para Visualizar o Preview da Nfe Na Tela" )
 

Re: RadioButtom and CheckBox

Posted: Tue May 02, 2017 8:14 pm
by karinha

Code: Select all

   REDEFINE RADIO ORAD VAR OFIC ID 201,202,205 OF ODLG

   oDlg:aControls[ 1 ]:cTooltip:="radio 1..."
   oDlg:aControls[ 2 ]:cTooltip:="radio 2..."
   oDlg:aControls[ 3 ]:cTooltip:="radio 3..."
 

Re: RadioButtom and CheckBox

Posted: Tue May 02, 2017 9:23 pm
by augustogomes
Obrigado João dos Santos.

Deu certo
:D