----boundary-LibPST-iamunique-500303842_-_-
Content-type: text/plain
Hello,
I am experimenting a little with BlackBox. I'm trying to create a form with
a table control. It's a simple 2 by 2 table with a little text in one of the
cells. I first tried something simular to the other complex controls (list
box etc), as follows:
MODULE ExTable;
IMPORT
Dialog,StdTables;
VAR
Dlg* : RECORD
tab* : StdTables.Table;
END;
item : Dialog.String;
PROCEDURE Do*;
BEGIN
END Do;
BEGIN
Dlg.tab.SetSize(2,2);
item := 'ABC';
Dlg.tab.SetItem(0,0,item);
END ExTable.
<commander>"StdCmds.OpenAuxDialog('Ex/Rsrc/Table','TABLE')";
After compiling and linking the module to a new form it displays something,
but not a 2 by 2 table, just 2 fields with captions.
Yes, it's not so evident. You must first create an empty form with the
menu command "Controls->New Form..." and a click on the button
"Empty". Then, you insert a new table control in this form with
"Controls->Insert Table Control". And, finally, you select the table
control, open its Properties dialog window with a right click, and fix the
"Link" field to "ExTable.Dlg.tab".
Press "Apply" and save your form: it's done.
I read the StdTables documentation and it says to create a table object
first:
[SNIP...]
Yes, the way I said before: interactively.
Regards.
Gérard
--------------------------------------------
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-500303842_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZX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