I am using the Dabo ClassDesigner to create a Main Form that has Quick
Action Buttons that can changed during the life of the application.
What I like to do is create a low level class called menuButton that I
can change any of my group buttons called QuickButtons.  One way is to
use the If elif:
 
  If QuickButton == 1:
      self.Form.QuickButton1.Caption = "Time Clock"
      self.Form.QuickButton1.Visible = True
  If QuickButton == 2:
      self.Form.QuickButton2.Caption = "Time Clock"
      self.Form.QuickButton2.Visible = True
  and ...........

  Is their a better way to do this?

Bob









_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to