Home All Groups Group Topic Archive Search About

Need help in developing an editor in VB.net

Author
8 Nov 2006 2:39 AM
TC
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:
http://c.discussions.googlepages.com/home

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

Author
8 Nov 2006 5:58 AM
Cor Ligthert [MVP]
TC,

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

Cor

Show quoteHide quote
"TC" <T*@discussions.microsoft.com> schreef in bericht
news:A1CB7638-BD4B-428F-9ADC-2007147C66D4@microsoft.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:
> http://c.discussions.googlepages.com/home
>
> 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
Author
8 Nov 2006 6:45 PM
TC
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


Show quoteHide quote
"Cor Ligthert [MVP]" wrote:

> TC,
>
> Maybe you can get help in the drawing newsgroups, I doubt that you get it
> completely here.
>
> Cor
>
> "TC" <T*@discussions.microsoft.com> schreef in bericht
> news:A1CB7638-BD4B-428F-9ADC-2007147C66D4@microsoft.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:
> > http://c.discussions.googlepages.com/home
> >
> > 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
>
>
>
Author
9 Nov 2006 4:38 AM
Cor Ligthert [MVP]
TC,

That is just in the mouse events of the form.

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

http://www.vb-tips.com/dbpages.aspx?ID=72f58d3f-2cb5-4d51-b148-a2eda88e06ee

I hope this helps,

Cor

Show quoteHide quote
"TC" <T*@discussions.microsoft.com> schreef in bericht
news:B9C7CACA-8E7F-4CE2-BD09-F1BBAFFBA1A0@microsoft.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" <T*@discussions.microsoft.com> schreef in bericht
>> news:A1CB7638-BD4B-428F-9ADC-2007147C66D4@microsoft.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:
>> > http://c.discussions.googlepages.com/home
>> >
>> > 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
>>
>>
>>