Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
How to create a new record and edit it in srp editor via basic+
I can open the editor and trigger the new record menu option Ok. Next I want to insert text into the record. Kevin sent me info on using
Send_Message(Ctrl, "OLE.InsertText", Text, SelStart, SelEnd)
to do the heavy lifting.
My question is, how do I determine the value of CTRL.
Send_Message(Ctrl, "OLE.InsertText", Text, SelStart, SelEnd)
to do the heavy lifting.
My question is, how do I determine the value of CTRL.
Comments
Presumably you can figure out the value of @Window using the MDIACTIVE property. The control is OLE_EDITOR. Is that sufficient?