Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. How I can get the text from x,y coordinates?

How I can get the text from x,y coordinates?

Scheduled Pinned Locked Moved Visual Basic
helpquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marco2250
    wrote on last edited by
    #1

    Hi all. I'd search in the board how an can get text that is at the coordinate x,y (I have a flexgrid on external program and want to get the text of some row/column by its x,y coordinates). I didn't found nothing. Can someone help me? Please, help me. Thx in advance. Best Regards, Marco Alves.

    D D 2 Replies Last reply
    0
    • M Marco2250

      Hi all. I'd search in the board how an can get text that is at the coordinate x,y (I have a flexgrid on external program and want to get the text of some row/column by its x,y coordinates). I didn't found nothing. Can someone help me? Please, help me. Thx in advance. Best Regards, Marco Alves.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      You can't. The control has to export the functionality to do that, and it doesn't. There is no Win32 API calls you can make to easily force the text out of the control. An alternative would be to implement a kind of OCR (Optical Character Recognition) to read the text from a bitmap screenshot image.

      Dave Kreskowiak Microsoft MVP - Visual Basic

      1 Reply Last reply
      0
      • M Marco2250

        Hi all. I'd search in the board how an can get text that is at the coordinate x,y (I have a flexgrid on external program and want to get the text of some row/column by its x,y coordinates). I didn't found nothing. Can someone help me? Please, help me. Thx in advance. Best Regards, Marco Alves.

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        In C#, VB, Managed C++, or VC++?


        "Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.

        "Judge not by the eye but by the heart." - Native American Proverb

        M 1 Reply Last reply
        0
        • D David Crow

          In C#, VB, Managed C++, or VC++?


          "Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.

          "Judge not by the eye but by the heart." - Native American Proverb

          M Offline
          M Offline
          Marco2250
          wrote on last edited by
          #4

          In any language. If it is not possible, how I can get number of rows of a msflexgrid of a external program?

          D 1 Reply Last reply
          0
          • M Marco2250

            In any language. If it is not possible, how I can get number of rows of a msflexgrid of a external program?

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            See if this helps.


            "Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.

            "Judge not by the eye but by the heart." - Native American Proverb

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups