Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MultiLine ListBox
#6
From other threads? Can use LB_RESETCONTENT and LB_Add from other thread. May need to use lock. More difficult would be with colors, because need to recreate the arrays.

Macro Macro1548
Code:
Copy      Help
ARRAY(str) a.create(3)
a[0]="wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap wrap"
a[1]="normal"
a[2]="line[]line[]line"
int i h hDlg=win("Dialog" "#32770")
h=id(3 hDlg)
lock lb_multiline
SendMessage h LB_RESETCONTENT 0 0
for(i 0 a.len) LB_Add h a[i]
lock- lb_multiline


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)