Joined: 20 Mar 2009
|Posted: Thu Jul 09, 2009 1:07 am Post subject: XrowsetListener
I would like to have a listener on a grid control when a new row is added or inserted.
I've some experience with macro's but never tried to add an event listener, anybody that can help?
I have tried the following code:
oDocView = ThisComponent.Drawpage.Forms.getByName("FLivraisonMain").getByName("TCBonNr")
oNewRowHandler = CreateUnoListener("NewRow_", "com.sun.star.sdbc.XrowSetListener")
Function NewRow_rowChanged(oEvt) As Boolean
if MyApp_KeyPressed = True then