> Is there a way of displaying the contents of multiple text registers
> in a dialog box? The command '|@(register#) seems to work fine for
> only one text register without any options selected.
You could display contents of text registers in input boxes (up to 5,
according to the help file). But since input boxes are single lines,
this means that you cannot display strings longer than, say, 180
chars.
Your macro would first load five files into T-reg's, e.g.,
reg_load(5,"file1")
reg_load(6,"file2")
reg_load(7,"file3")
reg_load(8,"file4")
reg_load(9,"file5")
and then set up a dialog box like
#77=Dialog_Input_1(5,"`View @5 -- @9`,
'------------------------------------------------------------------',
'@5:',`??`,
'@6:',`??`,
'@7:',`??`,
'@8:',`??`,
'@9:',`??`,
",WORKAREA+BOTTOM+RIGHT+SET,0,0)
The contents of tregs 5 to 9 would then show up in the input boxes.
The dashed line would define the width of that boxes (experiment with
the optimal length).
Again, this is reasonably only, if you don't have more than 5 tregs
to display and the contents do fit in a single line.
A different thing is, if you want to control the display of the
contents of TRegs with an dialog box (which i would prefer).
Fritz
--
Dr. Friedrich Heberlein, Akad. Direktor
Seminar f. Klassische Philologie,
KU Eichstätt-Ingolstadt / Bayern
D-85071 Eichstaett