Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!julius.cs.uiuc.edu!rpi!uupsi!rodan.acs.syr.edu!goldberg From: goldberg@rodan.acs.syr.edu (Ross Goldberg) Newsgroups: comp.sys.amiga.tech Subject: SAS C examples needed for... Message-ID: <1990Dec9.170449.28439@rodan.acs.syr.edu> Date: 9 Dec 90 17:04:49 GMT Sender: goldberg@rodan.acs.syr.edu (Ross Goldberg) Distribution: usa Organization: Syracuse University, Syracuse, NY Lines: 30 I have looked on compuserve and genie (the 2 pay nets I have accounts on) and can't find what I am looking for there or in any of the books I have. I need a few pages of code which can do the following: On a custom window and screen, I need to be able to place a string at any Cursor position on the screen. I also need to be able to get a string of input starting from a cursor position. For example, let's say Name: John is located beginning at Row 4, Column 1. Now, if a new name is being entered, I want to cut out John (let's assume the max stringlenth of Name can be 15 characters although in this case it is currently 4 followed by 11 more spaces or nothings) and reposition the cursor where the letter J was so they can enter a new name, say Barney Rubble. In otherwords, Display Name: at 4,1 Display John at 4,8 When getting a command, say F1, to change the name, blank out the string at 4,8 which says John (maxlength = 15) and position the cursor for input at 4,8 for a max input of 15. I have not been able to do this but need to for a project. Also, if you know how to recognize a menu selection, please create a mini- menu and show perhaps selection of Change Name. I know how to create menus but do not know how to recognize selection of a menu item so as to act upon it. Many Thanks in Advance, Ross Goldberg