Computer Science Canada how to do copying and pasting and also how to make a cursor |
Author: | arun95 [ Mon Jan 17, 2011 4:58 pm ] | ||
Post subject: | how to do copying and pasting and also how to make a cursor | ||
What is it you are trying to achieve? I am trying to add a cursor and im trying to do a copy and paste because this is an exam. As my exam, I am doing a word processor What is the problem you are having? I am really confused on how to create a cursor and do copying and pasting. I want to do this with the keyboard not mouse. I REALLY need help because my exams due in about 2 days and I have no clue what I am doing Describe what you have tried to solve this problem <Answer Here> Post any relevant code (You may choose to attach the file instead of posting the code if it is too long) <Answer Here>
Please specify what version of Turing you are using <Answer Here> |
Author: | Tony [ Mon Jan 17, 2011 5:13 pm ] |
Post subject: | Re: how to do copying and pasting and also how to make a cursor |
arun95 @ Mon Jan 17, 2011 4:58 pm wrote: ...this is an exam...
Describe what you have tried to solve this problem <Answer Here> ಠ_ಠ Perhaps the first step would be to use some simple word processor (a text field in a form such as this will do), and use it for a while, until you start getting ideas of what needs to be done. |
Author: | arun95 [ Mon Jan 17, 2011 5:18 pm ] |
Post subject: | Re: how to do copying and pasting and also how to make a cursor |
we're allowed to get help, and what do u mean ? |
Author: | Tony [ Mon Jan 17, 2011 5:27 pm ] |
Post subject: | RE:how to do copying and pasting and also how to make a cursor |
You have existing applications available to them. Use them to figure out the steps that they do to perform the same action; then instead of bad questions such as "how do I do _everything_?" you can ask more specific questions, such as "Give that I've already selected N characters, how do I update the screen when I add the (N+1)th character to the selection?" (to which the naive answer is -- clear the screen and redraw everything) |
Author: | arun95 [ Mon Jan 17, 2011 5:28 pm ] |
Post subject: | Re: how to do copying and pasting and also how to make a cursor |
im really confused on how to draw the cursor on my program? i know it has to use maxcol, and maxrow but im not sure how to use it |
Author: | arun95 [ Mon Jan 17, 2011 5:46 pm ] |
Post subject: | RE:how to do copying and pasting and also how to make a cursor |
an example would be appreciated |
Author: | Tony [ Mon Jan 17, 2011 10:10 pm ] |
Post subject: | RE:how to do copying and pasting and also how to make a cursor |
There are some examples here -- Draw.FillBox |