🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.learn.c-c++
Article #398

(fwd) Re: ---> How to set focus to one of the edit controls within one window? <--

#398
From: Charlie Wang
Date: Tue, 01 Dec 1998 16:38
30 lines
1884 bytes
 Here is my question:  how to set focus to one of the edit controls in one
 window using Borland C++ compiler 3.1?
              ^^^^^^^^^^^^^^^^^^^^^^^^
 
 Here is the job:  get the unique symbol from user, check if it's 
 in the database file.  If in the data file, fill the rest fields 
 with the info in the file; if not in the database file user fills 
 in the rest of the fields and get the database updated.
 
 ---------------------------------------
 |symbol   | field1  |field2  |field3  |
 ---------------------------------------
 |_        |         |        |        |
 ---------------------------------------
 
 Here is what I am doing:  create one row of cells (edit controls),
 prompt the user to the first edit box, get input, then prompt
 the second edit box. etc... till the user finishes the first
 row.  Then create the second row of cells, etc... till the user
 indicates the end of input.  Save the contents to a file, print
 out, and refresh the windows to the start. 
 
 Maybe there is a better, eassier way to do it?
 
 Could anyone help?

 Thank you.
 
 Charlie
 
Technical Details
Message-ID: <199812011638.JAA80114@gpu4.srv.ualberta.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
Status: RO
Received: from gpu4.srv.ualberta.ca (gpu4.srv.ualberta.ca [129.128.98.18])
 by altair.ucs.ualberta.ca (8.9.1a/8.9.1) with ESMTP id JAA23914
 for <cwang@maildrop.srv.ualberta.ca>; Tue, 1 Dec 1998 09:39:17 -0700 (MST)
Received: (from cwang@localhost)
 by gpu4.srv.ualberta.ca (8.8.5/8.8.5) id JAA80114
 for cwang; Tue, 1 Dec 1998 09:38:41 -0700
Date: Tue, 1 Dec 1998 09:38:41 -0700
Message-ID: <199812011638.JAA80114@gpu4.srv.ualberta.ca>
From: Charlie Wang <cwang@gpu.srv.ualberta.ca>
To: cwang@gpu4.srv.ualberta.ca
Subject: (fwd) Re: ---> How to set focus to one of the edit controls within one window? <--
Newsgroups: alt.comp.lang.learn.c-c++,comp.lang.c++
Organization: University of Alberta
Content-Type: text
Content-Length: 2418