scroll to top of multiline

Started by nickedw, February 07, 2014, 07:12:05 AM

Previous topic - Next topic

nickedw

I am using a multiline editbox to display various feedback messages. After a long message string causes the editbox to scroll, it will display the bottom of the editbox.

How can i tell Winbatch to scroll to the top of the Multiline editbox?

Thanks for any help.

JTaylor

Take a look at DialogContolSet option 10....assuming you are using a dynamic dialog.

Jim

nickedw

Thanks that worked exactly! Two lines of DialogControlSet() as follows works

  DialogControlSet(DialogHandle,"VaryText_Results",3,mlList)  ; Update VaryText object with variable,mlList
  DialogControlSet(DialogHandle,"VaryText_Results",10,1)     ; scroll to top