Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stoping All Functions From Toolbar
#15
Gintaras Wrote:
Mr____B Wrote:Window Functions 2:mac "Function2" "" GetWindow(TriggerWindow GW_OWNER)
Window Functions3 :mac "Function3" "" GetWindow(TriggerWindow GW_OWNER)
Window Functions 4:mac "Function1" "" GetWindow(TriggerWindow GW_OWNER)
Stop Functions On Window:SetProp(GetWindow(TriggerWindow GW_OWNER) "Function1" 0)
Stop Functions On Window:SetProp(GetWindow(TriggerWindow GW_OWNER) "Function2" 0)
Stop Functions On Window:SetProp(GetWindow(TriggerWindow GW_OWNER) "Function3" 0)

i could do it this way, but i dont want to have 10 buttons to stop just 1 function get my drift?

It does not stop all functions because you use different strings ("Function1", "Function2", ...) with SetProp/GetProp. Use single string everywhere. It can be any string.
ok ty bro, ill try it out and get back to u, so it looks like this?
Code:
Copy      Help
Stop Functions On Window:SetProp(GetWindow(TriggerWindow GW_OWNER) "Function3""function2" 0)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)