gettingstarted
[Top] [All Lists]

Coding in an Editfield

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Coding in an Editfield
From: Wayne Dreier <realbasicnovice at MacDialUp dot com>
Date: Sun, 30 May 2004 16:53:09 -0400
Delivered-to: gettingstarted at lists dot realsoftware dot com
List-help: <mailto:gettingstarted-request@lists.realsoftware.com?subject=help>
List-id: Getting Started <gettingstarted.lists.realsoftware.com>
List-post: <mailto:gettingstarted@lists.realsoftware.com>
In its simplest form I want to have an application with two editfields, Editfield1 I would type a name. As I type, I want editfield2 to display information (a number for each character) as I type it in.

Use my name as an example. When I type W in editfield1, I want the corresponding number to W to immediately appear in editfield2. Next when I type a in ef1, the corresponding number for a should immediately appear in ef2 as the second digit (IOW, I don't want to have the number for W disappear). When finished I should have Wayne in ef1 and a 5 digit number in ef2.

I understand how I might make this work by adding a button to the window which I would click after entering Wayne in ef1. But I want it to happen without any extra clicking.

I just don't know where I would put the code in an editfield and secondly which editfield; ef1 or ef2 or do I need code in both and if so where?

Wayne Dreier
Using OS X 10.3.3
Using RB 5.5.2
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>