Choose Language Hide Translation Bar
carole
Community Trekker

insert display box right into a journal

I would like to insert a display box into a journal on the right, not at the beginning or the end of the journal (so i don't want to use <<Append).

For example, i thought the solution was :

jrn = Currentjournal();

NewWindow("Title",

HListBox(jrn, TextBox("Comments") )

);

It doesn't work, maybe someone could help me...

Thanks

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
ms
Super User ms
Super User

insert display box right into a journal

Almost there. You only miss an index [1] that indicate that you refer to the content of jrn rather than the journal index.

jrn = Currentjournal();

NewWindow("Title",

HListBox(jrn[1], TextBox("Comments") )

);

View solution in original post

0 Kudos
2 REPLIES 2
ms
Super User ms
Super User

insert display box right into a journal

Almost there. You only miss an index [1] that indicate that you refer to the content of jrn rather than the journal index.

jrn = Currentjournal();

NewWindow("Title",

HListBox(jrn[1], TextBox("Comments") )

);

View solution in original post

0 Kudos
carole
Community Trekker

insert display box right into a journal

Thank you very much, it's ok for me now !

0 Kudos