Announcement

Collapse
No announcement yet.

function setButton(needsInput)

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

  • function setButton(needsInput)

    Why do I need to sometimes need to include a variable in the () and sometimes I don't?

    tradeToggleButtonsFreeze(nToggleButtons) works, but

    tradeToggleButtonsFreeze() doesn't.

    Any ideas?

  • #2
    Dave,

    I believe tradeToggleButtonsFreeze(nToggleButtons) passes a variable to function tradeToggleButtonsFreeze() which has to do with the mouse button you just pressed.

    button example

    Although, I think I would have to see it in the context you are using it, it does look familiar though...

    Regards,
    Last edited by Guest; 01-27-2004, 06:49 PM.

    Comment


    • #3
      Dave,

      Actually, it depends if you are calling that function ( tradeToggleButtonsFreeze(nToggleButtons); ), or that is the function ( function tradeToggleButtonsFreeze(nToggleButtons){...} )

      Comment

      Working...
      X