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

SRP ActiveX Controls 4.1.5

Just installed the latest ActiveX, something is broken, see screenshot.

Any ideas?


Comments

  • My best guess is that DataRow property is set to autosize or set to a small value for the height.

    Did you move to 4.1.5 from 4.1.4 or something earlier than that? Does it correct itself when you revert back?
  • Reverting did not fix it. I did install the new srp utility code. The following code is the issue:

    Font = Sys
    If Font Then
    Height = SRP_String("GetHeight", "ABCDEFGHIJKLMNOPQRSTUVWXYZ", Font, "99999")
    Call Set_Property(Obj, "OLE.HeaderFont[ALL;ALL]", Font)
    Array = Get_Property(OBJ, "OLE.HeaderRow[ALL]")
    Array<1> = Height
    Call Set_Property(OBJ, "OLE.HeaderRow[ALL]", Array)
    Call Set_Property(Obj,'OLE.CellFont[ALL;ALL]',Font)
    Array = Get_Property(OBJ, "OLE.DataRow[ALL]")
    Array<1> = Height
    Call Set_Property(OBJ, "OLE.DataRow[ALL]", Array)
    End

  • Height btw is 4.
  • edited April 2020
    I was using 2.0.6 of utility and 4.1.4 ocx. I switched back to 4.1.4 and that did not fix it. Not sure how to revert to an older version of utility.
  • Confirmed that this is a bug in SRP_String. I'll get you a fix ASAP.
  • Kevin, thank you.
  • How do I revert to an earlier version of the utility (2.0.6) so I can work in the interim?
  • I could give you a link to an older version, but I just got Utilities 2.1.2 released. You can download it now from the website.
  • Perfect, many thanks.
  • Thank you, that fixed it.
Sign In or Register to comment.