The Clip property doesn't work correctly. The left-bottom cell is not pasted. There is a Ctrl+C/Ctrl+V example on the GIF below. I tried to use my own ClipboardText routine with the Clip property and got the same result.
Code:Private Sub Form_Load() Dim i As Integer With FlexGrid1 .FocusRect = FlexFocusRectNone .FillStyle = FlexFillStyleRepeat .AllowUserEditing = True .AutoClipboard = True ' AutoClipboard .Cols = 4 .Rows = 1 For i = 1 To 50 .AddItem i & vbTab & "Name " & i & vbTab & i * 100 & vbTab & "text" Next i .TextArray(0) = "ID" .TextArray(1) = "NAME" .TextArray(2) = "SUM" .TextArray(3) = "DESCR" End With End Sub Private Sub Command1_Click() ' This is my own routine, which FlexGrid1.Clip = ClipboardText ' works with the same results End Sub




Reply With Quote