Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

Edittable cellType Option - onOptionClick not firing

I'm working in OI10 and the 64 bit version of SRP controls and I ran into a problem I am trying to solve. I have a setup SRP edittable where all of the cells are set to read only. When the user clicks a checkbox on the screen, I update some of the cells to be option types.
for example, for almost every row in a column I would do the following calls in a loop:
Call Set_Property(OLECtrlEntID, "OLE.CellType[":Col:";":I:"]", "Option")
Call Set_Property(OLECtrlEntID, "OLE.CellProtection[":Col:";":I:"]", "None")
Call Set_Property(OLECtrlEntID, "OLE.CellConv[":Col:";":I:"]", "":@FM:@FM:@FM:@FM:@FM:1)

The cell becomes editable and I can manually modify the value and it verifies, but the option event doesn't seem to work.
I do some qualifies before the user can switch and I can intercept the rest with calls as follows:
Call Send_Message(OLECtrlEntID, "QUALIFY_EVENT", "OLE.OnClick", 1)

* multiselect events
Call Send_Message(OLECtrlEntID, "QUALIFY_EVENT", "OLE.PosChanging", 1)
Call Send_Message(OLECtrlEntID, "QUALIFY_EVENT", "OLE.OnCheckChanged", 1)
Call Send_Message(OLECtrlEntID, "QUALIFY_EVENT", "OLE.OnMouseMove", 1)
Call Set_Property(OLECtrlEntID, "OLE.SuppressMouseMoveEvent", 1)

* planning mode events
Call Send_Message(OLECtrlEntID, "QUALIFY_EVENT", 'OnOptionClick', 1)
Call Send_Message(OLECtrlEntID, "QUALIFY_EVENT", 'BeforeUpdate', synch_event)
Call Send_Message(OLECtrlEntID, "QUALIFY_EVENT", 'AfterUpdate', 1)

Am I possibly missing a step that makes the OnOptionClick fire when I try and click the option button? Perhaps a new step that is needed in 64 bit that we weren't using in 32 bit. I notice that when I click on the option the button doesn't seem to depress either, like I am not allowed to press the button. Don't know if that helps


  • I'm looking into this. We've discovered a similar issue in OI 9 with EditTable buttons. They aren't responding to left clicks but are responding to right clicks. I'll get back to you with a fix as soon as I can.
  • I want to let you know that I have not dropped the ball on this. My silence is an indication of the many days I've put into tracking this issue down, yet it is proving wildly elusive. There seems to some conflict between the table's use of the Win64 API and OIX's presentation server. I will continue to investigate, but be prepared for any fix to be a long ways out.
  • I appreciate the update! We'll move forward with what we're working on with this knowledge in the meantime. Thank you for looking into this.
Sign In or Register to comment.