Scrolling ListBoxes in VX-Rexx 
Author Message
 Scrolling ListBoxes in VX-Rexx

Hello All !

Somebody wanted to know, how to scroll a Listbox to a given index
/*:VRX */
LB_SetTopIndex: Procedure
 Parse Arg Hwnd,Index
 if (Datatype(Index) \= "NUM") then return 0
 index = index -1*(index>0)
 ok = VRMethod("Screen","WinSendMsg",Hwnd,"0x0162",Index,0 )
return ok


Call it with the Window - Handle and the index of the item in the ListBox
Have fun

--=={Regards Heinz Mueller [Team OS/2 int.]}==--

Fri, 05 Sep 1997 02:35:03 GMT  
 [ 1 post ] 

 Relevant Pages 

1. VX-Rexx: Can a program scroll a container?

2. VX-REXX Listbox object questions

3. Making 2 listboxes move in synch ? VX-REXX

4. VX-REXX and listbox

5. Vispro Rexx vs VX - Rexx

6. VX-REXX/REXX dialog trouble in OS/2 w/ FP17

7. VisPro/Rexx vs VX-REXX

8. VX-REXX to any REXX on NT

9. VisPro Rexx or VX-Rexx ?

10. Object REXX/VX-REXX DB problems

11. VX-REXX and Object REXX under OS/2

12. Object REXX & VX-REXX under OS/2


Powered by phpBB® Forum Software