This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLIST_CLS.CH
72 lines (61 loc) · 2.11 KB
/
LIST_CLS.CH
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/*
* INCLUDE...........: LIST_CLS.CH
* PRG...............: LIST_CLS.PRG
* CLASS.............: Implements a List Box with Insert & delete
* DESC..............:
* EXPORTS...........: Nil
* CONSTRUCTOR.......: NewList ()
* METHODS...........: ListShow()
* STATIC FUNCTIONS..: Show List()
*
* USES..............: Standard Clipper Functions
* Stack Class - STK_CLS.PRG.
* Color Class - CLR_CLS.PRG.
*
* NOTES.............: The Constructor returns a object, which
* contains one code block and elements which
* have options for the list and a list array.
* It has got two private variables.
*
* AUTHOR............: venkata rangan, tnc & madhu, s.
* DATE..............: 20-04-1995
* PROJECT...........: Alankar Travels Billing program.
*
* COMPILER..........: CA-Clipper 5.2
* SWITCHES..........: /n /w /m
*/
#define LIST_SIZE 17
#define LISTTOP 1
#define LISTLEFT 2
#define LISTBOTTOM 3
#define LISTRIGHT 4
#define LISTSHOW 5
#define LISTVALIDATE 6
#define LISTPICTURE 7
#define LISTARRAY 8
#define LISTDEFAULT 9
#define LISTDELETE 10
#define LISTINSERT 11
#define LISTBUFFER 12
#define LISTCHOICE 13
#define LISTINDEX 14
#define LISTMESSAGE 15
#define LISTINSTEXT 16
#define LISTCARGO 17
#xtranslate :ListTop => \[LISTTOP\]
#xtranslate :ListLeft => \[LISTLEFT\]
#xtranslate :ListBottom => \[LISTBOTTOM\]
#xtranslate :ListRight => \[LISTRIGHT\]
#xtranslate :ListShow => \[LISTSHOW\]
#xtranslate :ListValidate => \[LISTVALIDATE\]
#xtranslate :ListPicture => \[LISTPICTURE\]
#xtranslate :ListArray => \[LISTARRAY\]
#xtranslate :ListDefault => \[LISTDEFAULT\]
#xtranslate :ListDelete => \[LISTDELETE\]
#xtranslate :ListInsert => \[LISTINSERT\]
#xtranslate :ListBuffer => \[LISTBUFFER\]
#xtranslate :ListChoice => \[LISTCHOICE\]
#xtranslate :ListIndex => \[LISTINDEX\]
#xtranslate :ListMessage => \[LISTMESSAGE\]
#xtranslate :ListInsText => \[LISTINSTEXT\]
#xtranslate :ListCargo => \[LISTCARGO\]