Last active
December 2, 2015 16:03
-
-
Save relyky/ddf34936203dda9c2237 to your computer and use it in GitHub Desktop.
VB6 Dialog Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'# 應用範例:欲執行的功能 | |
Dim dlgMenu As New DebugMenuDialog '功能說明:簡易的功能選單選取器。設計用於開發與 Debug 程式 | |
Dim ssSubCommand As String | |
dlgMenu.AddMenu "FOSM0040", "ChargeBack Requested Screen" _ | |
, "SEC" & Chr(9) & "FOSM0040" & Chr(9) & "功能名稱" & Chr(9) & "frmFOSM0040" & Chr(9) | |
dlgMenu.AddMenu "FOSM0050", "Write-Off Request Screen" _ | |
, "SEC" & Chr(9) & "FOSM0050" & Chr(9) & "功能名稱" & Chr(9) & "frmFOSM0050" & Chr(9) | |
dlgMenu.AddMenu "FOSX0090", "Create Sub System" _ | |
, "SEC" & Chr(9) & "FOSX0090" & Chr(9) & "功能名稱" & Chr(9) & "frmFOSX0090" & Chr(9) | |
ssSubCommand = dlgMenu.ShowDialog() | |
If ssSubCommand = "" Then '未選取功能選單。 | |
Exit Sub | |
End If | |
ssCommand = ssCommand & ssSubCommand ' to combine command | |
Set dlgMenu = Nothing 'release resource |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment