I tried using a class variable to set true via a button(Alarm.ResetAll := true), but i can only change it once then it remains false.
Is it possible to do something like this instead?
Thanks.
Code: Select all
;Example
Foreach instance in Alarm
{
instance.ResetAll()
}
class Alarm
{
ResetAll()
{
;Disable All Alarms
}
}