DIRECT INPUT/EDITING FROM A FORM

I HAVE A NEED TO PRODUCE A "FORM" SCREEN WITH "SLOTS" OR "BOXES" FOR INPUT OF DATA. TYPICALLY, MY APPLICATIONS HAVE 5 TO 8 COLUMNS (ARRAYS) WHICH REPRESENT (PER LINE)A GIVEN OBJECT (OBJECT NUMBER, NAME, POWER REQUIREMENTS, AND SO ON). I WANT TO PRINT THE SCREEN THEN BE ABLE TO USE A MOUSE CLICK TO SELECT A "SLOT" OR BOX PRIOR TO ENTERING THE DATA IN THE "SLOT" OR BOX AND HAVING THE DATA ENTRY APPEAR IN THE BOX AND IN THE SELECTED LOCATION IN THE SELECTED ARRAY. I ALSO WANT TO BE ABLE TO EDIT USING THE SAME SCREEN AND TECHNIQUES (OR SIMILAR TECHNIQUES).

WHAT TECHNIQUES ARE AVAILABLE IN TRUE BASIC TO ACCOMPLISH THE SOUGHT-AFTER FUNCTIONALITY AND ARE THERE EXAMPLE SUBROUTINES OR SUBPROGRAMS WHICH ILLUSTRATE THIS CAPABILITY? IS THIS CAPABILITY AVAILABLE IN "BRONZE", "SILVER", OR "GOLD"? WHAT ABOUT TBilt?--- WHICH SEEMS NOT TO PROVIDE ANY HELP OR GUIDANCE ON THIS ISSUE, ALTHOUGH I EXPECT THE SOLUTION MIGHT BE PRESENT.

WITH REGARDS,

ARGYLEHILL

ADDED 23/Mar/2009:

THE INPUT DATA IS SIMPLE. THE PROCESSING IN MANY OF THESE APPLICATIONS IS VERY COMPLEX--INVOLVING COMPLEX VARIABLES, INVERSION OF MATRICES, EXTRACTION OF EIGENVALUES, CONSTRUCTION OF EIGENVECTORS, COMPLEX INTEGRATION, AND SO ON. ONLY THE INPUT IS SIMPLE IN MOST.

WITH REGARDS,

ARGYLEHILL

Comments

Displaying arrays

Hi ArgyleHill,

TBsilver and TBgold both include a library called TrueCtrl which allows you to create windows. Inside these windows you can place other TrueCtrl objects such as EDIT BOXES where the user can enter data, or where you can display data. For example you could place 8 of these boxes across the screen and you could display the contents of an array in the boxes - one element per box. You could also manually modify the data just by typing stuff in any of these boxes.

Yes, I do have a program called FORMS that uses a drag and drop strategy to create "forms" with multiple edit boxes, or push buttons or any combination of objects. This program is included with the New Editor I am developing.

Do you have a picture of what you want the screen to look like, and I will see what I can do for you. E-mail me at engine@clara.net

Big John

Re: Data 'form'

ARGYLEGHILL ... I'm sure "Big John" Arscott will respond to you, when he sees your Forum message. He has developed True BASIC "forms".

Reading your message, I would think your application would be best suited to a spreadsheet, like Microsoft Excel - or the less expensive spreadsheet in an integrated software suite Microsoft Works (as an example).

Recently, I completed a True BASIC program that I opened a 'text' input file of data in a 'mailing label' format, and then created an output 'text' file that could be input into a blank Excel or Works file. The TB output file included the TAB ASCII characters and the EOF ASCII characters that one would manually type into a blank spreadsheet. The TB file did all of the manual spreadsheet typing one would do - in the blink of the eye.

I used the TB program to transfer more than 900 'labels' into a spreadsheet, without making a single 'typo error'! Regards ... Tom M