list box
- Posted by gwalters at sc.rr.com
Mar 04, 2002
I have created a simple list box to just display a text file. It seems that
as items are added to the box they are lost or overlayed. Do I have to size
the number of items in the box? If so how do I do that. I'm also sending the
404 message for the horizontal extension to get the hscroll bar to appear.
Does anyone know what the var name is for this 404 i found in the archives.
I don't want just the number in the program
here's the snipit of the code
constant mainWindow = create(Window,"Printout Viewer - "& rptName,
0,sx,sy,sw,sh,0),
idList = create(List,"",mainWindow,0,0,sw-7,sh-82,{WS_SCROLLBARS}),
sb = createEx(StatusBar, "", mainWindow, 0, 0, 0, 0, 0, 0)
setFont(idList, "Courier New",fs, Normal)
atom jk jk=sendMessage(idList,404,dw,0) -- set hscroll bar and display width
Also, how do you do a scroll bar command....i.e.
SB_PAGEUP....SB_PAGEDOWN....
thanks..
george
|
Not Categorized, Please Help
|
|