User Tools

Site Tools


simple_20list_20box

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

simple_20list_20box [2018/03/31 13:19]
127.0.0.1 external edit
simple_20list_20box [2018/04/15 18:59] (current)
tbest3112 Added syntax highlighting
Line 2: Line 2:
  
 //by Richard Russell, February 2012//\\ \\  A simple List Box may be used to display a list of items which is too big to fit in the output window in its entirety. The List Box provides the ability to scroll through the list, without the overheads associated with a dialogue box:​\\ ​ //by Richard Russell, February 2012//\\ \\  A simple List Box may be used to display a list of items which is too big to fit in the output window in its entirety. The List Box provides the ability to scroll through the list, without the overheads associated with a dialogue box:​\\ ​
 +<code bb4w>
         LB_ADDSTRING = 384         LB_ADDSTRING = 384
         WS_BORDER = &800000         WS_BORDER = &800000
         WS_VSCROLL = &200000         WS_VSCROLL = &200000
         INSTALL @lib$+"​WINLIB5"​         INSTALL @lib$+"​WINLIB5"​
 +</​code>​ 
 +<code bb4w>
         hlb% = FN_listbox("",​ 50, 50, 200, 100, 1, WS_BORDER+WS_VSCROLL)         hlb% = FN_listbox("",​ 50, 50, 200, 100, 1, WS_BORDER+WS_VSCROLL)
         FOR item% = 1 TO 10         FOR item% = 1 TO 10
Line 13: Line 15:
         NEXT         NEXT
         END         END
 +</​code>​ 
 +<code bb4w>
         DATA Here, are, some, items, to, put, in, the, list, box         DATA Here, are, some, items, to, put, in, the, list, box
 +</​code>​
simple_20list_20box.txt · Last modified: 2018/04/15 18:59 by tbest3112