:blink: كودي واقف فالسطر الاحمر
بسبب تعريف متغير جملة select الخاص بي مفتاح او فهرس زر شريط الأدوات
نرجوا المساعدة
------------------------
Sub min2() Dim id As Index Select Case Toolbar1.Buttons(id) Static i As Integer Case Is = "1" i = (i + 1) Mod 2 If i = 1 Then DiscountCards.Show Else DiscountCards.Hide End If Case Is = "2" i = (i + 1) Mod 2 If i = 1 Then EL.Show Else EL.Hide End If End Select End Sub
