Reputation: 2018
What could prevent PostOpen code to run, when the form is opened with @dialogbox ?
Users using the Basic version of Notes 8.5.1 get the code running, I got 2 computers with Release 8.5.1 Standard version (also 8.5.3) don't.
I got a form with
Sub Postopen(Source As Notesuidocument)
Msgbox "hello postopen"
End Sub
In an other form I have a @formula hotspot
@DialogBox( "dlgForm" ; [NoNewFields] :[AutoHorzFit] : [SizeToTable] ; "some text" )
Except this i didn't notice anything strange on the two computers that don't run postopen.
If no reason exists, what do you suggest? Removing bookmark (no success), resetting Notes.ini, reinstall Notes ?
Upvotes: 0
Views: 422
Reputation: 1984
So far I know, the event PostOpen always run even if you are opening the form as a dialog box. Maybe, if you want to test it, instead use MsgBox
, use:
Sub Postopen(Source As Notesuidocument)
Print "Here's PostOpen!"
End Sub
The text will be on the status bar
Upvotes: 0
Reputation: 720
SPR# TGUZ8N6L54 V90: Events of a form shown in a dialogbox in Notes Client don't fire if Designer Client is open. Msgbox from a dialogbox should not be a problem -- that's not the issue.
Upvotes: 2