Ada kreasi lain soal msgbox. Coba gunakan script ini: Private Sub Command1_Click() With WizHook .Key = 51488399 .WizMsgBox "Bold Line @ @ Not So Bold Line", _ "The Caption", vbYesNo, 23, "Path To Some Help File" End With End Sub Atau ini: Private Sub Command2_Click() FormattedMsgBox "Wrong button!@This button doesn't work.@Try Another.", _ vbOKOnly + vbExclamation, "My Application" End Sub Dimana: Option Explicit Function FormattedMsgBox( _ Prompt As String, _ Optional Buttons As VbMsgBoxStyle = vbOKOnly, _ Optional Title As String = vbNullString, _ Optional HelpFile As Variant, _ Optional Context As Variant) _ As VbMsgBoxResult If IsMissing(HelpFile) Or IsMissing(Context) Then FormattedMsgBox = Eval("MsgBox(""" & Prompt & _ """, " & Buttons & ", """ & Title & """)") Else FormattedMsgBox = Eval("MsgBox(""" & Prompt & _ """, " & Buttons & ", """ & Title & """, """ & _ HelpFile & """, " & Context & ")") End If End Function Ini hanya copy paste... dari.. saya sudah lupa.. Semoga bisa membantu dan memberi semangat. Hariyanto (Surabaya) --- On Thu, 16/6/11, roland@alkitab.or.id <roland@alkitab.or.id> wrote:
|
__._,_.___
No comments:
Post a Comment