Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Multi-select crashes OI
Setting MultiSelect=2 causes the control and OI to crash when you do a shift-click to select.
It might take a few attempts to make it happen.
For now I have reverted back to MultiSelect=1 which behaves fine
It might take a few attempts to make it happen.
For now I have reverted back to MultiSelect=1 which behaves fine
Comments
I tested your the MultiSelect property in an app that I have and all three values work without crashing. I clicked around several times. I'm using a newer pre-release version (4.1.0 RC2). I don't know if this will solve your issue but I think it would be worthwhile if you download and tested it first. If it still crashes, then there must be something unique in your setup configuration and we'll probably need you to send us more code. You can download 4.1.0 RC2 from this link:
SRPControls.ocx
Problem still arises, got a little empty SRP error dialog as well.
I had to click quite a few times though maybe click, shift-click 30 or 40 times.
Code used is below, with Multiple=2
CALL Set_Property(OLE_TABLE,"OLE.AlwaysShowSelection",1)
CALL Set_Property(OLE_TABLE,"OLE.ColumnList",ColumnList)
CALL Set_Property(OLE_TABLE,"OLE.GroupPanelVisible",0)
CALL Set_Property(OLE_TABLE,"OLE.GroupOrder","")
CALL Set_Property(OLE_TABLE,"OLE.GroupRowsShaded",1)
CALL Set_Property(OLE_TABLE,"OLE.GroupRowsBold",1)
CALL Set_Property(OLE_TABLE,"OLE.FooterVisible",0)
CALL Set_Property(OLE_TABLE,"OLE.HeaderVisible",1)
CALL Set_Property(OLE_TABLE,"OLE.PreviewMode",1)
CALL Set_Property(OLE_TABLE,"OLE.MultiSelect",Multiple)
CALL Set_Property(OLE_TABLE,"OLE.Border","XF")
CALL Set_Property(OLE_TABLE,"OLE.BackColor","White")
CALL Set_Property(OLE_TABLE,"OLE.FixedRowHeight",18)
The column setups are just code and desc in most cases, the facility is in a generic popup replacement, fraction of which is below.
I am happy to show on GotoMeeting if you want to see it in action.
ColumnList=""
Title=""
BEGIN CASE
CASE TableName="ACTIVITIES"
Title="Project Activities Page Setups"
ColumnList<-1>="Code" :@VM:"Text" :@VM:"200":@VM:0:@VM:1:@VM:"":@VM:1:@VM:1
ColumnList<-1>="Description" :@VM:"Text" :@VM:"400":@VM:1:@VM:1:@VM:"":@VM:1:@VM:1
CASE TableName="AQ_PAGE_SETUPS"
Title="Approx Quantities Page Setups"
ColumnList<-1>="Code" :@VM:"Text" :@VM:"200":@VM:0:@VM:1:@VM:"":@VM:1:@VM:1
ColumnList<-1>="Description" :@VM:"Text" :@VM:"400":@VM:1:@VM:1:@VM:"":@VM:1:@VM:1
CASE TableName="CP_PAGE_SETUPS"
Title="Cost Plan Page Setups"
ColumnList<-1>="Code" :@VM:"Text" :@VM:"200":@VM:0:@VM:1:@VM:"":@VM:1:@VM:1
ColumnList<-1>="Description" :@VM:"Text" :@VM:"400":@VM:1:@VM:1:@VM:"":@VM:1:@VM:1