Subject: RE: How to programmatically click a button via LotusScript?
Assume we have a form…in which we have a button called “testing”.I will call an agent in this button…which does creating a form with print statements as follows:str= “Test?CreateDocument”
Subject: How to programmatically click a button via LotusScript?
According to designer help, “A Button object has no properties or methods.” You can’t call that click event with LS - it is only instantiated in the user interface when the user clicks. You’ll have to put your javascript code somewhere else. What exactly are you trying to accomplish?
Subject: RE: How to programmatically click a button via LotusScript?
What i’m trying to accomplish?
here it goes…
This is in Notes client, I have an applet in my form like VB.net datagrid. When the user double-clicks an item (row) in that grid, it will kick a JavaScript function. This JavaScript function fires a button which contains LotusScript codes (display dialogbox - ws.dialogBox() - to edit the selected entry in the applet). This works fine.
Now, when the user clicks OK, data changes made should be passed back to the applet to display the changes, and this could be done via JavaScript.