mardi 3 juillet 2007

KB Item: UIMaster.RUICenter.Dirty = False property does not disable buttons

Detail
The "UIMaster.RUICenter.Dirty = False" property does not disable the Save & Apply buttons.
------------------------------ 
Resolution
A workaround is available as below:

1) Define ClearDirtyFlagDelayed sub in the event handler itself or in a global script as per the code sample below:

Sub ClearDirtyFlagDelayed()
Dim strCommand
strCommand = "RUIMaster.RUICenter.Dirty = False"
UIMaster.Window.SetTimeOut strCommand, 300, "VBScript"
End Sub

2) Place a call to ClearDirtyFlagDelayed sub in the event handler instead of the statement UIMaster.RUICenter.Dirty = False
 

Aucun commentaire: