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

CellMerge issue

I am doing a cell merge on a edit table with cell multi-lined turned on.

When the edit-table has focus, immediately after this property is set, changing cell positions causes a control flash and some extra stuff showing through.
Make the control lose focus, and regain focus, and the issue does not happen.

Screen shot:

Comments

  • I can't recreate this one with a simple use of CellMerge and Multilined. The screenshot indicates that the multilined popup is failing to custom render the window border, which is why it looks like a regular window. This pretty unusual. If this issue persists after restarting your machine, can you please email me the setup code for this table?
  • Kevin

    Seems it has more to do with the cell colour background.
    Code as sent to you previously can be adapted to make this happen, as below.
    You need to click around the table a bit to make it happen, or just click cell 1,1 and press the tab key again and again.

    Colin

    OLE_DESCTABLE=@WINDOW:".DESC_TABLE" SelectionStyle="" SelectionStyle<1,1>="" SelectionStyle<1,2>=123456 SelectionStyle<8>=1 TABLE="" TABLE<1,1>="MH" TABLE<1,2>="SH1" TABLE<1,3>="SH2" TABLE<1,4>="SH3" TABLE<1,5>="FD" CellColors="" CellColors<2>="LightBlue" Qualifier=1:@FM:"2*ICEPAC*OLE*":OLE_DESCTABLE Call Send_Message(OLE_DESCTABLE,"QUALIFY_EVENT","ALL_OLES",Qualifier) Call Set_Property(OLE_DESCTABLE,"OLE.Redraw",0) Call Send_Message(OLE_DESCTABLE,"OLE.DeleteColumns",1,2) Call Send_Message(OLE_DESCTABLE,"OLE.InsertColumns",1,6) Call Set_Property(OLE_DESCTABLE,"OLE.NewRowCount",0) Call Set_Property(OLE_DESCTABLE,"OLE.AllowDeletions",0) Call Set_Property(OLE_DESCTABLE,"OLE.AllowInserts",0) Call Set_Property(OLE_DESCTABLE,"OLE.ResetSelPos",0) Call Set_Property(OLE_DESCTABLE,"OLE.CellColors[All;All]",CellColors) Call Set_Property(OLE_DESCTABLE,"OLE.SuppressMouseMoveEvent",1) Call Set_Property(OLE_DESCTABLE,"OLE.CellProtection[1;All]","SEL") Call Set_Property(OLE_DESCTABLE,"OLE.CellMultilined[All;All]",1) Call Set_Property(OLE_DESCTABLE,"OLE.HeaderColumn[1]",0:@FM:0) Call Set_Property(OLE_DESCTABLE,"OLE.HeaderRow[1]",0:@FM:0) Call Set_Property(OLE_DESCTABLE,"OLE.CellEditMode[2;All]","E":@FM:"I") Call Set_Property(OLE_DESCTABLE,"OLE.DataColumn[1]",100:@FM:1:@FM:1:@FM:0:@FM:0) Call Set_Property(OLE_DESCTABLE,"OLE.DataColumn[2]",100:@FM:1:@FM:1:@FM:0:@FM:0) Call Set_Property(OLE_DESCTABLE,"OLE.DataColumn[3]",100:@FM:1:@FM:1:@FM:0:@FM:0) Call Set_Property(OLE_DESCTABLE,"OLE.DataColumn[4]",100:@FM:1:@FM:1:@FM:0:@FM:0) Call Set_Property(OLE_DESCTABLE,"OLE.DataColumn[5]",100:@FM:1:@FM:1:@FM:0:@FM:0) Call Set_Property(OLE_DESCTABLE,"OLE.DataColumn[6]",100:@FM:1:@FM:1:@FM:0:@FM:0) Call Set_Property(OLE_DESCTABLE,"OLE.DataRow[1]",50:@FM:1:@FM:1:@FM:0:@FM) Call Set_Property(OLE_DESCTABLE,"OLE.DataRow[2]",50:@FM:1:@FM:1:@FM:0:@FM) Call Set_Property(OLE_DESCTABLE,"OLE.DataRow[3]",50:@FM:1:@FM:1:@FM:0:@FM) Call Set_Property(OLE_DESCTABLE,"OLE.DataRow[4]",50:@FM:1:@FM:1:@FM:0:@FM) Call Set_Property(OLE_DESCTABLE,"OLE.DataRow[5]",50:@FM:1:@FM:1:@FM:1:@FM) Call Set_Property(OLE_DESCTABLE,"OLE.Array",TABLE) Call Set_Property(OLE_DESCTABLE,"OLE.CellType[1;All]","PUB") Call Set_Property(OLE_DESCTABLE,"OLE.CellPadding[1;All]",5:@FM:5:@FM:5:@FM:5) RETURN 1
  • You're right. It had to do with background color. This has been fixed for next release.
Sign In or Register to comment.