🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.amiga.tech
1 messages
1 total messages Started by Ross Goldberg Sun, 09 Dec 1990 17:04
SAS C examples needed for...
#7304
Author: Ross Goldberg
Date: Sun, 09 Dec 1990 17:04
30 lines
1827 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads