Controls
ID #1026
How to make smooth scrolling of rows in LIST?
See below for an example:
SmoothScrolling PROGRAM
MAP
END
NameQueue QUEUE,PRE(NMQ)
Name STRING(30)
END
Items LONG
Window WINDOW('Smooth Scrolling'),AT(,,352,219),CENTER,TIMER(100),GRAY,DOUBLE
LIST,AT(79,11,178,168),USE(?List),VSCROLL,FROM(NameQueue)
END
CODE
OPEN(Window)
Items = ?List{PROP:Items}
ACCEPT
CASE EVENT()
OF EVENT:Timer
DO LoadQueue
END
END
LoadQueue ROUTINE
NMQ:Name = ALL(CHR(RANDOM(65,122)),30)
ADD(NameQueue)
IF RECORDS(NameQueue) > Items
GET(NameQueue,1)
DELETE(NameQueue)
END
Tags: smoth scrolling, list, listbox
Related entries:
- How to receive the list of %Primary and %Secondary files, used in current procedure by all templates?
- How it is possible to receive information about Prompt text from dictionary?
- Whats this error: (C:WINDOWSTEMPC60TMDKH.$$$ 104,7) Make error: No Source for object 0EFCDBEH.obj. I get it when I try to compile, but it is on just this one app.
- Can a List Box have a variable as the List Box Header?
- How to convert data file to new structure?
Last update: 2007-07-13 14:33
Author: Marius Luidens
Revision: 1.0
You can comment on this entry