Guidance Forums / Reginald Rexx / Scrollbar control

Search 搜索
Home Home

Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Scrollbar control
Posted by: chucksim 2007-06-29 01:57:37
I don't see any help for the scrollbar control. I can see the events in the RPC but need to know exactly what they mean and how to talk to the control.
Chuck Simmons
Posted by: chucksim 2007-06-29 03:07:58
A related question to this is... Is there a way to create a window that has a height of several times the height of your viewable screen and then be able to scroll up and down  (like a browser window). I am trying to create an edit screen that has many rows of entry controls, and I would like to be able to create the entire screen (which be several hundred rows) and scroll up and down like a web browser viewing an hmtl page.
Chuck Simmons
Posted by: Jeff Glatt 2007-06-29 05:00:13 Last edited by: Jeff Glatt 2007-06-29 05:01:08 (Total edited 1 time)
Oh no. You can't do this. I believe that Windows has a limit of 256 controls maximum per window. You really should organize your UI to be a bit less daunting. I can't imagine a window with several hundreds controls in it.

If you just need to display many lines of text, with a scroll bar, use a multi-line ENTRY.
Posted by: chucksim 2007-06-29 06:37:07 Last edited by: chucksim 2007-06-29 06:38:08 (Total edited 1 time)
What I have is very much like a spreadsheet with maybe 100 rows of about 10 columns. What I am doing now is just showing 30 rows an a window, then I have a page up and page down button that simply shows the next or previous 30 rows of data. The data in each column, except for maybe 4, needs to be editable. It sounds like maybe I am doing it the best way it can be done with reginald. Any thoughts? I was thinking a scrollbar might make it look more like the user was scrolling when they are really not. I wanted to play around with it but could not figure out how to use the scrollbar control. So why is the scrollbar an option on the window?
Chuck Simmons
Posted by: Jeff Glatt 2007-06-29 12:16:08
Sounds like you may want to use a LISTVIEW control. That can show editable tables. There's an example script on my site.
Posted by: chucksim 2007-06-29 21:43:34
Are you referring to the Santa Claus List? I was hoping to find a way to have a scrollable window of rows of data that could be editable by changing the data directly in that window and in that control (like rows and columns of entry controls).
Chuck Simmons
Posted by: Jeff Glatt 2007-06-29 23:59:09
If you put more items in the LISTVIEW than can be shown simultaneously, a scrollbar appears (like with a listbox). Also, the "Edit" style allows the enduser to click upon an item, and edit it.
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
© Sat 2022-10-1  Guidance Laboratory Inc. Hits:0