Hi:
In my Proofreading script, the eventhandler that I use to save
settings does not work as it should.
the code is as follows:
Function DialogEventHandler(dObj, dEvent, dId, dControl)
DialogEventHandler = False
        if Keyboard.KeyDescriberActive then
                silence
                exit function
        end if
        Select Case dId

                Case "button_yes"
                If dEvent = buttonClicked Then
                        activesettings.save
                        Speak mystrings("ActiveSettingsSaved")
                        DialogEventHandler = True
                        isVisible = 0
                        dObj.Close
                        Exit Function
                End If

                Case "button_no"
                If dEvent = buttonClicked Then
                        Speak mystrings("ActiveSettingsNotSaved")
                        DialogEventHandler = True
                        isVisible = 0
                        dObj.Close
                        Exit Function
                End If

        End Select
End Function

The problem is that the code in the "yes" case should save the
settings but it appears to do nothing.
I think that the "settings.save" command isn't working.
Is there a work-around for this?
Kevin Huber

Reply via email to