Caption = "Le ""HelpContextID"" de cette feuille = 0 Le ""HelpContextID"" du Bouton1 = 1 Le ""HelpContextID"" du Bouton2 = 2 Le ""HelpContextID"" du Quitter = 0"
FontBold = -1 'True
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 13.5
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H0000FFFF&
Height = 1545
Index = 1
Left = 1110
TabIndex = 4
Top = 2190
Width = 5505
End
Begin Label Etiquette1
Alignment = 2 'CentrΘ
BackColor = &H00FF0000&
BorderStyle = 1 'Trait simple fixe
Caption = "DΘmonstration de rΘalisation d'un fichier d'aide (.HLP) pour un projet Visual Basic"
FontBold = -1 'True
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 24
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00FFFF00&
Height = 1755
Index = 0
Left = 510
TabIndex = 2
Top = 240
Width = 6765
End
Begin Menu Menu
Caption = "Menu"
Begin Menu SousMenu
Caption = "Bouton 1"
HelpContextID = 1
Index = 0
End
Begin Menu SousMenu
Caption = "Bouton 2"
HelpContextID = 2
Index = 1
End
Begin Menu SousMenu
Caption = "-"
Index = 2
End
Begin Menu SousMenu
Caption = "Quitter"
Index = 3
End
End
End
Option Explicit
Dim Msg$, LN$
Sub Commande2_CLick ()
Feuille2.Show 1
End Sub
Sub Commande3_CLick ()
End
End Sub
Sub Form_Load ()
LN = Chr$(10)
Msg = "DΘmonstration de rΘalisation d'un fichier d'aide (.HLP)" & LN
Msg = Msg & "pour un projet Visual Basic"
Etiquette1(0).Caption = Msg
Msg = "Le ""HelpContextID"" de cette feuille = 0" & LN
Msg = Msg & "Le ""HelpContextID"" du Bouton1 = 1" & LN
Msg = Msg & "Le ""HelpContextID"" du Bouton2 = 2" & LN