USUÁRIO:      SENHA:        SALVAR LOGIN ?    Adicione o VBWEB na sua lista de favoritos   Fale conosco 

 

  Fórum

  Visual Basic
Voltar
Autor Assunto:  WhatThisButton
¨Hennyere¨
Pontos: 2843
SALVADOR
BA - BRASIL
Postada em 09/05/2006 19:22 hs         
Defini a propriedade WhatThisButton do meu Form = True, + ñ sei como funciona este botão?
 
Alguém tem alguma dica?
     
Daniel
Pontos: 2843
SÃO PAULO
SP - BRASIL
Postada em 10/05/2006 08:48 hs            
a explicação do MSDN é:

Returns or sets a value that determines whether the What's This button appears in the title bar of a Form object. Read-only at run time.

Syntax

object.WhatsThisButton

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Settings

The settings for the WhatsThisButton property are:

 

setting                  Desciption

true                      turns display of the what's this help button on

false                     (defaul)turns display of th What's this Hep button off


Remarks

The WhatsThisHelp property must be True for the WhatsThisButton property to be True. In addition, the following properties must also be set as shown:

  • ControlBox property = True

  • BorderStyle property = Fixed Single or Sizable

  • MinButton and MaxButton = False

    – Or –

  • BorderStyle property = Fixed Dialog

dsmn
     
¨Hennyere¨
Pontos: 2843
SALVADOR
BA - BRASIL
Postada em 10/05/2006 16:53 hs         
Como ficaria isto na prática?
     
¨Hennyere¨
Pontos: 2843
SALVADOR
BA - BRASIL
Postada em 12/05/2006 02:47 hs         
aINDA NÃO CONSEGUI USAR ESTE BOTÃO!
     
ghost_jlp
Pontos: 2843 Pontos: 2843 Pontos: 2843 Pontos: 2843
SÃO PAULO
SP - BRASIL
Postada em 12/05/2006 09:14 hs            
Eu tb vi esse artigo e não consegui entender muito bem... eu consegui usar o WhatsThisHelp ...
Bom, consegui usar assim...
vc seta no form WhatsThisButton como true e tb o WhatsThisHelp tb fica true... por exemplo:
 
 
Num botão de comando coloque WhatsThisHelpID = 1
No form vc coloca WhatsThisButton = true. Automaticamente o WhatsThisHelp tb fica true. Depois no evento click do botão vc coloca assim:
 
Private Sub Command1_Click()
   Command1.ShowWhatsThis
End Sub
 
Vai aparecer um Tooltiptext como tópico de ajuda... só q como não associei nada então vai aparecer "nenhum tópico de ajuda relacionado".
 
se quiser ver um outro exemplo do WhatsThisHelp dê uma olhada em
 
tentei... :(
 
t+
TÓPICO EDITADO
   
Página(s): 1/1    

CyberWEB Network Ltda.    © Copyright 2000-2025   -   Todos os direitos reservados.
Powered by HostingZone - A melhor hospedagem para seu site
Topo da página