1. text box

Hello,
hello I am writing a program that has multiple users on it, and I want
to make a page were they can creat a new profile or modify there own.
I want it to have multiple text boxs that you can click to enter diffent
field. like the one's that are on the internet. does any body have any
ideas on how to do this? the mouse part is easy but what if they want to
go back and insert some letters in a field that already has leters in
it, how would I go about keeping track of all the letters they delete or
insert?
I know this can be done becaue the GUI ED does it, and I looked through
the source code and I still could not figure it out.

Therories, guesses,examples, 2 cents worth, are all welcomed.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » topic index » view message » categorize

2. Re: text box

"DeBigMan" wrote:

> I want it to have multiple text boxs that you can click
> to enter diffent field. like the one's that are on the
> internet.


Take a look in the Euphoria Archives, at:

   http://members.aol.com/FilesEu/exestuff.htm

If you want to understand how a simple editor might work, look in the
User Interfaces section.

[Simple User Input Routine]

This implements a basic one line edit, with backspace keys and so on.
It's about as simple an editor as you can write, so it's a good starting
place.

Once you understand how the simple input routine works, you can start
adding features, until it does what you want it to. Or...

[Dialog Editor]

The Dialog Editor has a more sophisticated line editor, and a number of
other controls (lists, etc). It also has a visual screen designer that
lets you lay out code, and create dialogs. It shouldn't be that tough to
figure out.

Those are some good places to start. If I were to write the TextGUI
again, I'd do it much differently, now that Euphoria supports callbacks
(using routine_id).

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu