Announcement

Collapse
No announcement yet.

buttons to turn on/off alerts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • buttons to turn on/off alerts

    I hv added 2 buttons so I can use them to turn on/off the sound alerts when the close price goes up/down the LSMA. However, they don't change from "OFF" to "ON" when I press the button. Would someone pls help?

    Last edited by Richard Yu; 01-17-2005, 09:02 AM.

  • #2
    the EFS file
    Attached Files

    Comment


    • #3
      Richard,

      I made your button drawing section a function located outside main. Where your drawing steps had been, I simply called the function. Then, in the functions that change the text, I call that function which will then re-draw the buttons.

      Please try it out and let me know if it works good for you. Thanks for posting the code, it makes troubleshooting so much easier.
      Attached Files

      Comment

      Working...
      X