WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: nickedw on February 07, 2014, 07:12:05 AM

Title: scroll to top of multiline
Post by: nickedw on February 07, 2014, 07:12:05 AM
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.
Title: Re: scroll to top of multiline
Post by: JTaylor on February 07, 2014, 07:34:05 AM
Take a look at DialogContolSet option 10....assuming you are using a dynamic dialog.

Jim
Title: Re: scroll to top of multiline
Post by: nickedw on February 08, 2014, 08:52:52 AM
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