You are on page 1of 1

Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.

Button)
Select Case Button.Index
Case 2 'Student Record Form
mnuStudent_Click
Case 3 'Year Level Form
mnuLevel_Click
Case 4 'Fees Form
mnuFees_Click
Case 5 'Discount Form
mnuDiscount_Click
Case 7 'User Accounts Form
mnuUsers_Click
Case 9 'Payment Form
mnuPaymentForm_Click
End Select
End Sub
Private Sub Toolbar1_ButtonMenuClick(ByVal ButtonMenu As MSComctlLib.ButtonMenu)
Select Case ButtonMenu.Text
'List of students
Case "Student List"
frm_stud_list.Show vbModal
'Finacial report
Case "Financial Report"
Call FinancialReport
'Student with balance
Case "List of students w/ balance"
mnuStudWithBalance_Click
'List of paind students
Case "List of paid students"
Call mnuPaid_Click
Case "Discount Report"
mnuDiscountReport_Click
Case "Transaction Report"
Call mnuTransactionReport_Click
Case "Statement of Account"
mnuStatementofAccount_Click
End Select
End Sub

You might also like