Need help in developing an editor in VB.net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • TC

    Need help in developing an editor in VB.net

    I have to develop a Movement Notation editor in Vb.net. The salient feature
    of this editor vis a vis a standard text editor is the following:

    1. The characters can be entered in any direction i.e left to right as well
    as top to bottom.

    This Movement Notation editing, till now, has been done by hand. I have
    uploaded a few manuscripts for your reference at:


    As you can see, the characters can form a variety of combinations.

    So, what construct in VB.net would allow me such a free form writing.
    Basically the user should be able to type something at any location. Also,
    how do I navigate within a cell (the square boxes in the manuscript) ? Once
    I am able to navigate, I can use the Microsoft GDI routines to print the
    character at the current cursor position (x,y).

    Can anyone help.

    Thanks
  • Cor Ligthert [MVP]

    #2
    Re: Need help in developing an editor in VB.net

    TC,

    Maybe you can get help in the drawing newsgroups, I doubt that you get it
    completely here.

    Cor

    "TC" <TC@discussions .microsoft.coms chreef in bericht
    news:A1CB7638-BD4B-428F-9ADC-2007147C66D4@mi crosoft.com...
    >I have to develop a Movement Notation editor in Vb.net. The salient
    >feature
    of this editor vis a vis a standard text editor is the following:
    >
    1. The characters can be entered in any direction i.e left to right as
    well
    as top to bottom.
    >
    This Movement Notation editing, till now, has been done by hand. I have
    uploaded a few manuscripts for your reference at:

    >
    As you can see, the characters can form a variety of combinations.
    >
    So, what construct in VB.net would allow me such a free form writing.
    Basically the user should be able to type something at any location.
    Also,
    how do I navigate within a cell (the square boxes in the manuscript) ?
    Once
    I am able to navigate, I can use the Microsoft GDI routines to print the
    character at the current cursor position (x,y).
    >
    Can anyone help.
    >
    Thanks

    Comment

    • TC

      #3
      Re: Need help in developing an editor in VB.net

      Cor,

      Does there exist any construct/control in VB such that whenever the user
      double clicks within it, I am able to retrieve the (x,y) coordinate of the
      'clicked' point.

      If that's possible, then my task becomes a lot easier. I can make the user
      enter the character in a dedicated text box, and then double click on the
      exact point within the cell. After the double click, I can use DrawString()
      to print the character at the desired location.

      Thanks,
      TC


      "Cor Ligthert [MVP]" wrote:
      TC,
      >
      Maybe you can get help in the drawing newsgroups, I doubt that you get it
      completely here.
      >
      Cor
      >
      "TC" <TC@discussions .microsoft.coms chreef in bericht
      news:A1CB7638-BD4B-428F-9ADC-2007147C66D4@mi crosoft.com...
      I have to develop a Movement Notation editor in Vb.net. The salient
      feature
      of this editor vis a vis a standard text editor is the following:

      1. The characters can be entered in any direction i.e left to right as
      well
      as top to bottom.

      This Movement Notation editing, till now, has been done by hand. I have
      uploaded a few manuscripts for your reference at:


      As you can see, the characters can form a variety of combinations.

      So, what construct in VB.net would allow me such a free form writing.
      Basically the user should be able to type something at any location.
      Also,
      how do I navigate within a cell (the square boxes in the manuscript) ?
      Once
      I am able to navigate, I can use the Microsoft GDI routines to print the
      character at the current cursor position (x,y).

      Can anyone help.

      Thanks
      >
      >
      >

      Comment

      • Cor Ligthert [MVP]

        #4
        Re: Need help in developing an editor in VB.net

        TC,

        That is just in the mouse events of the form.

        I think that a lot that you have asked is in this sample



        I hope this helps,

        Cor

        "TC" <TC@discussions .microsoft.coms chreef in bericht
        news:B9C7CACA-8E7F-4CE2-BD09-F1BBAFFBA1A0@mi crosoft.com...
        Cor,
        >
        Does there exist any construct/control in VB such that whenever the user
        double clicks within it, I am able to retrieve the (x,y) coordinate of the
        'clicked' point.
        >
        If that's possible, then my task becomes a lot easier. I can make the
        user
        enter the character in a dedicated text box, and then double click on the
        exact point within the cell. After the double click, I can use
        DrawString()
        to print the character at the desired location.
        >
        Thanks,
        TC
        >
        >
        "Cor Ligthert [MVP]" wrote:
        >
        >TC,
        >>
        >Maybe you can get help in the drawing newsgroups, I doubt that you get it
        >completely here.
        >>
        >Cor
        >>
        >"TC" <TC@discussions .microsoft.coms chreef in bericht
        >news:A1CB763 8-BD4B-428F-9ADC-2007147C66D4@mi crosoft.com...
        >I have to develop a Movement Notation editor in Vb.net. The salient
        >feature
        of this editor vis a vis a standard text editor is the following:
        >
        1. The characters can be entered in any direction i.e left to right as
        well
        as top to bottom.
        >
        This Movement Notation editing, till now, has been done by hand. I
        have
        uploaded a few manuscripts for your reference at:

        >
        As you can see, the characters can form a variety of combinations.
        >
        So, what construct in VB.net would allow me such a free form writing.
        Basically the user should be able to type something at any location.
        Also,
        how do I navigate within a cell (the square boxes in the manuscript) ?
        Once
        I am able to navigate, I can use the Microsoft GDI routines to print
        the
        character at the current cursor position (x,y).
        >
        Can anyone help.
        >
        Thanks
        >>
        >>
        >>

        Comment

        Working...