Results 1 to 40 of 1650

Thread: VBFlexGrid Control (Replacement of the MSFlexGrid control)

Threaded View

  1. #11
    Addicted Member
    Join Date
    May 2022
    Posts
    144

    Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)

    Hi all, a new question (is not a problem with the grid itself), it's only to know the best way to do it.

    I have a grid with .... 200 lines

    I want to "auto select" 50 of them, via clipboard. I mean, i have a list with this 50 items to search at the grid, find and select them.

    Actually i'm pasting the list on another grid and with a loop searching for the items on the first grid.

    Is there any way to just drag a file (a txt with the items, one on each line) for example and select this? what event must i use fot this ?

    Thanks !!!

    For any who searchs something similar:

    Event: BeforeClipboardAction

    Code:
    If Action = FlexClipboardActionPaste Then
    Tcop = Clipboard.GetText  
    
    'do what you need 
    
    Cancel = True
    end If

    it's perfect.

    thanks!
    Last edited by Calcu; Nov 22nd, 2023 at 04:07 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width