AW: Form documents via texts

From: [at]} <>
Date: Mon, 12 May 2003 13:04:10 +0200

----boundary-LibPST-iamunique-876712343_-_-
Content-type: text/plain

Hello Martin,

thanks for your comment. In fact I originally wanted to
use this control also to save the contents of tables to disk,
for example in a text document, indepentant from an application
that knows about the number of tables or the tables contents,
but I did not complete this task.

Can you tell me a little bit more about a variable number of tables
in an application? What is the purpose of it and how would you like to
switch from one table to annother? (example)


By the way, I am working on some improvements now, which have not been
very important for me so far. Since I decided to pass the code
to public, I think this should be made now. I hope to complete the most
urgent work until saturday.

Planned improvements: Use Excel - OleDate Type for date and time
                                Improve conversion to excel, which is very poorly implemented
                                English forms for handling

If you have other needs also (e.g. improvements for english keyboard or number
representation), let me know them.

When I'm through with this, I would like to give the control to Helmut Zinn's CPC.


Gerhard Marent
Bregenz, Austria


-----Ursprüngliche Nachricht-----
Von: Martin Fisher [mailto:martin.fisher{([at]})nowhere.xy
Gesendet: Montag, 12. Mai 2003 11:20
An: Marent Gerhard
Cc: blackbox{([at]})nowhere.xy
Betreff: Re: Form documents via texts


Dera Gerhard (cc BB list)

I have been looking at your Table Control. You have one procedure commented out, viz:


PROCEDURE NextTable * (OUT n: INTEGER; OUT link: ARRAY OF CHAR);

VAR i: INTEGER; nTables: POINTER TO ARRAY OF Table; str: Dialog.String;

BEGIN
  IF tables = NIL THEN
    NEW(nTables, 1); n := 0
  ELSE
    n := LEN(tables); NEW(nTables, n + 1);
    FOR i := 0 TO n - 1 DO nTables[i] := tables[i] END
  END;
  tables := nTables; NEW(tables[n]);
  link := "CtrlsTable.tables["; Strings.IntToString(n, str); link := link$ + str; link := link + "]"
END NextTable;


I can see what you are trying to do here - because otherwise a table control always has to be linked to a single variable (i.e. VAR
t1*: CT.Tab; and the link in the control properties has to be "CtrlsTable.t1") - but the link field of control properties doesn't appear to recognize links of the form "CtrlsTable.tables[0]".

So, how could one use a variable number of tables in an application? If anybody has a solution to this, could they offer some advice on the list?

Many thanks, Martin

Martin Fisher
Cambridge, UK



--------------------------------------------

To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xy

To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.

Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xy

Current posting policy:

a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.

b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.


----boundary-LibPST-iamunique-876712343_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCBIZWxsbyBNYXJ0aW4sXHBhcg0K
XHBhcg0KdGhhbmtzIGZvciB5b3VyIGNvbW1lbnQuIEluIGZhY3QgSSBvcmlnaW5hbGx5IHdhbnRl
ZCB0b1xwYXINCnVzZSB0aGlzIGNvbnRyb2wgYWxzbyB0byBzYXZlIHRoZSBjb250ZW50cyBvZiB0
YWJsZXMgdG8gZGlzayxccGFyDQpmb3IgZXhhbXBsZSBpbiBhIHRleHQgZG9jdW1lbnQsIGluZGVw
ZW50YW50IGZyb20gYW4gYXBwbGljYXRpb25ccGFyDQp0aGF0IGtub3dzIGFib3V0IHRoZSBudW1i
ZXIgb2Y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gdG8gdGhlIG1haWxpbmcgbGlzdC4gVGhhdCB3YXksIHRoZSBsaXN0IHNlcnZlciB3aWxsIHJl
Y29nbml6ZSB5b3UgYXMgc3Vic2NyaWJlciBhbmQgZm9yd2FyZCB5b3VyIHBvc3RpbmcgaW1tZWRp
YXRlbHksIHdpdGhvdXQgY3JlYXRpbmcgYW55IG92ZXJoZWFkLlxwYXINClxwYXINCmIpIElmLCBm
b3Igc29tZSByZWFzb24sIHlvdSBjYW5ub3QgcG9zdCBmcm9tIHRoZSBhZGRyZXNzLCBieSB3aGlj
aCB5b3UgYXJlIHN1YnNjcmliZWQsIHlvdXIgbWVzc2FnZSB3aWxsIGJlIG1vZGVyYXRlZCB0byBh
dm9pZCBzcGFtLiBQbGVhc2UgdW5kZXJzdGFuZCB0aGF0IG1vZGVyYXRpb24gd2lsbCBvZnRlbiBj
YXVzZSBzb21lIGRlbGF5LCBpbiBwYXJ0aWN1bGFyIG92ZXIgd2Vla2VuZHMgb3IgaG9seWRheXMu
XHBhcg0KfQ=


----boundary-LibPST-iamunique-876712343_-_---
Received on Mon May 12 2003 - 13:04:10 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:15 UTC