home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2005-01-16 | 78.8 KB | [ TEXT/FB^e]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
66%
dexvert
GW-BASIC (document/gwBasic)
ext
Supported
66%
dexvert
GFA-BASIC Atari (other/gfaBASICAtari)
ext
Supported
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Amiga BASIC Protected File (other/amigaBASICProtectedFile)
ext
Unsupported
1%
dexvert
BAS VBDOS Pro 1.0 Source (other/basVBDOSPro10Source)
ext
Unsupported
1%
dexvert
Visual Basic Tokenized Source (other/visualBasicTokenizedSource)
ext
Unsupported
1%
dexvert
ZBASIC (other/zbasic)
ext
Unsupported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, inited, Sun Jan 16 11:24:33 2005, modified Sun Jan 16 11:24:33 2005, creator 'FB^e', type ASCII, 79966 bytes "BasicDataBrowser 1.1.bas" , at 0x138de 386 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Macintosh plain text (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
dexmagic
Picasso 64 Image
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ FB^e]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 18 42 61 73 69 63 44 | 61 74 61 42 72 6f 77 73 |..BasicD|ataBrows| |00000010| 65 72 20 31 2e 31 2e 62 | 61 73 00 00 00 00 00 00 |er 1.1.b|as......| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 46 42 5e | 65 01 00 00 00 00 00 00 |.TEXTFB^|e.......| |00000050| 00 00 00 00 01 38 5e 00 | 00 01 82 be 10 45 c1 be |.....8^.|.....E..| |00000060| 10 45 c1 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.E......|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 95 00 00 00 |........|........| |00000080| 0d 27 7e 27 41 0d 27 20 | 20 20 20 20 20 20 20 20 |.'~'A.' | | |00000090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 52 75 | | Ru| |000000a0| 6e 74 69 6d 65 20 3a 20 | 52 6e 74 6d 20 41 70 70 |ntime : |Rntm App| |000000b0| 65 61 72 61 6e 63 65 2e | 49 6e 63 6c 0d 27 20 20 |earance.|Incl.' | |000000c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000000d0| 20 20 20 20 20 20 20 20 | 20 43 50 55 20 3a 20 43 | | CPU : C| |000000e0| 61 72 62 6f 6e 0d 27 20 | 20 20 20 20 20 20 20 20 |arbon.' | | |000000f0| 20 20 20 20 20 20 20 20 | 20 20 20 43 41 4c 4c 20 | | CALL | |00000100| 52 65 71 27 64 20 3a 20 | 4f 66 66 0d 27 7e 27 42 |Req'd : |Off.'~'B| |00000110| 0d 2f 2a 0d 20 20 20 20 | 20 44 61 74 61 42 72 6f |./*. | DataBro| |00000120| 77 73 65 72 20 64 65 6d | 6f 20 28 65 78 70 65 72 |wser dem|o (exper| |00000130| 69 6d 65 6e 74 61 6c 29 | 2e 20 56 65 72 73 69 6f |imental)|. Versio| |00000140| 6e 20 31 2e 30 20 62 65 | 74 61 0d 0d 20 20 20 20 |n 1.0 be|ta.. | |00000150| 20 46 72 65 65 6c 79 20 | 61 64 61 70 74 61 74 65 | Freely |adaptate| |00000160| 64 20 66 72 6f 6d 20 74 | 68 65 20 6f 72 69 67 69 |d from t|he origi| |00000170| 6e 61 6c 20 43 20 63 6f | 64 65 20 62 79 20 41 70 |nal C co|de by Ap| |00000180| 70 6c 65 2c 20 74 68 69 | 73 20 6c 69 74 74 6c 65 |ple, thi|s little| |00000190| 20 64 65 6d 6f 0d 20 20 | 20 20 20 69 73 20 69 6e | demo. | is in| |000001a0| 74 65 6e 64 65 64 20 74 | 6f 20 69 6c 6c 75 73 74 |tended t|o illust| |000001b0| 72 61 74 65 20 74 68 65 | 20 73 74 72 65 6e 67 74 |rate the| strengt| |000001c0| 68 20 6f 66 20 74 68 65 | 20 44 61 74 61 42 72 6f |h of the| DataBro| |000001d0| 77 73 65 72 20 43 61 72 | 62 6f 6e 20 63 6f 6e 74 |wser Car|bon cont| |000001e0| 72 6f 6c 0d 20 20 20 20 | 20 74 68 61 74 20 73 70 |rol. | that sp| |000001f0| 6f 72 74 73 20 69 6d 70 | 72 65 73 73 69 76 65 20 |orts imp|ressive | |00000200| 66 65 61 74 75 72 65 73 | 2e 0d 0d 20 20 20 20 20 |features|... | |00000210| 20 20 20 20 20 a5 20 4e | 6f 20 6c 69 6d 69 74 61 | . N|o limita| |00000220| 74 69 6f 6e 20 6f 6e 20 | 74 68 65 20 6e 75 6d 62 |tion on |the numb| |00000230| 65 72 20 6f 66 20 63 65 | 6c 6c 73 20 64 69 73 70 |er of ce|lls disp| |00000240| 6c 61 79 65 64 20 69 6e | 20 61 20 6c 69 73 74 2c |layed in| a list,| |00000250| 0d 20 20 20 20 20 20 20 | 20 20 20 a5 20 42 75 69 |. | . Bui| |00000260| 6c 74 2d 69 6e 20 64 72 | 61 67 2d 61 6e 64 2d 64 |lt-in dr|ag-and-d| |00000270| 72 6f 70 20 68 61 6e 64 | 6c 69 6e 67 2c 0d 20 20 |rop hand|ling,. | |00000280| 20 20 20 20 20 20 20 20 | a5 20 42 75 69 6c 74 2d | |. Built-| |00000290| 69 6e 20 64 69 73 70 6c | 61 79 20 74 79 70 65 73 |in displ|ay types| |000002a0| 20 66 6f 72 20 74 65 78 | 74 2c 20 69 63 6f 6e 73 | for tex|t, icons| |000002b0| 2c 20 63 68 65 63 6b 62 | 6f 78 65 73 2c 20 70 6f |, checkb|oxes, po| |000002c0| 70 2d 75 70 20 6d 65 6e | 75 73 2c 0d 20 20 20 20 |p-up men|us,. | |000002d0| 20 20 20 20 20 20 20 20 | 70 72 6f 67 72 65 73 73 | |progress| |000002e0| 20 62 61 72 73 2c 20 72 | 65 6c 65 76 61 6e 63 65 | bars, r|elevance| |000002f0| 20 72 61 6e 6b 73 2c 20 | 61 6e 64 20 73 6c 69 64 | ranks, |and slid| |00000300| 65 72 73 2c 0d 20 20 20 | 20 20 20 20 20 20 20 a5 |ers,. | .| |00000310| 20 53 75 70 70 6f 72 74 | 20 66 6f 72 20 63 6f 6e | Support| for con| |00000320| 74 65 78 74 75 61 6c 20 | 6d 65 6e 75 73 20 61 6e |textual |menus an| |00000330| 64 20 63 6f 6e 74 65 78 | 74 2d 73 65 6e 73 69 74 |d contex|t-sensit| |00000340| 69 76 65 20 68 65 6c 70 | 2c 0d 20 20 20 20 20 20 |ive help|,. | |00000350| 20 20 20 20 a5 20 42 75 | 69 6c 74 2d 69 6e 20 74 | . Bu|ilt-in t| |00000360| 65 78 74 20 65 64 69 74 | 69 6e 67 20 66 6f 72 20 |ext edit|ing for | |00000370| 63 65 6c 6c 73 20 64 69 | 73 70 6c 61 79 69 6e 67 |cells di|splaying| |00000380| 20 74 65 78 74 2c 20 61 | 6e 64 0d 20 20 20 20 20 | text, a|nd. | |00000390| 20 20 20 20 20 a5 20 42 | 75 69 6c 74 2d 69 6e 20 | . B|uilt-in | |000003a0| 68 69 65 72 61 72 63 68 | 69 63 61 6c 20 6c 69 73 |hierarch|ical lis| |000003b0| 74 20 73 75 70 70 6f 72 | 74 2e 0d 0d 43 52 45 41 |t suppor|t...CREA| |000003c0| 54 49 4e 47 20 41 20 44 | 41 54 41 42 52 4f 57 45 |TING A D|ATABROWE| |000003d0| 52 0d 27 7e 27 39 0d 20 | 20 20 20 20 41 20 44 61 |R.'~'9. | A Da| |000003e0| 74 61 42 72 6f 77 73 65 | 72 20 69 73 20 72 65 61 |taBrowse|r is rea| |000003f0| 6c 6c 79 20 61 20 63 6f | 6e 74 72 6f 6c 20 74 68 |lly a co|ntrol th| |00000400| 61 74 20 79 6f 75 20 63 | 72 65 61 74 65 20 61 6e |at you c|reate an| |00000410| 64 20 69 6e 73 74 61 6c | 6c 20 69 6e 20 61 20 77 |d instal|l in a w| |00000420| 69 6e 64 6f 77 2c 0d 20 | 20 20 20 20 68 6f 77 65 |indow,. | howe| |00000430| 76 65 72 20 74 68 65 72 | 65 20 69 73 20 61 20 73 |ver ther|e is a s| |00000440| 70 65 63 69 66 69 63 20 | 54 6f 6f 6c 62 6f 78 20 |pecific |Toolbox | |00000450| 66 75 6e 63 74 69 6f 6e | 20 66 6f 72 20 74 68 61 |function| for tha| |00000460| 74 20 70 75 72 70 6f 73 | 65 2c 20 6e 61 6d 65 6c |t purpos|e, namel| |00000470| 79 0d 20 20 20 20 20 43 | 72 65 61 74 65 44 61 74 |y. C|reateDat| |00000480| 61 42 72 6f 77 73 65 72 | 43 6f 6e 74 72 6f 6c 2e |aBrowser|Control.| |00000490| 0d 0d 49 4e 53 54 41 4c | 4c 49 4e 47 20 43 41 4c |..INSTAL|LING CAL| |000004a0| 4c 42 41 43 4b 20 50 52 | 4f 43 45 44 55 52 45 53 |LBACK PR|OCEDURES| |000004b0| 0d 27 7e 27 39 0d 20 20 | 20 20 20 54 68 69 73 20 |.'~'9. | This | |000004c0| 70 61 72 74 69 63 75 6c | 61 72 20 63 6f 6e 74 72 |particul|ar contr| |000004d0| 6f 6c 20 63 6f 6d 6d 75 | 6e 69 63 61 74 65 73 20 |ol commu|nicates | |000004e0| 77 69 74 68 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |with you|r applic| |000004f0| 61 74 69 6f 6e 20 76 69 | 61 20 61 20 73 65 74 20 |ation vi|a a set | |00000500| 6f 66 0d 20 20 20 20 20 | 63 61 6c 6c 62 61 63 6b |of. |callback| |00000510| 20 70 72 6f 63 65 64 75 | 72 65 73 20 74 68 61 74 | procedu|res that| |00000520| 20 79 6f 75 20 6d 75 73 | 74 20 69 6e 73 74 61 6c | you mus|t instal| |00000530| 6c 20 63 61 6c 6c 69 6e | 67 20 49 6e 69 74 44 61 |l callin|g InitDa| |00000540| 74 61 42 72 6f 77 73 65 | 72 43 61 6c 6c 62 61 63 |taBrowse|rCallbac| |00000550| 6b 73 0d 20 20 20 20 20 | 61 66 74 65 72 20 79 6f |ks. |after yo| |00000560| 75 20 68 61 76 65 20 66 | 69 6c 6c 65 64 20 74 68 |u have f|illed th| |00000570| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 66 69 |e approp|riate fi| |00000580| 65 6c 64 73 20 6f 66 20 | 61 20 70 61 72 74 69 63 |elds of |a partic| |00000590| 75 6c 61 72 20 73 74 72 | 75 63 74 75 72 65 2e 0d |ular str|ucture..| |000005a0| 0d 20 20 20 20 20 4f 6e | 6c 79 20 6f 6e 65 20 6f |. On|ly one o| |000005b0| 66 20 74 68 65 73 65 20 | 70 72 6f 63 65 64 75 72 |f these |procedur| |000005c0| 65 73 20 69 73 20 72 65 | 71 75 69 72 65 64 3a 20 |es is re|quired: | |000005d0| 69 74 65 6d 44 61 74 61 | 43 61 6c 6c 62 61 63 6b |itemData|Callback| |000005e0| 20 77 68 69 63 68 20 69 | 73 20 63 61 6c 6c 65 64 | which i|s called| |000005f0| 0d 20 20 20 20 20 77 68 | 65 6e 20 74 68 65 20 44 |. wh|en the D| |00000600| 61 74 61 42 72 6f 77 73 | 65 72 20 61 73 6b 73 20 |ataBrows|er asks | |00000610| 79 6f 75 72 20 70 72 6f | 67 72 61 6d 20 66 6f 72 |your pro|gram for| |00000620| 20 74 68 65 20 61 63 74 | 75 61 6c 20 64 61 74 61 | the act|ual data| |00000630| 20 69 74 20 6d 75 73 74 | 20 64 69 73 70 6c 61 79 | it must| display| |00000640| 2e 0d 20 20 20 20 20 54 | 68 65 20 6f 74 68 65 72 |.. T|he other| |00000650| 20 6f 70 74 69 6f 6e 61 | 6c 20 63 61 6c 6c 62 61 | optiona|l callba| |00000660| 63 6b 20 70 72 6f 63 65 | 64 75 72 65 73 20 64 65 |ck proce|dures de| |00000670| 61 6c 20 77 69 74 68 20 | 74 68 65 20 44 72 61 67 |al with |the Drag| |00000680| 20 26 20 44 72 6f 70 2c | 0d 20 20 20 20 20 43 61 | & Drop,|. Ca| |00000690| 72 62 6f 6e 20 48 65 6c | 70 20 74 61 67 73 20 61 |rbon Hel|p tags a| |000006a0| 6e 64 20 43 6f 6e 74 65 | 78 74 75 61 6c 20 6d 65 |nd Conte|xtual me| |000006b0| 6e 75 20 66 65 61 74 75 | 72 65 73 2e 20 54 68 65 |nu featu|res. The| |000006c0| 72 65 20 61 72 65 20 61 | 6c 73 6f 20 74 77 6f 20 |re are a|lso two | |000006d0| 61 64 64 69 74 69 6f 6e | 61 6c 0d 20 20 20 20 20 |addition|al. | |000006e0| 63 61 6c 6c 62 61 63 6b | 20 70 72 6f 63 65 64 75 |callback| procedu| |000006f0| 72 65 73 2c 20 6f 6e 65 | 20 69 73 20 69 74 65 6d |res, one| is item| |00000700| 4e 6f 74 69 66 69 63 61 | 74 69 6f 6e 43 61 6c 6c |Notifica|tionCall| |00000710| 62 61 63 6b 20 77 68 69 | 63 68 20 69 73 20 63 61 |back whi|ch is ca| |00000720| 6c 6c 65 64 0d 20 20 20 | 20 20 77 68 65 6e 20 69 |lled. | when i| |00000730| 6e 74 65 72 65 73 74 69 | 6e 67 20 63 6f 6e 64 69 |nteresti|ng condi| |00000740| 74 69 6f 6e 73 20 68 61 | 70 70 65 6e 20 64 75 72 |tions ha|ppen dur| |00000750| 69 6e 67 20 74 68 65 20 | 69 6e 74 65 72 61 63 74 |ing the |interact| |00000760| 69 6f 6e 20 6f 66 20 74 | 68 65 20 65 6e 64 20 75 |ion of t|he end u| |00000770| 73 65 72 0d 20 20 20 20 | 20 77 69 74 68 20 74 68 |ser. | with th| |00000780| 65 20 44 61 74 61 42 72 | 6f 77 73 65 72 2c 20 74 |e DataBr|owser, t| |00000790| 68 65 20 6f 74 68 65 72 | 2c 20 69 74 65 6d 43 6f |he other|, itemCo| |000007a0| 6d 70 61 72 65 43 61 6c | 6c 62 61 63 6b 2c 20 6c |mpareCal|lback, l| |000007b0| 65 74 73 20 79 6f 75 20 | 64 65 66 69 6e 65 20 61 |ets you |define a| |000007c0| 20 0d 20 20 20 20 20 73 | 70 65 63 69 66 69 63 20 | . s|pecific | |000007d0| 6d 65 74 68 6f 64 20 66 | 6f 72 20 73 6f 72 74 69 |method f|or sorti| |000007e0| 6e 67 20 69 74 65 6d 73 | 20 74 68 61 74 20 74 68 |ng items| that th| |000007f0| 65 20 44 61 74 61 42 72 | 6f 77 73 65 72 20 63 61 |e DataBr|owser ca| |00000800| 6e 27 74 20 68 61 6e 64 | 6c 65 20 61 75 74 6f 6d |n't hand|le autom| |00000810| 61 74 69 63 61 6c 6c 79 | 2e 0d 0d 20 20 20 20 20 |atically|... | |00000820| 49 66 20 79 6f 75 20 6e | 65 65 64 20 6d 6f 72 65 |If you n|eed more| |00000830| 20 63 75 73 74 6f 6d 69 | 7a 61 74 69 6f 6e 20 79 | customi|zation y| |00000840| 6f 75 20 63 61 6e 20 69 | 6e 73 74 61 6c 6c 20 65 |ou can i|nstall e| |00000850| 78 74 72 61 20 63 61 6c | 6c 62 61 63 6b 20 70 72 |xtra cal|lback pr| |00000860| 6f 63 65 64 75 72 65 73 | 0d 20 20 20 20 20 77 69 |ocedures|. wi| |00000870| 74 68 20 49 6e 69 74 44 | 61 74 61 42 72 6f 77 73 |th InitD|ataBrows| |00000880| 65 72 43 75 73 74 6f 6d | 43 61 6c 6c 62 61 63 6b |erCustom|Callback| |00000890| 73 20 28 70 61 73 73 69 | 6e 67 20 74 6f 20 69 74 |s (passi|ng to it| |000008a0| 20 61 6e 6f 74 68 65 72 | 20 73 70 65 63 69 66 69 | another| specifi| |000008b0| 63 20 73 74 72 75 63 74 | 75 72 65 0d 20 20 20 20 |c struct|ure. | |000008c0| 20 77 68 6f 73 65 20 66 | 69 65 6c 64 73 20 69 6e | whose f|ields in| |000008d0| 63 6c 75 64 65 20 64 72 | 61 77 49 74 65 6d 43 61 |clude dr|awItemCa| |000008e0| 6c 6c 62 61 63 6b 2c 20 | 65 64 69 74 54 65 78 74 |llback, |editText| |000008f0| 43 61 6c 6c 62 61 63 6b | 2c 20 68 69 74 54 65 73 |Callback|, hitTes| |00000900| 74 43 61 6c 6c 62 61 63 | 6b 2c 20 65 74 63 2e 29 |tCallbac|k, etc.)| |00000910| 0d 20 20 20 20 20 52 65 | 61 64 20 74 68 65 20 41 |. Re|ad the A| |00000920| 70 70 6c 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 |pple doc|umentati| |00000930| 6f 6e 20 66 6f 72 20 6d | 6f 72 65 20 69 6e 66 6f |on for m|ore info| |00000940| 2e 0d 0d 43 4f 4e 46 49 | 47 55 52 49 4e 47 20 54 |...CONFI|GURING T| |00000950| 48 45 20 44 41 54 41 42 | 52 4f 57 53 45 52 20 28 |HE DATAB|ROWSER (| |00000960| 61 64 64 69 6e 67 20 63 | 6f 6c 75 6d 6e 73 29 0d |adding c|olumns).| |00000970| 27 7e 27 39 0d 20 20 20 | 20 20 4f 6e 63 65 20 79 |'~'9. | Once y| |00000980| 6f 75 20 68 61 76 65 20 | 69 6e 73 74 61 6c 6c 65 |ou have |installe| |00000990| 64 20 79 6f 75 72 20 63 | 61 6c 6c 62 61 63 6b 20 |d your c|allback | |000009a0| 72 6f 75 74 69 6e 65 73 | 2c 20 79 6f 75 20 6d 75 |routines|, you mu| |000009b0| 73 74 20 63 6f 6e 66 69 | 67 75 72 65 0d 20 20 20 |st confi|gure. | |000009c0| 20 20 74 68 65 20 44 61 | 74 61 42 72 6f 77 73 65 | the Da|taBrowse| |000009d0| 72 2e 20 42 61 73 69 63 | 61 6c 6c 79 2c 20 69 74 |r. Basic|ally, it| |000009e0| 20 63 6f 6e 73 69 73 74 | 73 20 69 6e 20 64 65 66 | consist|s in def| |000009f0| 69 6e 69 6e 67 20 65 61 | 63 68 20 63 6f 6c 75 6d |ining ea|ch colum| |00000a00| 6e 2e 20 54 68 69 73 20 | 69 73 20 64 6f 6e 65 0d |n. This |is done.| |00000a10| 20 20 20 20 20 77 69 74 | 68 2c 20 61 67 61 69 6e | wit|h, again| |00000a20| 2c 20 61 20 73 74 72 75 | 63 74 75 72 65 20 63 61 |, a stru|cture ca| |00000a30| 6c 6c 65 64 20 44 61 74 | 61 42 72 6f 77 73 65 72 |lled Dat|aBrowser| |00000a40| 4c 69 73 74 56 69 65 77 | 43 6f 6c 75 6d 6e 44 65 |ListView|ColumnDe| |00000a50| 73 63 20 74 68 61 74 20 | 64 65 73 63 72 69 62 65 |sc that |describe| |00000a60| 73 0d 20 20 20 20 20 76 | 61 72 69 6f 75 73 20 70 |s. v|arious p| |00000a70| 72 6f 70 65 72 74 69 65 | 73 20 73 68 61 72 65 64 |ropertie|s shared| |00000a80| 20 62 79 20 74 68 65 20 | 69 74 65 6d 73 20 69 6e | by the |items in| |00000a90| 20 74 68 61 74 20 63 6f | 6c 75 6d 6e 2e 20 54 68 | that co|lumn. Th| |00000aa0| 65 20 73 74 75 63 74 75 | 72 65 20 68 61 73 20 74 |e stuctu|re has t| |00000ab0| 77 6f 0d 20 20 20 20 20 | 66 69 65 6c 64 73 20 28 |wo. |fields (| |00000ac0| 70 72 6f 70 65 72 74 79 | 44 65 73 63 20 61 6e 64 |property|Desc and| |00000ad0| 20 68 65 61 64 65 72 42 | 74 6e 44 65 73 63 29 20 | headerB|tnDesc) | |00000ae0| 74 68 61 74 20 61 72 65 | 20 61 6c 73 6f 20 72 65 |that are| also re| |00000af0| 63 6f 72 64 73 2e 20 41 | 6c 6c 20 74 68 65 20 66 |cords. A|ll the f| |00000b00| 69 65 6c 64 73 0d 20 20 | 20 20 20 6f 66 20 74 68 |ields. | of th| |00000b10| 65 20 77 68 6f 6c 65 20 | 72 65 63 6f 72 64 20 6d |e whole |record m| |00000b20| 75 73 74 20 62 65 20 65 | 78 70 6c 69 63 69 74 65 |ust be e|xplicite| |00000b30| 6c 79 20 73 65 74 2e 20 | 48 65 72 65 20 69 73 20 |ly set. |Here is | |00000b40| 74 68 65 20 63 6f 6d 70 | 6c 65 74 65 20 73 65 74 |the comp|lete set| |00000b50| 3a 0d 0d 20 20 20 20 20 | 20 20 20 20 20 44 49 4d |:.. | DIM| |00000b60| 20 63 6f 6c 75 6d 6e 44 | 65 73 63 72 69 70 74 6f | columnD|escripto| |00000b70| 72 20 41 53 20 44 61 74 | 61 42 72 6f 77 73 65 72 |r AS Dat|aBrowser| |00000b80| 4c 69 73 74 56 69 65 77 | 43 6f 6c 75 6d 6e 44 65 |ListView|ColumnDe| |00000b90| 73 63 0d 0d 20 20 20 20 | 20 20 20 20 20 20 63 6f |sc.. | co| |00000ba0| 6c 75 6d 6e 44 65 73 63 | 72 69 70 74 6f 72 2e 70 |lumnDesc|riptor.p| |00000bb0| 72 6f 70 65 72 74 79 44 | 65 73 63 2e 44 61 74 61 |ropertyD|esc.Data| |00000bc0| 42 72 6f 77 73 65 72 50 | 72 6f 70 65 72 74 79 49 |BrowserP|ropertyI| |00000bd0| 44 0d 20 20 20 20 20 20 | 20 20 20 20 63 6f 6c 75 |D. | colu| |00000be0| 6d 6e 44 65 73 63 72 69 | 70 74 6f 72 2e 70 72 6f |mnDescri|ptor.pro| |00000bf0| 70 65 72 74 79 44 65 73 | 63 2e 44 61 74 61 42 72 |pertyDes|c.DataBr| |00000c00| 6f 77 73 65 72 50 72 6f | 70 65 72 74 79 54 79 70 |owserPro|pertyTyp| |00000c10| 65 0d 20 20 20 20 20 20 | 20 20 20 20 63 6f 6c 75 |e. | colu| |00000c20| 6d 6e 44 65 73 63 72 69 | 70 74 6f 72 2e 70 72 6f |mnDescri|ptor.pro| |00000c30| 70 65 72 74 79 44 65 73 | 63 2e 44 61 74 61 42 72 |pertyDes|c.DataBr| |00000c40| 6f 77 73 65 72 50 72 6f | 70 65 72 74 79 46 6c 61 |owserPro|pertyFla| |00000c50| 67 73 0d 20 0d 20 20 20 | 20 20 20 20 20 20 20 63 |gs. . | c| |00000c60| 6f 6c 75 6d 6e 44 65 73 | 63 72 69 70 74 6f 72 2e |olumnDes|criptor.| |00000c70| 68 65 61 64 65 72 42 74 | 6e 44 65 73 63 2e 76 65 |headerBt|nDesc.ve| |00000c80| 72 73 69 6f 6e 0d 20 20 | 20 20 20 20 20 20 20 20 |rsion. | | |00000c90| 63 6f 6c 75 6d 6e 44 65 | 73 63 72 69 70 74 6f 72 |columnDe|scriptor| |00000ca0| 2e 68 65 61 64 65 72 42 | 74 6e 44 65 73 63 2e 6d |.headerB|tnDesc.m| |00000cb0| 69 6e 69 6d 75 6d 57 69 | 64 74 68 0d 20 20 20 20 |inimumWi|dth. | |00000cc0| 20 20 20 20 20 20 63 6f | 6c 75 6d 6e 44 65 73 63 | co|lumnDesc| |00000cd0| 72 69 70 74 6f 72 2e 68 | 65 61 64 65 72 42 74 6e |riptor.h|eaderBtn| |00000ce0| 44 65 73 63 2e 6d 61 78 | 69 6d 75 6d 57 69 64 74 |Desc.max|imumWidt| |00000cf0| 68 0d 20 20 20 20 20 20 | 20 20 20 20 63 6f 6c 75 |h. | colu| |00000d00| 6d 6e 44 65 73 63 72 69 | 70 74 6f 72 2e 68 65 61 |mnDescri|ptor.hea| |00000d10| 64 65 72 42 74 6e 44 65 | 73 63 2e 74 69 74 6c 65 |derBtnDe|sc.title| |00000d20| 4f 66 66 73 65 74 0d 20 | 20 20 20 20 20 20 20 20 |Offset. | | |00000d30| 20 63 6f 6c 75 6d 6e 44 | 65 73 63 72 69 70 74 6f | columnD|escripto| |00000d40| 72 2e 68 65 61 64 65 72 | 42 74 6e 44 65 73 63 2e |r.header|BtnDesc.| |00000d50| 74 69 74 6c 65 53 74 72 | 69 6e 67 0d 20 20 20 20 |titleStr|ing. | |00000d60| 20 20 20 20 20 20 63 6f | 6c 75 6d 6e 44 65 73 63 | co|lumnDesc| |00000d70| 72 69 70 74 6f 72 2e 68 | 65 61 64 65 72 42 74 6e |riptor.h|eaderBtn| |00000d80| 44 65 73 63 2e 69 6e 69 | 74 69 61 6c 4f 72 64 65 |Desc.ini|tialOrde| |00000d90| 72 0d 20 20 20 20 20 20 | 20 20 20 20 63 6f 6c 75 |r. | colu| |00000da0| 6d 6e 44 65 73 63 72 69 | 70 74 6f 72 2e 68 65 61 |mnDescri|ptor.hea| |00000db0| 64 65 72 42 74 6e 44 65 | 73 63 2e 62 74 6e 46 6f |derBtnDe|sc.btnFo| |00000dc0| 6e 74 53 74 79 6c 65 20 | 20 20 28 3c 3d 3d 3d 20 |ntStyle | (<=== | |00000dd0| 43 6f 6e 74 72 6f 6c 46 | 6f 6e 74 53 74 79 6c 65 |ControlF|ontStyle| |00000de0| 52 65 63 20 29 0d 20 20 | 20 20 20 20 20 20 20 20 |Rec ). | | |00000df0| 63 6f 6c 75 6d 6e 44 65 | 73 63 72 69 70 74 6f 72 |columnDe|scriptor| |00000e00| 2e 68 65 61 64 65 72 42 | 74 6e 44 65 73 63 2e 62 |.headerB|tnDesc.b| |00000e10| 74 6e 43 6f 6e 74 65 6e | 74 49 6e 66 6f 20 28 3c |tnConten|tInfo (<| |00000e20| 3d 3d 3d 20 43 6f 6e 74 | 72 6f 6c 42 75 74 74 6f |=== Cont|rolButto| |00000e30| 6e 43 6f 6e 74 65 6e 74 | 49 6e 66 6f 20 29 0d 0d |nContent|Info )..| |00000e40| 20 20 20 20 20 4e 6f 74 | 65 20 74 68 61 74 20 74 | Not|e that t| |00000e50| 68 65 20 44 61 74 61 42 | 72 6f 77 73 65 72 50 72 |he DataB|rowserPr| |00000e60| 6f 70 65 72 74 79 49 44 | 20 69 73 20 61 20 6e 75 |opertyID| is a nu| |00000e70| 6d 62 65 72 20 74 68 61 | 74 20 69 64 65 6e 74 69 |mber tha|t identi| |00000e80| 66 69 65 73 20 74 68 65 | 20 63 6f 6c 75 6d 6e 3b |fies the| column;| |00000e90| 20 79 6f 75 0d 20 20 20 | 20 20 63 61 6e 20 74 68 | you. | can th| |00000ea0| 69 6e 6b 20 6f 66 20 69 | 74 20 61 73 20 61 20 62 |ink of i|t as a b| |00000eb0| 75 74 74 6f 6e 20 49 44 | 2e 20 59 6f 75 20 6d 61 |utton ID|. You ma| |00000ec0| 79 20 73 69 6d 70 6c 79 | 20 64 65 66 69 6e 65 20 |y simply| define | |00000ed0| 61 20 63 6f 6e 73 74 61 | 6e 74 20 74 68 61 74 20 |a consta|nt that | |00000ee0| 77 6f 75 6c 64 20 65 61 | 73 65 0d 20 20 20 20 20 |would ea|se. | |00000ef0| 74 68 65 20 72 65 61 64 | 69 6e 67 20 6f 66 20 79 |the read|ing of y| |00000f00| 6f 75 72 20 63 6f 64 65 | 20 6c 61 74 65 72 2c 20 |our code| later, | |00000f10| 66 6f 72 20 65 78 61 6d | 70 6c 65 3a 0d 0d 20 20 |for exam|ple:.. | |00000f20| 20 20 20 5f 63 6f 6c 75 | 6d 6e 4e 61 6d 65 20 3d | _colu|mnName =| |00000f30| 20 5f 22 6e 61 6d 65 22 | 0d 20 20 20 20 20 5f 63 | _"name"|. _c| |00000f40| 6f 6c 75 6d 6e 54 65 6c | 20 20 3d 20 5f 22 70 68 |olumnTel| = _"ph| |00000f50| 6f 6e 22 0d 20 20 20 20 | 20 61 6e 64 20 73 6f 20 |on". | and so | |00000f60| 6f 6e 2e 2e 2e 0d 0d 20 | 20 20 20 20 54 68 65 6e |on..... | Then| |00000f70| 20 79 6f 75 20 63 61 6e | 20 61 64 64 20 74 68 65 | you can| add the| |00000f80| 20 63 6f 6c 75 6d 6e 20 | 69 6e 20 74 68 65 20 44 | column |in the D| |00000f90| 61 74 61 42 72 6f 77 73 | 65 72 20 77 69 74 68 20 |ataBrows|er with | |00000fa0| 41 64 64 44 61 74 61 42 | 72 6f 77 73 65 72 4c 69 |AddDataB|rowserLi| |00000fb0| 73 74 56 69 65 77 43 6f | 6c 75 6d 6e 0d 20 20 20 |stViewCo|lumn. | |00000fc0| 20 20 61 6e 64 20 72 65 | 70 65 61 74 20 74 68 65 | and re|peat the| |00000fd0| 20 6f 70 65 72 61 74 69 | 6f 6e 20 66 6f 72 20 74 | operati|on for t| |00000fe0| 68 65 20 6e 65 78 74 20 | 63 6f 6c 75 6d 6e 2e 20 |he next |column. | |00000ff0| 41 6e 64 20 74 68 61 74 | 27 73 20 69 74 2e 20 57 |And that|'s it. W| |00001000| 65 6c 6c 20 61 6c 6d 6f | 73 74 2e 2e 2e 0d 0d 41 |ell almo|st.....A| |00001010| 44 44 49 4e 47 20 49 54 | 45 4d 53 20 54 4f 20 54 |DDING IT|EMS TO T| |00001020| 48 45 20 4c 49 53 54 20 | 28 61 64 64 69 6e 67 20 |HE LIST |(adding | |00001030| 72 6f 77 73 29 0d 27 7e | 27 39 0d 20 20 20 20 20 |rows).'~|'9. | |00001040| 59 6f 75 20 6d 75 73 74 | 20 73 75 70 70 6c 79 20 |You must| supply | |00001050| 74 68 65 6e 20 74 68 65 | 20 64 61 74 61 20 74 6f |then the| data to| |00001060| 20 64 69 73 70 6c 61 79 | 2e 20 48 65 72 65 20 69 | display|. Here i| |00001070| 6e 20 74 68 65 20 64 65 | 6d 6f 2c 20 77 65 20 68 |n the de|mo, we h| |00001080| 61 76 65 20 61 20 6e 6f | 74 69 66 69 63 61 74 69 |ave a no|tificati| |00001090| 6f 6e 0d 20 20 20 20 20 | 63 61 6c 6c 62 61 63 6b |on. |callback| |000010a0| 20 70 72 6f 63 65 64 75 | 72 65 20 74 68 61 74 20 | procedu|re that | |000010b0| 77 69 6c 6c 20 62 65 20 | 69 6e 76 6f 6b 65 64 20 |will be |invoked | |000010c0| 77 68 65 6e 20 74 68 65 | 20 44 61 74 61 42 72 6f |when the| DataBro| |000010d0| 77 73 65 72 20 69 73 20 | 6f 70 65 6e 65 64 2c 0d |wser is |opened,.| |000010e0| 20 20 20 20 20 73 6f 20 | 77 65 20 77 69 6c 6c 20 | so |we will | |000010f0| 74 61 6b 65 20 74 68 61 | 74 20 6f 70 70 6f 72 74 |take tha|t opport| |00001100| 75 6e 69 74 79 20 74 6f | 20 66 69 6c 6c 20 69 6e |unity to| fill in| |00001110| 20 74 68 65 20 62 72 6f | 77 73 65 72 20 77 69 74 | the bro|wser wit| |00001120| 68 20 64 61 74 61 2e 20 | 59 6f 75 20 6d 75 73 74 |h data. |You must| |00001130| 20 6b 65 65 70 0d 20 20 | 20 20 20 69 6e 20 6d 69 | keep. | in mi| |00001140| 6e 64 20 74 68 61 74 20 | 74 68 65 20 64 61 74 61 |nd that |the data| |00001150| 20 79 6f 75 20 70 72 6f | 76 69 64 65 20 61 74 20 | you pro|vide at | |00001160| 74 68 69 73 20 74 69 6d | 65 20 61 72 65 20 6e 6f |this tim|e are no| |00001170| 74 20 74 68 65 20 61 63 | 74 75 61 6c 20 64 61 74 |t the ac|tual dat| |00001180| 61 20 74 68 61 74 20 79 | 6f 75 72 0d 20 20 20 20 |a that y|our. | |00001190| 20 70 72 6f 67 72 61 6d | 20 6d 61 69 6e 74 61 69 | program| maintai| |000011a0| 6e 73 20 62 75 74 20 74 | 68 65 79 20 61 72 65 20 |ns but t|hey are | |000011b0| 6e 75 6d 62 65 72 73 2c | 20 65 61 63 68 20 6f 6e |numbers,| each on| |000011c0| 65 20 75 6e 69 71 75 65 | 6c 79 20 69 64 65 6e 74 |e unique|ly ident| |000011d0| 69 66 79 69 6e 67 20 61 | 6e 20 69 74 65 6d 2e 0d |ifying a|n item..| |000011e0| 20 20 20 20 20 54 68 65 | 20 44 61 74 61 42 72 6f | The| DataBro| |000011f0| 77 73 65 72 20 6d 61 69 | 6e 74 61 69 6e 73 20 74 |wser mai|ntains t| |00001200| 68 61 74 20 6c 69 73 74 | 20 6f 66 20 69 64 65 6e |hat list| of iden| |00001210| 74 69 66 69 65 72 73 20 | 61 6e 64 20 77 69 6c 6c |tifiers |and will| |00001220| 20 61 73 6b 20 79 6f 75 | 72 20 70 72 6f 67 72 61 | ask you|r progra| |00001230| 6d 20 6c 61 74 65 72 0d | 20 20 20 20 20 74 6f 20 |m later.| to | |00001240| 70 72 6f 76 69 64 65 20 | 74 68 65 20 69 6e 66 6f |provide |the info| |00001250| 72 6d 61 74 69 6f 6e 20 | 69 74 20 6d 75 73 74 20 |rmation |it must | |00001260| 64 69 73 70 6c 61 79 20 | 66 6f 72 20 65 61 63 68 |display |for each| |00001270| 20 69 74 65 6d 20 28 69 | 2e 65 2e 20 77 68 65 6e | item (i|.e. when| |00001280| 20 74 68 65 20 69 74 65 | 6d 44 61 74 61 43 61 6c | the ite|mDataCal| |00001290| 6c 62 61 63 6b 0d 20 20 | 20 20 20 70 72 6f 63 65 |lback. | proce| |000012a0| 64 75 72 65 20 69 73 20 | 63 61 6c 6c 65 64 2e 29 |dure is |called.)| |000012b0| 0d 20 20 20 20 20 0d 20 | 20 20 20 20 41 64 64 69 |. . | Addi| |000012c0| 6e 67 20 69 64 65 6e 74 | 69 66 69 65 72 73 20 69 |ng ident|ifiers i| |000012d0| 73 20 6c 69 6b 65 20 61 | 64 64 69 6e 67 20 72 6f |s like a|dding ro| |000012e0| 77 73 20 69 6e 20 61 20 | 74 61 62 6c 65 20 61 6e |ws in a |table an| |000012f0| 64 20 69 74 20 69 73 20 | 64 6f 6e 65 20 77 69 74 |d it is |done wit| |00001300| 68 3a 0d 0d 20 20 20 20 | 20 41 64 64 44 61 74 61 |h:.. | AddData| |00001310| 42 72 6f 77 73 65 72 49 | 74 65 6d 73 28 20 62 72 |BrowserI|tems( br| |00001320| 6f 77 73 65 72 2c 20 63 | 6f 6e 74 61 69 6e 65 72 |owser, c|ontainer| |00001330| 2c 20 6e 75 6d 49 74 65 | 6d 73 2c 20 69 74 65 6d |, numIte|ms, item| |00001340| 73 50 74 72 2c 20 70 72 | 65 53 6f 72 74 20 29 0d |sPtr, pr|eSort ).| |00001350| 20 20 20 20 20 0d 20 20 | 20 20 20 62 72 6f 77 73 | . | brows| |00001360| 65 72 20 20 20 69 73 20 | 74 68 65 20 44 61 74 61 |er is |the Data| |00001370| 42 72 6f 77 73 65 72 20 | 43 6f 6e 74 72 6f 6c 52 |Browser |ControlR| |00001380| 65 66 0d 20 20 20 20 20 | 63 6f 6e 74 61 69 6e 65 |ef. |containe| |00001390| 72 20 6d 61 79 20 62 65 | 20 73 65 74 20 74 6f 20 |r may be| set to | |000013a0| 61 6e 20 65 78 69 73 74 | 69 6e 67 20 69 74 65 6d |an exist|ing item| |000013b0| 49 44 2c 20 69 6e 20 74 | 68 69 73 20 63 61 73 65 |ID, in t|his case| |000013c0| 2c 20 74 68 65 20 69 74 | 65 6d 73 20 61 64 64 65 |, the it|ems adde| |000013d0| 64 20 61 72 65 0d 20 20 | 20 20 20 20 20 20 20 20 |d are. | | |000013e0| 20 20 20 20 20 73 75 62 | 49 74 65 6d 73 20 61 6e | sub|Items an| |000013f0| 64 20 74 68 65 20 6c 69 | 73 74 20 69 73 20 61 20 |d the li|st is a | |00001400| 68 69 65 72 61 72 63 68 | 69 63 61 6c 20 6c 69 73 |hierarch|ical lis| |00001410| 74 2e 0d 20 20 20 20 20 | 6e 75 6d 49 74 65 6d 73 |t.. |numItems| |00001420| 20 20 69 73 20 74 68 65 | 20 6e 75 6d 62 65 72 20 | is the| number | |00001430| 6f 66 20 69 74 65 6d 73 | 20 79 6f 75 20 77 61 6e |of items| you wan| |00001440| 74 20 74 6f 20 61 64 64 | 20 61 74 20 6f 6e 63 65 |t to add| at once| |00001450| 0d 20 20 20 20 20 69 74 | 65 6d 73 50 74 72 20 20 |. it|emsPtr | |00001460| 69 73 20 61 20 70 6f 69 | 6e 74 65 72 20 74 6f 20 |is a poi|nter to | |00001470| 74 68 65 20 69 64 65 6e | 74 69 66 69 65 72 73 20 |the iden|tifiers | |00001480| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 61 64 64 20 |you want| to add | |00001490| 28 69 74 20 63 61 6e 20 | 62 65 20 74 68 65 20 61 |(it can |be the a| |000014a0| 64 64 72 65 73 73 0d 20 | 20 20 20 20 20 20 20 20 |ddress. | | |000014b0| 20 20 20 20 20 20 6f 66 | 20 61 6e 20 61 72 72 61 | of| an arra| |000014c0| 79 20 6f 66 20 69 64 65 | 6e 74 69 66 69 65 72 73 |y of ide|ntifiers| |000014d0| 29 2e 0d 20 20 20 20 20 | 70 72 65 53 6f 72 74 20 |).. |preSort | |000014e0| 20 20 74 65 6c 6c 73 20 | 74 68 65 20 44 61 74 61 | tells |the Data| |000014f0| 42 72 6f 77 73 65 72 20 | 69 66 20 74 68 65 20 6e |Browser |if the n| |00001500| 65 77 20 69 74 65 6d 73 | 20 61 72 65 20 61 6c 72 |ew items| are alr| |00001510| 65 61 64 79 20 73 6f 72 | 74 65 64 20 6f 72 20 6e |eady sor|ted or n| |00001520| 6f 74 2e 0d 0d 44 49 53 | 50 4c 41 59 49 4e 47 20 |ot...DIS|PLAYING | |00001530| 54 48 45 20 49 4e 46 4f | 0d 27 7e 27 39 0d 20 20 |THE INFO|.'~'9. | |00001540| 20 20 20 4e 6f 77 20 74 | 68 61 74 20 79 6f 75 20 | Now t|hat you | |00001550| 68 61 76 65 20 63 6f 6c | 75 6d 6e 73 20 61 6e 64 |have col|umns and| |00001560| 20 72 6f 77 73 2c 20 79 | 6f 75 20 63 61 6e 20 64 | rows, y|ou can d| |00001570| 69 73 70 6c 61 79 20 65 | 61 63 68 20 63 65 6c 6c |isplay e|ach cell| |00001580| 20 69 6e 20 74 68 65 20 | 74 61 62 6c 65 2e 0d 20 | in the |table.. | |00001590| 20 20 20 20 57 68 65 6e | 20 74 68 65 20 44 61 74 | When| the Dat| |000015a0| 61 42 72 6f 77 73 65 72 | 20 63 6f 6e 74 72 6f 6c |aBrowser| control| |000015b0| 20 6e 65 65 64 73 20 74 | 6f 20 75 70 64 61 74 65 | needs t|o update| |000015c0| 20 74 68 65 20 64 69 73 | 70 6c 61 79 2c 20 69 74 | the dis|play, it| |000015d0| 20 63 61 6c 6c 73 20 79 | 6f 75 72 0d 20 20 20 20 | calls y|our. | |000015e0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 76 69 61 | applica|tion via| |000015f0| 20 74 68 65 20 69 74 65 | 6d 44 61 74 61 43 61 6c | the ite|mDataCal| |00001600| 6c 62 61 63 6b 20 72 6f | 75 74 69 6e 65 2e 20 49 |lback ro|utine. I| |00001610| 74 20 69 73 20 74 6f 20 | 6e 6f 74 65 20 74 68 61 |t is to |note tha| |00001620| 74 20 74 68 65 20 73 61 | 6d 65 20 72 6f 75 74 69 |t the sa|me routi| |00001630| 6e 65 0d 20 20 20 20 20 | 69 73 20 69 6e 76 6f 6b |ne. |is invok| |00001640| 65 64 20 62 6f 74 68 20 | 66 6f 72 20 67 65 74 74 |ed both |for gett| |00001650| 69 6e 67 20 61 6e 64 20 | 73 65 74 74 69 6e 67 20 |ing and |setting | |00001660| 74 68 65 20 64 61 74 61 | 20 6f 66 20 74 68 65 20 |the data| of the | |00001670| 63 65 6c 6c 73 2e 20 54 | 68 65 20 44 61 74 61 42 |cells. T|he DataB| |00001680| 72 6f 77 73 65 72 0d 20 | 20 20 20 20 63 61 6e 20 |rowser. | can | |00001690| 69 6e 66 6f 72 6d 20 79 | 6f 75 72 20 70 72 6f 67 |inform y|our prog| |000016a0| 72 61 6d 20 77 68 65 6e | 20 74 68 65 20 65 6e 64 |ram when| the end| |000016b0| 20 75 73 65 72 20 68 61 | 73 20 63 68 61 6e 67 65 | user ha|s change| |000016c0| 64 20 61 20 63 65 6c 6c | 27 73 20 63 6f 6e 74 65 |d a cell|'s conte| |000016d0| 6e 74 2e 20 49 66 20 79 | 6f 75 0d 20 20 20 20 20 |nt. If y|ou. | |000016e0| 61 63 63 65 70 74 20 74 | 68 65 20 63 68 61 6e 67 |accept t|he chang| |000016f0| 65 2c 20 79 6f 75 72 20 | 70 72 6f 67 72 61 6d 20 |e, your |program | |00001700| 6d 75 73 74 20 73 79 6e | 63 68 72 6f 6e 69 7a 65 |must syn|chronize| |00001710| 20 69 6e 74 65 72 6e 61 | 6c 6c 79 20 69 74 73 20 | interna|lly its | |00001720| 6f 77 6e 20 64 61 74 61 | 20 73 6f 20 74 68 61 74 |own data| so that| |00001730| 0d 20 20 20 20 20 74 68 | 65 20 6e 65 78 74 20 74 |. th|e next t| |00001740| 69 6d 65 20 74 68 65 20 | 44 61 74 61 42 72 6f 77 |ime the |DataBrow| |00001750| 73 65 72 20 63 61 6c 6c | 73 20 74 68 65 20 72 6f |ser call|s the ro| |00001760| 75 74 69 6e 65 20 74 6f | 20 75 70 64 61 74 65 20 |utine to| update | |00001770| 74 68 65 20 64 69 73 70 | 6c 61 79 20 74 68 65 20 |the disp|lay the | |00001780| 72 69 67 68 74 0d 20 20 | 20 20 20 69 6e 66 6f 72 |right. | infor| |00001790| 6d 61 74 69 6f 6e 20 69 | 73 20 70 61 73 73 65 64 |mation i|s passed| |000017a0| 20 62 61 63 6b 2e 20 54 | 68 69 73 20 69 73 20 6e | back. T|his is n| |000017b0| 6f 74 20 73 68 6f 77 6e | 20 69 6e 20 74 68 65 20 |ot shown| in the | |000017c0| 63 75 72 72 65 6e 74 20 | 64 65 6d 6f 20 74 68 61 |current |demo tha| |000017d0| 74 20 6d 65 72 65 6c 79 | 0d 20 20 20 20 20 70 72 |t merely|. pr| |000017e0| 6f 76 69 64 65 73 20 69 | 6e 66 6f 20 74 6f 20 74 |ovides i|nfo to t| |000017f0| 68 65 20 44 61 74 61 42 | 72 6f 77 73 65 72 20 66 |he DataB|rowser f| |00001800| 6f 72 20 74 68 65 20 64 | 69 73 70 6c 61 79 20 6f |or the d|isplay o| |00001810| 6e 6c 79 2e 0d 0d 20 20 | 20 20 20 54 68 65 20 69 |nly... | The i| |00001820| 74 65 6d 44 61 74 61 43 | 61 6c 6c 62 61 63 6b 20 |temDataC|allback | |00001830| 70 72 6f 63 65 64 75 72 | 65 20 28 61 6c 73 6f 20 |procedur|e (also | |00001840| 6b 6e 6f 77 6e 20 61 73 | 20 47 65 74 53 65 74 49 |known as| GetSetI| |00001850| 74 65 6d 44 61 74 61 50 | 72 6f 63 29 20 72 65 63 |temDataP|roc) rec| |00001860| 65 69 76 65 73 0d 20 20 | 20 20 20 74 68 65 20 66 |eives. | the f| |00001870| 6f 6c 6c 6f 77 69 6e 67 | 20 70 61 72 61 6d 65 74 |ollowing| paramet| |00001880| 65 72 73 3a 20 0d 0d 20 | 20 20 20 20 47 65 74 53 |ers: .. | GetS| |00001890| 65 74 49 74 65 6d 44 61 | 74 61 50 72 6f 63 28 20 |etItemDa|taProc( | |000018a0| 62 72 6f 77 73 65 72 20 | 2c 20 69 74 65 6d 49 44 |browser |, itemID| |000018b0| 2c 20 70 72 6f 70 65 72 | 74 79 49 44 2c 20 69 74 |, proper|tyID, it| |000018c0| 65 6d 44 61 74 61 2c 20 | 63 68 61 6e 67 65 56 61 |emData, |changeVa| |000018d0| 6c 75 65 29 0d 0d 20 20 | 20 20 20 62 72 6f 77 73 |lue).. | brows| |000018e0| 65 72 20 20 20 20 20 69 | 73 20 74 68 65 20 44 61 |er i|s the Da| |000018f0| 74 61 42 72 6f 77 73 65 | 72 20 43 6f 6e 74 72 6f |taBrowse|r Contro| |00001900| 6c 52 65 66 0d 20 20 20 | 20 20 69 74 65 6d 49 44 |lRef. | itemID| |00001910| 20 20 20 20 20 20 69 73 | 20 74 68 65 20 69 74 65 | is| the ite| |00001920| 6d 20 69 64 65 6e 74 69 | 66 69 65 72 20 28 74 68 |m identi|fier (th| |00001930| 65 20 72 6f 77 20 69 6e | 20 74 68 65 20 74 61 62 |e row in| the tab| |00001940| 6c 65 29 0d 20 20 20 20 | 20 70 72 6f 70 65 72 74 |le). | propert| |00001950| 79 20 20 20 20 69 73 20 | 74 68 65 20 63 6f 6c 75 |y is |the colu| |00001960| 6d 6e 20 69 64 65 6e 74 | 69 66 69 65 72 0d 20 20 |mn ident|ifier. | |00001970| 20 20 20 69 74 65 6d 44 | 61 74 61 20 20 20 20 69 | itemD|ata i| |00001980| 73 20 61 20 70 6f 69 6e | 74 65 72 20 74 6f 20 61 |s a poin|ter to a| |00001990| 20 62 75 66 66 65 72 20 | 74 68 61 74 20 63 6f 6e | buffer |that con| |000019a0| 74 61 69 6e 73 20 6f 72 | 20 77 69 6c 6c 20 72 65 |tains or| will re| |000019b0| 63 65 69 76 65 20 74 68 | 65 20 64 61 74 61 0d 20 |ceive th|e data. | |000019c0| 20 20 20 20 63 68 61 6e | 67 65 56 61 6c 75 65 20 | chan|geValue | |000019d0| 69 73 20 61 20 62 6f 6f | 6c 65 61 6e 20 76 61 6c |is a boo|lean val| |000019e0| 75 65 2e 20 49 66 20 74 | 68 61 74 20 70 61 72 61 |ue. If t|hat para| |000019f0| 6d 65 74 65 72 20 69 73 | 20 74 72 75 65 2c 20 74 |meter is| true, t| |00001a00| 68 61 74 20 6d 65 61 6e | 73 20 74 68 61 74 0d 20 |hat mean|s that. | |00001a10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00001a20| 74 68 65 20 63 65 6c 6c | 27 73 20 63 6f 6e 74 65 |the cell|'s conte| |00001a30| 6e 74 20 68 61 73 20 62 | 65 65 6e 20 63 68 61 6e |nt has b|een chan| |00001a40| 67 65 64 20 62 79 20 74 | 68 65 20 65 6e 64 20 75 |ged by t|he end u| |00001a50| 73 65 72 2c 20 61 6e 64 | 20 79 6f 75 0d 20 20 20 |ser, and| you. | |00001a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 61 | | ca| |00001a70| 6e 20 72 65 74 72 69 65 | 76 65 20 74 68 65 20 6e |n retrie|ve the n| |00001a80| 65 77 20 76 61 6c 75 65 | 20 69 6e 20 74 68 65 20 |ew value| in the | |00001a90| 69 74 65 6d 44 61 74 61 | 20 62 75 66 66 65 72 2e |itemData| buffer.| |00001aa0| 20 59 6f 75 20 6d 75 73 | 74 20 74 68 65 6e 0d 20 | You mus|t then. | |00001ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00001ac0| 75 70 64 61 74 65 20 74 | 68 65 20 69 6e 66 6f 20 |update t|he info | |00001ad0| 74 68 61 74 20 79 6f 75 | 72 20 70 72 6f 67 72 61 |that you|r progra| |00001ae0| 6d 20 6d 61 69 6e 74 61 | 69 6e 73 20 69 6e 74 65 |m mainta|ins inte| |00001af0| 72 6e 61 6c 6c 79 2e 20 | 49 66 20 63 68 61 6e 67 |rnally. |If chang| |00001b00| 65 56 61 6c 75 65 0d 20 | 20 20 20 20 20 20 20 20 |eValue. | | |00001b10| 20 20 20 20 20 20 20 20 | 69 73 20 66 61 6c 73 65 | |is false| |00001b20| 2c 20 79 6f 75 20 61 72 | 65 20 61 73 6b 65 64 20 |, you ar|e asked | |00001b30| 74 6f 20 70 61 73 73 20 | 74 68 65 20 76 61 6c 75 |to pass |the valu| |00001b40| 65 20 69 6e 20 74 68 65 | 20 69 74 65 6d 44 61 74 |e in the| itemDat| |00001b50| 61 20 62 75 66 66 65 72 | 0d 20 20 20 20 20 20 20 |a buffer|. | |00001b60| 20 20 20 20 20 20 20 20 | 20 20 73 6f 20 74 68 61 | | so tha| |00001b70| 74 20 74 68 65 20 44 61 | 74 61 42 72 6f 77 73 65 |t the Da|taBrowse| |00001b80| 72 20 63 61 6e 20 64 69 | 73 70 6c 61 79 20 74 68 |r can di|splay th| |00001b90| 65 20 63 6f 72 72 65 63 | 74 20 69 6e 66 6f 72 6d |e correc|t inform| |00001ba0| 61 74 69 6f 6e 20 74 6f | 20 74 68 65 0d 20 20 20 |ation to| the. | |00001bb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 65 6e | | en| |00001bc0| 64 20 75 73 65 72 2e 0d | 0d 20 20 20 20 20 54 68 |d user..|. Th| |00001bd0| 65 20 76 61 6c 75 65 20 | 73 74 6f 72 65 64 20 6f |e value |stored o| |00001be0| 72 20 72 65 74 72 69 65 | 76 65 64 20 76 69 61 20 |r retrie|ved via | |00001bf0| 74 68 65 20 69 74 65 6d | 44 61 74 61 20 62 75 66 |the item|Data buf| |00001c00| 66 65 72 20 64 65 70 65 | 6e 64 73 20 6f 6e 20 74 |fer depe|nds on t| |00001c10| 68 65 20 63 6f 6c 75 6d | 6e 27 73 20 74 79 70 65 |he colum|n's type| |00001c20| 2e 0d 20 20 20 20 20 4e | 6f 74 65 20 74 68 61 74 |.. N|ote that| |00001c30| 20 65 61 63 68 20 74 79 | 70 65 20 68 61 73 20 69 | each ty|pe has i| |00001c40| 74 73 20 6f 77 6e 20 54 | 6f 6f 6c 62 6f 78 20 67 |ts own T|oolbox g| |00001c50| 65 74 74 65 72 20 61 6e | 64 20 73 65 74 74 65 72 |etter an|d setter| |00001c60| 20 66 75 6e 63 74 69 6f | 6e 73 2c 20 66 6f 72 20 | functio|ns, for | |00001c70| 65 78 61 6d 70 6c 65 3a | 0d 20 20 20 20 20 53 65 |example:|. Se| |00001c80| 74 44 61 74 61 42 72 6f | 77 73 65 72 49 74 65 6d |tDataBro|wserItem| |00001c90| 44 61 74 61 54 65 78 74 | 2c 20 47 65 74 44 61 74 |DataText|, GetDat| |00001ca0| 61 42 72 6f 77 73 65 72 | 49 74 65 6d 44 61 74 61 |aBrowser|ItemData| |00001cb0| 49 63 6f 6e 2c 20 53 65 | 74 44 61 74 61 42 72 6f |Icon, Se|tDataBro| |00001cc0| 77 73 65 72 49 74 65 6d | 44 61 74 61 42 6f 6f 6c |wserItem|DataBool| |00001cd0| 65 61 6e 56 61 6c 75 65 | 0d 0d 20 20 20 20 20 49 |eanValue|.. I| |00001ce0| 6e 20 74 68 69 73 20 64 | 65 6d 6f 20 74 68 65 72 |n this d|emo ther| |00001cf0| 65 20 61 72 65 20 74 77 | 6f 20 64 69 61 6c 6f 67 |e are tw|o dialog| |00001d00| 20 77 69 6e 64 6f 77 73 | 20 74 68 61 74 20 61 6c | windows| that al| |00001d10| 6c 6f 77 20 79 6f 75 20 | 74 6f 20 63 68 61 6e 67 |low you |to chang| |00001d20| 65 20 73 6f 6d 65 20 6f | 74 68 65 72 20 73 65 74 |e some o|ther set| |00001d30| 74 69 6e 67 73 20 6f 66 | 0d 20 20 20 20 20 74 68 |tings of|. th| |00001d40| 65 20 44 61 74 61 42 72 | 6f 77 73 65 72 2e 20 54 |e DataBr|owser. T| |00001d50| 6f 79 69 6e 67 20 61 20 | 62 69 74 20 77 69 74 68 |oying a |bit with| |00001d60| 20 74 68 65 20 70 72 6f | 67 72 61 6d 2c 20 79 6f | the pro|gram, yo| |00001d70| 75 20 77 69 6c 6c 20 62 | 65 20 69 6d 70 72 65 73 |u will b|e impres| |00001d80| 73 65 64 20 62 79 20 74 | 68 61 74 0d 20 20 20 20 |sed by t|hat. | |00001d90| 20 69 6e 63 72 65 64 69 | 62 6c 65 20 63 6f 6e 74 | incredi|ble cont| |00001da0| 72 6f 6c 20 28 74 72 79 | 20 74 6f 20 64 72 61 67 |rol (try| to drag| |00001db0| 20 74 68 65 20 63 6f 6c | 75 6d 6e 20 68 65 61 64 | the col|umn head| |00001dc0| 65 72 73 2c 20 6f 72 20 | 74 6f 20 70 6c 61 79 20 |ers, or |to play | |00001dd0| 77 69 74 68 20 74 68 65 | 20 6b 65 79 62 6f 61 72 |with the| keyboar| |00001de0| 64 20 66 6f 72 20 69 6e | 73 74 61 6e 63 65 29 0d |d for in|stance).| |00001df0| 0d 20 41 44 44 49 54 49 | 4f 4e 41 4c 20 4e 4f 54 |. ADDITI|ONAL NOT| |00001e00| 45 20 0d 27 7e 27 39 0d | 20 20 20 20 20 54 68 69 |E .'~'9.| Thi| |00001e10| 73 20 69 73 20 74 68 65 | 20 62 61 73 69 73 20 74 |s is the| basis t| |00001e20| 6f 20 73 74 61 72 74 2c | 20 62 75 74 20 74 68 65 |o start,| but the| |00001e30| 72 65 27 73 20 6d 75 63 | 68 20 6d 6f 72 65 20 74 |re's muc|h more t| |00001e40| 6f 20 6c 65 61 72 6e 20 | 61 62 6f 75 74 20 74 68 |o learn |about th| |00001e50| 69 73 20 76 65 72 73 61 | 74 69 6c 65 20 63 6f 6e |is versa|tile con| |00001e60| 74 72 6f 6c 2e 0d 20 20 | 20 20 20 59 6f 75 20 73 |trol.. | You s| |00001e70| 68 6f 75 6c 64 20 72 65 | 61 64 20 41 70 70 6c 65 |hould re|ad Apple| |00001e80| 20 54 65 63 68 6e 6f 74 | 65 20 32 30 30 39 20 66 | Technot|e 2009 f| |00001e90| 6f 72 20 6d 6f 72 65 20 | 69 6e 20 64 65 70 74 68 |or more |in depth| |00001ea0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2e 0d 0d 20 | informa|tion... | |00001eb0| 20 20 20 20 54 68 65 20 | 44 61 74 61 42 72 6f 77 | The |DataBrow| |00001ec0| 73 65 72 20 69 73 20 73 | 6f 6d 65 77 68 61 74 20 |ser is s|omewhat | |00001ed0| 69 6e 74 69 6d 69 64 61 | 74 69 6e 67 20 61 74 20 |intimida|ting at | |00001ee0| 66 69 72 73 74 20 67 6c | 61 6e 63 65 2c 20 62 75 |first gl|ance, bu| |00001ef0| 74 20 6f 6e 63 65 20 79 | 6f 75 20 68 61 76 65 20 |t once y|ou have | |00001f00| 75 6e 64 65 72 73 74 6f | 6f 64 0d 20 20 20 20 20 |understo|od. | |00001f10| 74 68 65 20 70 72 69 6e | 63 69 70 6c 65 73 2c 20 |the prin|ciples, | |00001f20| 61 6c 6c 20 62 65 63 6f | 6d 65 73 20 65 61 73 69 |all beco|mes easi| |00001f30| 65 72 2e 20 54 68 65 20 | 64 65 6d 6f 20 77 61 6e |er. The |demo wan| |00001f40| 74 73 20 74 6f 20 73 68 | 6f 77 63 61 73 65 20 74 |ts to sh|owcase t| |00001f50| 68 65 20 6d 61 69 6e 20 | 66 65 61 74 75 72 65 73 |he main |features| |00001f60| 2c 0d 20 20 20 20 20 62 | 75 74 20 74 68 65 72 65 |,. b|ut there| |00001f70| 20 69 73 20 6d 75 63 68 | 20 6d 6f 72 65 20 74 6f | is much| more to| |00001f80| 20 6c 65 61 72 6e 20 61 | 6e 64 20 64 69 73 63 6f | learn a|nd disco| |00001f90| 76 65 72 20 6f 6e 20 74 | 68 61 74 20 70 6f 77 65 |ver on t|hat powe| |00001fa0| 72 66 75 6c 20 63 6f 6e | 74 72 6f 6c 2e 0d 0d 20 |rful con|trol... | |00001fb0| 20 20 20 20 54 68 65 20 | 6b 6e 6f 77 6e 20 62 75 | The |known bu| |00001fc0| 67 73 3a 0d 0d 20 20 20 | 20 20 a5 20 74 68 65 20 |gs:.. | . the | |00001fd0| 63 6f 6c 75 6d 6e 20 63 | 68 65 63 6b 62 6f 78 20 |column c|heckbox | |00001fe0| 62 65 68 61 76 65 73 20 | 73 74 72 61 6e 67 65 6c |behaves |strangel| |00001ff0| 79 0d 0d 20 20 20 20 20 | a5 20 74 68 65 20 61 70 |y.. |. the ap| |00002000| 70 6c 69 63 61 74 69 6f | 6e 20 63 72 61 73 68 20 |plicatio|n crash | |00002010| 6f 6e 20 63 6c 6f 73 69 | 6e 67 20 74 68 65 20 6d |on closi|ng the m| |00002020| 61 69 6e 20 77 69 6e 64 | 6f 77 20 76 69 61 20 74 |ain wind|ow via t| |00002030| 68 65 20 43 6c 6f 73 65 | 20 6d 65 6e 75 20 69 74 |he Close| menu it| |00002040| 65 6d 0d 20 20 20 20 20 | 68 61 73 20 62 65 65 6e |em. |has been| |00002050| 20 66 69 78 65 64 20 74 | 68 61 6e 6b 73 20 74 6f | fixed t|hanks to| |00002060| 20 52 6f 62 65 72 74 20 | 50 75 72 76 65 73 2e 0d | Robert |Purves..| |00002070| 0d 20 20 20 20 20 49 20 | 68 61 76 65 20 61 6c 73 |. I |have als| |00002080| 6f 20 69 6d 70 72 6f 76 | 65 64 20 61 20 62 69 74 |o improv|ed a bit| |00002090| 20 74 68 65 20 6f 72 69 | 67 69 6e 61 6c 20 64 65 | the ori|ginal de| |000020a0| 6d 6f 20 66 72 6f 6d 20 | 41 70 70 6c 65 2c 20 62 |mo from |Apple, b| |000020b0| 75 74 20 49 20 68 61 76 | 65 20 61 6c 73 6f 0d 20 |ut I hav|e also. | |000020c0| 20 20 20 20 63 6c 75 74 | 74 65 72 65 64 20 73 6c | clut|tered sl| |000020d0| 69 67 68 74 6c 79 20 74 | 68 65 20 63 6f 64 65 20 |ightly t|he code | |000020e0| 62 65 63 61 75 73 65 20 | 49 20 77 61 6e 74 65 64 |because |I wanted| |000020f0| 20 74 6f 20 75 73 65 20 | 70 72 6f 74 6f 74 79 70 | to use |prototyp| |00002100| 65 20 66 75 6e 63 74 69 | 6f 6e 73 0d 20 20 20 20 |e functi|ons. | |00002110| 20 77 69 74 68 20 61 6c | 6c 20 74 68 65 20 63 61 | with al|l the ca| |00002120| 6c 6c 62 61 63 6b 20 70 | 72 6f 63 65 64 75 72 65 |llback p|rocedure| |00002130| 73 20 64 65 66 69 6e 65 | 64 20 69 6e 20 74 68 69 |s define|d in thi| |00002140| 73 20 70 72 6f 67 72 61 | 6d 2e 0d 0d 20 20 20 20 |s progra|m... | |00002150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00002160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00002170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00002180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 41 6c 61 | | Ala| |00002190| 69 6e 20 20 20 41 70 72 | 69 6c 20 32 30 30 33 0d |in Apr|il 2003.| |000021a0| 2a 2f 0d 27 7e 27 36 0d | 0d 72 65 73 6f 75 72 63 |*/.'~'6.|.resourc| |000021b0| 65 73 20 22 42 61 73 69 | 63 20 44 61 74 61 42 72 |es "Basi|c DataBr| |000021c0| 6f 77 65 72 2e 72 73 72 | 63 22 0d 0d 69 6e 63 6c |ower.rsr|c"..incl| |000021d0| 75 64 65 20 22 54 6c 62 | 78 20 44 72 61 67 4d 67 |ude "Tlb|x DragMg| |000021e0| 72 2e 49 6e 63 6c 22 2f | 2f 20 75 73 65 64 20 66 |r.Incl"/|/ used f| |000021f0| 6f 72 20 64 65 63 6c 61 | 72 61 74 69 6f 6e 73 20 |or decla|rations | |00002200| 66 6f 72 20 64 72 61 67 | 26 64 72 6f 70 20 73 75 |for drag|&drop su| |00002210| 70 70 6f 72 74 0d 69 6e | 63 6c 75 64 65 20 22 54 |pport.in|clude "T| |00002220| 6c 62 78 20 4d 61 63 48 | 65 6c 70 2e 49 6e 63 6c |lbx MacH|elp.Incl| |00002230| 22 2f 2f 20 75 73 65 64 | 20 66 6f 72 20 68 65 6c |"// used| for hel| |00002240| 70 20 74 61 67 73 20 73 | 75 70 70 6f 72 74 20 3f |p tags s|upport ?| |00002250| 0d 69 6e 63 6c 75 64 65 | 20 22 54 6c 62 78 20 43 |.include| "Tlbx C| |00002260| 61 72 62 6f 6e 45 76 65 | 6e 74 73 2e 49 6e 63 6c |arbonEve|nts.Incl| |00002270| 22 2f 2f 20 6f 72 69 67 | 69 6e 61 6c 20 46 42 20 |"// orig|inal FB | |00002280| 68 65 61 64 65 72 20 66 | 6f 72 20 43 61 72 62 6f |header f|or Carbo| |00002290| 6e 20 45 76 65 6e 74 73 | 0d 0d 69 6e 63 6c 75 64 |n Events|..includ| |000022a0| 65 20 22 54 6c 62 78 20 | 43 6f 6e 74 72 6f 6c 44 |e "Tlbx |ControlD| |000022b0| 65 66 69 6e 69 74 69 6f | 6e 73 2e 49 6e 63 6c 22 |efinitio|ns.Incl"| |000022c0| 2f 2f 20 6d 79 20 63 6f | 6e 76 65 72 74 65 64 20 |// my co|nverted | |000022d0| 41 70 70 6c 65 20 68 65 | 61 64 65 72 20 66 69 6c |Apple he|ader fil| |000022e0| 65 20 66 6f 72 20 64 61 | 74 61 20 62 72 6f 77 73 |e for da|ta brows| |000022f0| 65 72 20 64 65 63 6c 61 | 72 61 74 69 6f 6e 0d 0d |er decla|ration..| |00002300| 27 7e 12 54 6f 6f 6c 62 | 6f 78 20 41 64 64 65 64 |'~.Toolb|ox Added| |00002310| 20 44 65 63 6c 61 72 61 | 74 69 6f 6e 73 0d 0d 23 | Declara|tions..#| |00002320| 64 65 66 69 6e 65 20 44 | 69 61 6c 6f 67 49 74 65 |define D|ialogIte| |00002330| 6d 49 6e 64 65 78 20 20 | 20 20 20 20 20 61 73 20 |mIndex | as | |00002340| 53 49 6e 74 31 36 0d 23 | 64 65 66 69 6e 65 20 43 |SInt16.#|define C| |00002350| 6c 69 63 6b 41 63 74 69 | 76 61 74 69 6f 6e 52 65 |lickActi|vationRe| |00002360| 73 75 6c 74 20 61 73 20 | 55 49 6e 74 33 32 0d 0d |sult as |UInt32..| |00002370| 62 65 67 69 6e 20 72 65 | 63 6f 72 64 20 68 6c 52 |begin re|cord hlR| |00002380| 65 63 0d 64 69 6d 20 6c | 48 69 67 68 20 61 73 20 |ec.dim l|High as | |00002390| 55 49 6e 74 33 32 0d 64 | 69 6d 20 6c 4c 6f 77 20 |UInt32.d|im lLow | |000023a0| 20 61 73 20 55 49 6e 74 | 33 32 0d 65 6e 64 20 72 | as UInt|32.end r| |000023b0| 65 63 6f 72 64 0d 0d 62 | 65 67 69 6e 20 72 65 63 |ecord..b|egin rec| |000023c0| 6f 72 64 20 4c 6f 6e 67 | 44 61 74 65 43 76 74 0d |ord Long|DateCvt.| |000023d0| 62 65 67 69 6e 20 75 6e | 69 6f 6e 0d 64 69 6d 20 |begin un|ion.dim | |000023e0| 63 2e 36 34 20 27 61 73 | 20 20 53 49 6e 74 36 34 |c.64 'as| SInt64| |000023f0| 20 0d 64 69 6d 20 68 6c | 20 61 73 20 68 6c 52 65 | .dim hl| as hlRe| |00002400| 63 0d 65 6e 64 20 75 6e | 69 6f 6e 0d 65 6e 64 20 |c.end un|ion.end | |00002410| 72 65 63 6f 72 64 0d 0d | 5f 6b 57 69 6e 64 6f 77 |record..|_kWindow| |00002420| 49 6e 57 69 6e 64 6f 77 | 4d 65 6e 75 41 74 74 72 |InWindow|MenuAttr| |00002430| 69 62 75 74 65 20 20 3d | 20 28 31 20 3c 3c 20 32 |ibute =| (1 << 2| |00002440| 37 20 29 0d 5f 6b 43 6f | 6e 74 72 6f 6c 44 61 74 |7 )._kCo|ntrolDat| |00002450| 61 42 72 6f 77 73 65 72 | 50 61 72 74 20 20 20 20 |aBrowser|Part | |00002460| 20 20 20 3d 20 32 34 0d | 5f 74 79 70 65 55 49 6e | = 24.|_typeUIn| |00002470| 74 33 32 20 3d 20 5f 22 | 6d 61 67 6e 22 0d 5f 6b |t32 = _"|magn"._k| |00002480| 43 6f 6e 74 72 6f 6c 4e | 6f 43 6f 6e 74 65 6e 74 |ControlN|oContent| |00002490| 20 3d 20 30 0d 5f 6e 6f | 72 6d 61 6c 20 3d 20 30 | = 0._no|rmal = 0| |000024a0| 0d 0d 5f 6b 43 6f 6e 74 | 72 6f 6c 46 6f 6e 74 56 |.._kCont|rolFontV| |000024b0| 69 65 77 53 79 73 74 65 | 6d 46 6f 6e 74 20 20 20 |iewSyste|mFont | |000024c0| 20 3d 20 2d 34 20 2f 2a | 20 66 6f 72 63 65 20 74 | = -4 /*| force t| |000024d0| 6f 20 76 69 65 77 73 20 | 73 79 73 74 65 6d 20 66 |o views |system f| |000024e0| 6f 6e 74 20 28 44 61 74 | 61 42 72 6f 77 73 65 72 |ont (Dat|aBrowser| |000024f0| 20 63 6f 6e 74 72 6f 6c | 20 6f 6e 6c 79 29 2a 2f | control| only)*/| |00002500| 0d 0d 74 6f 6f 6c 62 6f | 78 20 66 6e 20 53 65 74 |..toolbo|x fn Set| |00002510| 41 75 74 6f 6d 61 74 69 | 63 43 6f 6e 74 72 6f 6c |Automati|cControl| |00002520| 44 72 61 67 54 72 61 63 | 6b 69 6e 67 45 6e 61 62 |DragTrac|kingEnab| |00002530| 6c 65 64 46 6f 72 57 69 | 6e 64 6f 77 28 20 57 69 |ledForWi|ndow( Wi| |00002540| 6e 64 6f 77 52 65 66 20 | 69 6e 57 69 6e 64 6f 77 |ndowRef |inWindow| |00002550| 2c 20 42 6f 6f 6c 65 61 | 6e 20 69 6e 54 72 61 63 |, Boolea|n inTrac| |00002560| 6b 73 29 20 3d 20 4f 53 | 53 74 61 74 75 73 0d 74 |ks) = OS|Status.t| |00002570| 6f 6f 6c 62 6f 78 20 66 | 6e 20 47 65 74 44 69 61 |oolbox f|n GetDia| |00002580| 6c 6f 67 57 69 6e 64 6f | 77 28 44 69 61 6c 6f 67 |logWindo|w(Dialog| |00002590| 52 65 66 20 64 69 61 6c | 6f 67 29 20 3d 20 57 69 |Ref dial|og) = Wi| |000025a0| 6e 64 6f 77 52 65 66 0d | 74 6f 6f 6c 62 6f 78 20 |ndowRef.|toolbox | |000025b0| 66 6e 20 53 65 74 43 6f | 6e 74 72 6f 6c 50 72 6f |fn SetCo|ntrolPro| |000025c0| 70 65 72 74 79 20 28 20 | 43 6f 6e 74 72 6f 6c 52 |perty ( |ControlR| |000025d0| 65 66 20 63 2c 20 4f 53 | 54 79 70 65 20 70 72 6f |ef c, OS|Type pro| |000025e0| 70 65 72 74 79 43 72 65 | 61 74 6f 72 2c 20 4f 53 |pertyCre|ator, OS| |000025f0| 54 79 70 65 20 70 72 6f | 70 65 72 74 79 54 61 67 |Type pro|pertyTag| |00002600| 2c 20 55 49 6e 74 33 32 | 20 70 72 6f 70 65 72 74 |, UInt32| propert| |00002610| 79 53 69 7a 65 2c 20 70 | 74 72 20 2a 20 70 72 6f |ySize, p|tr * pro| |00002620| 70 65 72 74 79 44 61 74 | 61 20 29 20 3d 20 4f 53 |pertyDat|a ) = OS| |00002630| 53 74 61 74 75 73 0d 74 | 6f 6f 6c 62 6f 78 20 66 |Status.t|oolbox f| |00002640| 6e 20 47 65 74 43 6f 6e | 74 72 6f 6c 50 72 6f 70 |n GetCon|trolProp| |00002650| 65 72 74 79 20 28 20 43 | 6f 6e 74 72 6f 6c 52 65 |erty ( C|ontrolRe| |00002660| 66 20 63 2c 20 4f 53 54 | 79 70 65 20 70 72 6f 70 |f c, OST|ype prop| |00002670| 65 72 74 79 43 72 65 61 | 74 6f 72 2c 20 4f 53 54 |ertyCrea|tor, OST| |00002680| 79 70 65 20 70 72 6f 70 | 65 72 74 79 54 61 67 2c |ype prop|ertyTag,| |00002690| 20 55 49 6e 74 33 32 20 | 62 75 66 66 65 72 53 69 | UInt32 |bufferSi| |000026a0| 7a 65 2c 20 55 49 6e 74 | 33 32 20 2a 20 61 63 74 |ze, UInt|32 * act| |000026b0| 75 61 6c 53 69 7a 65 2c | 20 70 74 72 20 2a 20 70 |ualSize,| ptr * p| |000026c0| 72 6f 70 65 72 74 79 42 | 75 66 66 65 72 20 29 20 |ropertyB|uffer ) | |000026d0| 3d 20 4f 53 53 74 61 74 | 75 73 0d 74 6f 6f 6c 62 |= OSStat|us.toolb| |000026e0| 6f 78 20 66 6e 20 47 65 | 74 43 6f 6e 74 72 6f 6c |ox fn Ge|tControl| |000026f0| 50 72 6f 70 65 72 74 79 | 53 69 7a 65 20 28 20 43 |Property|Size ( C| |00002700| 6f 6e 74 72 6f 6c 52 65 | 66 20 63 2c 20 4f 53 54 |ontrolRe|f c, OST| |00002710| 79 70 65 20 70 72 6f 70 | 65 72 74 79 43 72 65 61 |ype prop|ertyCrea| |00002720| 74 6f 72 2c 20 4f 53 54 | 79 70 65 20 70 72 6f 70 |tor, OST|ype prop| |00002730| 65 72 74 79 54 61 67 2c | 20 55 49 6e 74 33 32 20 |ertyTag,| UInt32 | |00002740| 2a 20 73 69 7a 65 20 29 | 20 3d 20 4f 53 53 74 61 |* size )| = OSSta| |00002750| 74 75 73 0d 74 6f 6f 6c | 62 6f 78 20 66 6e 20 52 |tus.tool|box fn R| |00002760| 65 6d 6f 76 65 43 6f 6e | 74 72 6f 6c 50 72 6f 70 |emoveCon|trolProp| |00002770| 65 72 74 79 20 28 20 43 | 6f 6e 74 72 6f 6c 52 65 |erty ( C|ontrolRe| |00002780| 66 20 63 2c 20 4f 53 54 | 79 70 65 20 70 72 6f 70 |f c, OST|ype prop| |00002790| 65 72 74 79 43 72 65 61 | 74 6f 72 2c 20 4f 53 54 |ertyCrea|tor, OST| |000027a0| 79 70 65 20 70 72 6f 70 | 65 72 74 79 54 61 67 20 |ype prop|ertyTag | |000027b0| 29 20 3d 20 4f 53 53 74 | 61 74 75 73 0d 74 6f 6f |) = OSSt|atus.too| |000027c0| 6c 62 6f 78 20 66 6e 20 | 53 65 74 57 69 6e 64 6f |lbox fn |SetWindo| |000027d0| 77 43 6c 61 73 73 28 57 | 69 6e 64 6f 77 52 65 66 |wClass(W|indowRef| |000027e0| 2c 57 69 6e 64 6f 77 43 | 6c 61 73 73 29 20 3d 20 |,WindowC|lass) = | |000027f0| 4f 53 53 74 61 74 75 73 | 0d 74 6f 6f 6c 62 6f 78 |OSStatus|.toolbox| |00002800| 20 66 6e 20 47 65 74 44 | 69 61 6c 6f 67 46 72 6f | fn GetD|ialogFro| |00002810| 6d 57 69 6e 64 6f 77 28 | 57 69 6e 64 6f 77 52 65 |mWindow(|WindowRe| |00002820| 66 20 77 69 6e 64 6f 77 | 29 20 3d 20 44 69 61 6c |f window|) = Dial| |00002830| 6f 67 52 65 66 0d 74 6f | 6f 6c 62 6f 78 20 66 6e |ogRef.to|olbox fn| |00002840| 20 43 46 41 6c 6c 6f 63 | 61 74 6f 72 47 65 74 44 | CFAlloc|atorGetD| |00002850| 65 66 61 75 6c 74 20 3d | 20 43 46 41 6c 6c 6f 63 |efault =| CFAlloc| |00002860| 61 74 6f 72 52 65 66 0d | 74 6f 6f 6c 62 6f 78 20 |atorRef.|toolbox | |00002870| 66 6e 20 47 65 74 43 6f | 6e 74 72 6f 6c 43 6c 69 |fn GetCo|ntrolCli| |00002880| 63 6b 41 63 74 69 76 61 | 74 69 6f 6e 28 20 43 6f |ckActiva|tion( Co| |00002890| 6e 74 72 6f 6c 52 65 66 | 20 69 6e 43 6f 6e 74 72 |ntrolRef| inContr| |000028a0| 6f 6c 2c 20 50 6f 69 6e | 74 20 69 6e 57 68 65 72 |ol, Poin|t inWher| |000028b0| 65 2c 20 45 76 65 6e 74 | 4d 6f 64 69 66 69 65 72 |e, Event|Modifier| |000028c0| 73 20 69 6e 4d 6f 64 69 | 66 69 65 72 73 2c 20 43 |s inModi|fiers, C| |000028d0| 6c 69 63 6b 41 63 74 69 | 76 61 74 69 6f 6e 52 65 |lickActi|vationRe| |000028e0| 73 75 6c 74 20 2a 20 6f | 75 74 52 65 73 75 6c 74 |sult * o|utResult| |000028f0| 29 20 3d 20 4f 53 53 74 | 61 74 75 73 0d 74 6f 6f |) = OSSt|atus.too| |00002900| 6c 62 6f 78 20 66 6e 20 | 43 6f 6d 70 61 72 65 53 |lbox fn |CompareS| |00002910| 74 72 69 6e 67 28 20 73 | 74 72 32 35 35 20 61 53 |tring( s|tr255 aS| |00002920| 74 72 2c 20 73 74 72 32 | 35 35 20 62 53 74 72 2c |tr, str2|55 bStr,| |00002930| 20 48 61 6e 64 6c 65 20 | 69 74 6c 32 48 61 6e 64 | Handle |itl2Hand| |00002940| 6c 65 29 20 3d 20 73 68 | 6f 72 74 0d 0d 27 7e 12 |le) = sh|ort..'~.| |00002950| 41 70 70 6c 69 63 61 74 | 69 6f 6e 20 43 6f 6e 73 |Applicat|ion Cons| |00002960| 74 61 6e 74 73 0d 0d 62 | 65 67 69 6e 20 65 6e 75 |tants..b|egin enu| |00002970| 6d 0d 5f 66 6f 6c 64 65 | 72 49 6e 64 65 78 0d 5f |m._folde|rIndex._| |00002980| 64 6f 63 75 6d 65 6e 74 | 49 6e 64 65 78 0d 5f 66 |document|Index._f| |00002990| 6f 6c 64 65 72 41 6c 69 | 61 73 49 6e 64 65 78 0d |olderAli|asIndex.| |000029a0| 0d 5f 74 6f 74 61 6c 4e | 75 6d 49 63 6f 6e 73 0d |._totalN|umIcons.| |000029b0| 0d 5f 73 65 74 74 69 6e | 67 73 44 4c 4f 47 52 65 |._settin|gsDLOGRe| |000029c0| 73 49 44 20 20 20 3d 20 | 31 33 30 0d 5f 63 75 73 |sID = |130._cus| |000029d0| 74 6f 6d 69 7a 65 44 4c | 4f 47 52 65 73 49 44 20 |tomizeDL|OGResID | |000029e0| 20 3d 20 31 32 39 0d 0d | 5f 63 6f 6e 74 65 78 74 | = 129..|_context| |000029f0| 75 61 6c 4d 65 6e 75 52 | 65 73 49 44 20 3d 20 32 |ualMenuR|esID = 2| |00002a00| 30 30 0d 65 6e 64 20 65 | 6e 75 6d 0d 0d 62 65 67 |00.end e|num..beg| |00002a10| 69 6e 20 65 6e 75 6d 20 | 32 0d 5f 6e 6f 44 69 73 |in enum |2._noDis| |00002a20| 6a 6f 69 6e 74 42 74 6e | 0d 5f 64 72 61 67 53 65 |jointBtn|._dragSe| |00002a30| 6c 65 63 74 42 74 6e 0d | 5f 61 6c 77 61 79 73 45 |lectBtn.|_alwaysE| |00002a40| 78 74 65 6e 64 42 74 6e | 0d 5f 73 65 6c 65 63 74 |xtendBtn|._select| |00002a50| 4f 6e 6c 79 4f 6e 65 42 | 74 6e 0d 5f 72 65 73 65 |OnlyOneB|tn._rese| |00002a60| 74 53 65 6c 65 63 74 69 | 6f 6e 42 74 6e 0d 5f 63 |tSelecti|onBtn._c| |00002a70| 6f 6d 6d 61 6e 64 54 6f | 67 67 6c 65 73 42 74 6e |ommandTo|gglesBtn| |00002a80| 0d 0d 5f 61 63 74 69 76 | 65 49 74 65 6d 73 42 74 |.._activ|eItemsBt| |00002a90| 6e 0d 5f 66 72 61 6d 65 | 41 6e 64 46 6f 63 75 73 |n._frame|AndFocus| |00002aa0| 42 74 6e 0d 5f 76 65 72 | 74 69 63 61 6c 53 63 72 |Btn._ver|ticalScr| |00002ab0| 6f 6c 6c 42 74 6e 0d 5f | 68 6f 72 69 7a 6f 6e 74 |ollBtn._|horizont| |00002ac0| 61 6c 53 63 72 6f 6c 6c | 42 74 6e 0d 0d 5f 6e 6f |alScroll|Btn.._no| |00002ad0| 45 6d 70 74 79 53 65 6c | 65 63 74 69 6f 6e 42 74 |EmptySel|ectionBt| |00002ae0| 6e 0d 65 6e 64 20 65 6e | 75 6d 0d 0d 62 65 67 69 |n.end en|um..begi| |00002af0| 6e 20 65 6e 75 6d 20 31 | 0d 5f 64 69 73 63 6c 6f |n enum 1|._disclo| |00002b00| 73 75 72 65 42 74 6e 0d | 5f 76 61 72 48 65 69 67 |sureBtn.|_varHeig| |00002b10| 68 74 52 6f 77 73 42 74 | 6e 0d 5f 65 78 70 61 6e |htRowsBt|n._expan| |00002b20| 64 61 62 6c 65 52 6f 77 | 73 42 74 6e 0d 0d 5f 70 |dableRow|sBtn.._p| |00002b30| 6c 61 69 6e 42 61 63 6b | 67 72 6f 75 6e 64 42 74 |lainBack|groundBt| |00002b40| 6e 0d 5f 66 69 6c 6c 48 | 69 6c 69 74 65 53 74 79 |n._fillH|iliteSty| |00002b50| 6c 65 42 74 6e 0d 5f 75 | 73 65 52 65 6c 61 74 69 |leBtn._u|seRelati| |00002b60| 76 65 73 44 61 74 65 73 | 42 74 6e 0d 5f 73 68 6f |vesDates|Btn._sho| |00002b70| 77 48 65 61 64 65 72 42 | 75 74 74 6f 6e 73 42 74 |wHeaderB|uttonsBt| |00002b80| 6e 0d 65 6e 64 20 65 6e | 75 6d 0d 0d 62 65 67 69 |n.end en|um..begi| |00002b90| 6e 20 65 6e 75 6d 0d 5f | 63 6c 6f 73 65 57 69 6e |n enum._|closeWin| |00002ba0| 64 6f 77 43 6d 64 20 20 | 20 20 20 20 20 20 20 3d |dowCmd | =| |00002bb0| 20 5f 22 63 6c 6f 73 22 | 0d 0d 5f 44 61 74 61 42 | _"clos"|.._DataB| |00002bc0| 72 6f 77 73 65 72 53 65 | 74 74 69 6e 67 73 43 6d |rowserSe|ttingsCm| |00002bd0| 64 20 3d 20 5f 22 73 74 | 6e 67 22 0d 5f 63 75 73 |d = _"st|ng"._cus| |00002be0| 74 6f 6d 69 7a 65 56 69 | 65 77 43 6d 64 20 20 20 |tomizeVi|ewCmd | |00002bf0| 20 20 20 20 3d 20 5f 22 | 63 75 73 74 22 0d 5f 73 | = _"|cust"._s| |00002c00| 68 6f 77 50 6c 61 63 61 | 72 64 43 6d 64 20 20 20 |howPlaca|rdCmd | |00002c10| 20 20 20 20 20 20 3d 20 | 5f 22 70 6c 61 63 22 0d | = |_"plac".| |00002c20| 0d 5f 73 68 6f 77 46 72 | 61 6d 65 43 6d 64 20 20 |._showFr|ameCmd | |00002c30| 20 20 20 20 20 20 20 20 | 20 3d 20 5f 22 66 72 61 | | = _"fra| |00002c40| 6d 22 0d 5f 72 65 76 65 | 61 6c 49 74 65 6d 43 6d |m"._reve|alItemCm| |00002c50| 64 20 20 20 20 20 20 20 | 20 20 20 3d 20 5f 22 73 |d | = _"s| |00002c60| 68 6f 77 22 0d 5f 73 65 | 6c 65 63 74 69 6f 6e 46 |how"._se|lectionF| |00002c70| 6c 61 67 73 43 6d 64 20 | 20 20 20 20 20 3d 20 5f |lagsCmd | = _| |00002c80| 22 66 6c 61 67 22 0d 65 | 6e 64 20 65 6e 75 6d 0d |"flag".e|nd enum.| |00002c90| 0d 62 65 67 69 6e 20 65 | 6e 75 6d 0d 5f 69 74 65 |.begin e|num._ite| |00002ca0| 6d 73 50 65 72 43 6f 6e | 74 61 69 6e 65 72 20 20 |msPerCon|tainer | |00002cb0| 3d 20 31 30 0d 0d 5f 6d | 79 43 72 65 61 74 6f 72 |= 10.._m|yCreator| |00002cc0| 20 20 20 20 20 20 20 20 | 20 20 3d 20 5f 22 44 45 | | = _"DE| |00002cd0| 4d 4f 22 0d 5f 6d 79 44 | 61 74 61 42 72 6f 77 73 |MO"._myD|ataBrows| |00002ce0| 65 72 20 20 20 20 20 20 | 3d 20 5f 22 42 72 73 72 |er |= _"Brsr| |00002cf0| 22 0d 5f 6d 79 45 76 65 | 6e 74 48 61 6e 64 6c 65 |"._myEve|ntHandle| |00002d00| 72 20 20 20 20 20 3d 20 | 5f 22 45 76 6e 74 22 0d |r = |_"Evnt".| |00002d10| 5f 6d 79 43 75 73 74 6f | 6d 69 7a 65 72 49 44 20 |_myCusto|mizerID | |00002d20| 20 20 20 20 3d 20 5f 22 | 20 49 44 20 22 0d 0d 5f | = _"| ID ".._| |00002d30| 63 68 65 63 6b 62 6f 78 | 43 6f 6c 75 6d 6e 49 44 |checkbox|ColumnID| |00002d40| 20 20 20 3d 20 5f 22 63 | 62 6f 78 22 0d 5f 66 6c | = _"c|box"._fl| |00002d50| 61 76 6f 72 43 6f 6c 75 | 6d 6e 49 44 20 20 20 20 |avorColu|mnID | |00002d60| 20 3d 20 5f 22 66 6c 76 | 72 22 0d 5f 63 6f 6c 6f | = _"flv|r"._colo| |00002d70| 72 43 6f 6c 75 6d 6e 49 | 44 20 20 20 20 20 20 3d |rColumnI|D =| |00002d80| 20 5f 22 63 6f 6c 72 22 | 0d 5f 69 6e 64 65 78 43 | _"colr"|._indexC| |00002d90| 6f 6c 75 6d 6e 49 44 20 | 20 20 20 20 20 3d 20 5f |olumnID | = _| |00002da0| 22 69 6e 64 78 22 0d 5f | 69 74 65 6d 49 44 43 6f |"indx"._|itemIDCo| |00002db0| 6c 75 6d 6e 49 44 20 20 | 20 20 20 3d 20 5f 22 69 |lumnID | = _"i| |00002dc0| 74 65 6d 22 0d 5f 69 63 | 6f 6e 4f 6e 6c 79 43 6f |tem"._ic|onOnlyCo| |00002dd0| 6c 75 6d 6e 49 44 20 20 | 20 3d 20 5f 22 69 63 6f |lumnID | = _"ico| |00002de0| 6e 22 0d 5f 64 61 74 65 | 54 69 6d 65 43 6f 6c 75 |n"._date|TimeColu| |00002df0| 6d 6e 49 44 20 20 20 3d | 20 5f 22 64 61 74 65 22 |mnID =| _"date"| |00002e00| 0d 5f 70 6f 70 75 70 4d | 65 6e 75 43 6f 6c 75 6d |._popupM|enuColum| |00002e10| 6e 49 44 20 20 3d 20 5f | 22 6d 65 6e 75 22 0d 5f |nID = _|"menu"._| |00002e20| 70 72 6f 67 72 65 73 73 | 43 6f 6c 75 6d 6e 49 44 |progress|ColumnID| |00002e30| 20 20 20 3d 20 5f 22 70 | 62 61 72 22 0d 5f 73 6c | = _"p|bar"._sl| |00002e40| 69 64 65 72 43 6f 6c 75 | 6d 6e 49 44 20 20 20 20 |iderColu|mnID | |00002e50| 20 3d 20 5f 22 73 6c 64 | 72 22 0d 65 6e 64 20 65 | = _"sld|r".end e| |00002e60| 6e 75 6d 0d 0d 62 65 67 | 69 6e 20 65 6e 75 6d 0d |num..beg|in enum.| |00002e70| 5f 62 74 6e 48 65 69 67 | 68 74 20 20 20 20 20 20 |_btnHeig|ht | |00002e80| 3d 20 32 30 0d 5f 62 74 | 6e 57 69 64 74 68 20 20 |= 20._bt|nWidth | |00002e90| 20 20 20 20 20 3d 20 36 | 30 0d 5f 73 63 72 6f 6c | = 6|0._scrol| |00002ea0| 6c 42 61 72 57 69 64 74 | 68 20 3d 20 31 36 0d 65 |lBarWidt|h = 16.e| |00002eb0| 6e 64 20 65 6e 75 6d 0d | 0d 27 7e 12 41 70 70 6c |nd enum.|.'~.Appl| |00002ec0| 69 63 61 74 69 6f 6e 20 | 47 6c 6f 62 61 6c 73 0d |ication |Globals.| |00002ed0| 0d 62 65 67 69 6e 20 67 | 6c 6f 62 61 6c 73 0d 0d |.begin g|lobals..| |00002ee0| 64 69 6d 20 26 26 0d 64 | 69 6d 20 61 73 20 4d 65 |dim &&.d|im as Me| |00002ef0| 6e 75 52 65 66 20 20 20 | 20 20 20 20 20 20 20 20 |nuRef | | |00002f00| 20 20 20 20 20 20 20 20 | 20 20 20 67 43 6f 6e 74 | | gCont| |00002f10| 65 78 74 75 61 6c 4d 65 | 6e 75 0d 64 69 6d 20 61 |extualMe|nu.dim a| |00002f20| 73 20 43 6f 6e 74 72 6f | 6c 52 65 66 20 20 20 20 |s Contro|lRef | |00002f30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 67 | | g| |00002f40| 50 6c 61 63 61 72 64 0d | 64 69 6d 20 61 73 20 49 |Placard.|dim as I| |00002f50| 63 6f 6e 52 65 66 20 20 | 20 20 20 20 20 20 20 20 |conRef | | |00002f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 67 49 63 6f | | gIco| |00002f70| 6e 28 5f 74 6f 74 61 6c | 4e 75 6d 49 63 6f 6e 73 |n(_total|NumIcons| |00002f80| 29 0d 64 69 6d 20 61 73 | 20 44 61 74 61 42 72 6f |).dim as| DataBro| |00002f90| 77 73 65 72 54 61 62 6c | 65 56 69 65 77 43 6f 6c |wserTabl|eViewCol| |00002fa0| 75 6d 6e 49 44 20 67 43 | 6f 6c 73 28 39 29 0d 0d |umnID gC|ols(9)..| |00002fb0| 64 69 6d 20 61 73 20 70 | 72 6f 63 20 20 20 20 20 |dim as p|roc | |00002fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00002fd0| 20 20 20 20 67 50 6c 61 | 63 61 72 64 44 72 61 77 | gPla|cardDraw| |00002fe0| 50 72 6f 63 20 20 20 20 | 20 20 20 20 20 0d 0d 64 |Proc | ..d| |00002ff0| 69 6d 20 61 73 20 70 72 | 6f 63 20 20 20 20 20 20 |im as pr|oc | |00003000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00003010| 20 20 20 67 41 63 63 65 | 70 74 44 72 61 67 50 72 | gAcce|ptDragPr| |00003020| 6f 63 20 20 20 20 20 20 | 20 20 20 20 0d 64 69 6d |oc | .dim| |00003030| 20 61 73 20 70 72 6f 63 | 20 20 20 20 20 20 20 20 | as proc| | |00003040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00003050| 20 67 52 65 63 65 69 76 | 65 44 72 61 67 50 72 6f | gReceiv|eDragPro| |00003060| 63 20 20 20 20 20 20 20 | 20 20 0d 64 69 6d 20 61 |c | .dim a| |00003070| 73 20 70 72 6f 63 20 20 | 20 20 20 20 20 20 20 20 |s proc | | |00003080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 67 | | g| |00003090| 41 64 64 44 72 61 67 49 | 74 65 6d 50 72 6f 63 20 |AddDragI|temProc | |000030a0| 20 20 20 20 20 20 20 20 | 0d 64 69 6d 20 61 73 20 | |.dim as | |000030b0| 70 72 6f 63 20 20 20 20 | 20 20 20 20 20 20 20 20 |proc | | |000030c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 67 47 65 | | gGe| |000030d0| 74 53 65 74 49 74 65 6d | 44 61 74 61 50 72 6f 63 |tSetItem|DataProc| |000030e0| 20 20 20 20 20 20 0d 64 | 69 6d 20 61 73 20 70 72 | .d|im as pr| |000030f0| 6f 63 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |oc | | |00003100| 20 20 20 20 20 20 20 20 | 20 20 20 67 49 74 65 6d | | gItem| |00003110| 43 6f 6d 70 61 72 69 73 | 6f 6e 50 72 6f 63 20 20 |Comparis|onProc | |00003120| 20 20 20 20 0d 64 69 6d | 20 61 73 20 70 72 6f 63 | .dim| as proc| |00003130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00003140| 20 20 20 20 20 20 20 20 | 20 67 49 74 65 6d 4e 6f | | gItemNo| |00003150| 74 69 66 69 63 61 74 69 | 6f 6e 50 72 6f 63 20 20 |tificati|onProc | |00003160| 20 20 0d 64 69 6d 20 61 | 73 20 70 72 6f 63 20 20 | .dim a|s proc | |00003170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00003180| 20 20 20 20 20 20 20 67 | 49 74 65 6d 48 65 6c 70 | g|ItemHelp| |00003190| 43 6f 6e 74 65 6e 74 50 | 72 6f 63 20 20 20 20 20 |ContentP|roc | |000031a0| 0d 64 69 6d 20 61 73 20 | 70 72 6f 63 20 20 20 20 |.dim as |proc | |000031b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000031c0| 20 20 20 20 20 67 47 65 | 74 43 6f 6e 74 65 78 74 | gGe|tContext| |000031d0| 75 61 6c 4d 65 6e 75 50 | 72 6f 63 20 20 20 0d 64 |ualMenuP|roc .d| |000031e0| 69 6d 20 61 73 20 70 72 | 6f 63 20 20 20 20 20 20 |im as pr|oc | |000031f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00003200| 20 20 20 67 53 65 6c 65 | 63 74 43 6f 6e 74 65 78 | gSele|ctContex| |00003210| 74 75 61 6c 4d 65 6e 75 | 50 72 6f 63 0d 0d 64 69 |tualMenu|Proc..di| |00003220| 6d 20 61 73 20 70 72 6f | 63 20 20 20 20 20 20 20 |m as pro|c | |00003230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00003240| 20 20 67 44 69 61 6c 6f | 67 45 76 65 6e 74 48 61 | gDialo|gEventHa| |00003250| 6e 64 6c 65 72 50 72 6f | 63 20 20 0d 64 69 6d 20 |ndlerPro|c .dim | |00003260| 61 73 20 70 72 6f 63 20 | 20 20 20 20 20 20 20 20 |as proc | | |00003270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00003280| 67 57 69 6e 64 6f 77 45 | 76 65 6e 74 48 61 6e 64 |gWindowE|ventHand| |00003290| 6c 65 72 50 72 6f 63 20 | 20 0d 0d 65 6e 64 20 67 |lerProc | ..end g| |000032a0| 6c 6f 62 61 6c 73 0d 0d | 27 7e 12 2d 2d 2d 2d 2d |lobals..|'~.-----| |000032b0| 2d 0d 27 7e 12 50 72 6f | 74 6f 74 79 70 65 20 46 |-.'~.Pro|totype F| |000032c0| 75 6e 63 74 69 6f 6e 73 | 0d 2f 2a 0d 20 20 20 20 |unctions|./*. | |000032d0| 20 49 20 68 61 76 65 20 | 63 68 61 6e 67 65 64 20 | I have |changed | |000032e0| 74 68 65 20 6f 72 69 67 | 69 6e 61 6c 20 63 6f 64 |the orig|inal cod| |000032f0| 69 6e 67 20 75 73 69 6e | 67 20 68 65 72 65 20 70 |ing usin|g here p| |00003300| 72 6f 74 6f 79 70 65 20 | 66 75 6e 63 74 69 6f 6e |rotoype |function| |00003310| 73 0d 20 20 20 20 20 74 | 68 61 74 20 74 68 65 20 |s. t|hat the | |00003320| 63 61 6c 6c 62 61 63 6b | 20 70 72 6f 63 65 64 75 |callback| procedu| |00003330| 72 65 73 20 77 69 6c 6c | 20 75 73 65 2e 0d 20 20 |res will| use.. | |00003340| 20 20 20 54 68 65 20 6c | 6f 63 61 6c 20 66 75 6e | The l|ocal fun| |00003350| 63 74 69 6f 6e 73 20 74 | 68 61 74 20 77 69 6c 6c |ctions t|hat will| |00003360| 20 62 65 20 61 63 74 75 | 61 6c 6c 79 20 63 61 6c | be actu|ally cal| |00003370| 6c 65 64 20 62 79 20 74 | 68 65 20 70 72 6f 63 65 |led by t|he proce| |00003380| 64 75 72 65 73 20 61 72 | 65 0d 20 20 20 20 20 73 |dures ar|e. s| |00003390| 65 74 20 69 6e 20 53 65 | 74 75 70 4d 79 56 65 63 |et in Se|tupMyVec| |000033a0| 74 6f 72 73 20 66 6e 2e | 0d 2a 2f 0d 64 65 66 20 |tors fn.|.*/.def | |000033b0| 66 6e 20 50 72 6f 74 6f | 5f 50 6c 61 63 61 72 64 |fn Proto|_Placard| |000033c0| 44 72 61 77 28 20 63 20 | 61 73 20 43 6f 6e 74 72 |Draw( c |as Contr| |000033d0| 6f 6c 52 65 66 2c 20 64 | 75 6d 6d 79 20 61 73 20 |olRef, d|ummy as | |000033e0| 53 49 6e 74 31 36 20 29 | 20 75 73 69 6e 67 20 67 |SInt16 )| using g| |000033f0| 50 6c 61 63 61 72 64 44 | 72 61 77 50 72 6f 63 0d |PlacardD|rawProc.| |00003400| 0d 64 65 66 20 66 6e 20 | 50 72 6f 74 6f 5f 41 63 |.def fn |Proto_Ac| |00003410| 63 65 70 74 44 72 61 67 | 28 20 62 72 6f 77 73 65 |ceptDrag|( browse| |00003420| 72 20 61 73 20 43 6f 6e | 74 72 6f 6c 52 65 66 2c |r as Con|trolRef,| |00003430| 20 74 68 65 44 72 61 67 | 20 61 73 20 44 72 61 67 | theDrag| as Drag| |00003440| 52 65 66 65 72 65 6e 63 | 65 2c 20 69 74 65 6d 49 |Referenc|e, itemI| |00003450| 44 20 61 73 20 44 61 74 | 61 42 72 6f 77 73 65 72 |D as Dat|aBrowser| |00003460| 49 74 65 6d 49 44 20 29 | 20 75 73 69 6e 67 20 67 |ItemID )| using g| |00003470| 41 63 63 65 70 74 44 72 | 61 67 50 72 6f 63 0d 64 |AcceptDr|agProc.d| |00003480| 65 66 20 66 6e 20 50 72 | 6f 74 6f 5f 52 65 63 65 |ef fn Pr|oto_Rece| |00003490| 69 76 65 44 72 61 67 28 | 20 62 72 6f 77 73 65 72 |iveDrag(| browser| |000034a0| 20 61 73 20 43 6f 6e 74 | 72 6f 6c 52 65 66 2c 20 | as Cont|rolRef, | |000034b0| 74 68 65 44 72 61 67 20 | 61 73 20 44 72 61 67 52 |theDrag |as DragR| |000034c0| 65 66 65 72 65 6e 63 65 | 2c 20 69 74 65 6d 49 44 |eference|, itemID| |000034d0| 20 61 73 20 44 61 74 61 | 42 72 6f 77 73 65 72 49 | as Data|BrowserI| |000034e0| 74 65 6d 49 44 20 29 20 | 75 73 69 6e 67 20 67 52 |temID ) |using gR| |000034f0| 65 63 65 69 76 65 44 72 | 61 67 50 72 6f 63 0d 64 |eceiveDr|agProc.d| |00003500| 65 66 20 66 6e 20 50 72 | 6f 74 6f 5f 41 64 64 44 |ef fn Pr|oto_AddD| |00003510| 72 61 67 49 74 65 6d 28 | 20 62 72 6f 77 73 65 72 |ragItem(| browser| |00003520| 20 61 73 20 43 6f 6e 74 | 72 6f 6c 52 65 66 2c 20 | as Cont|rolRef, | |00003530| 74 68 65 44 72 61 67 20 | 61 73 20 44 72 61 67 52 |theDrag |as DragR| |00003540| 65 66 65 72 65 6e 63 65 | 2c 20 69 6e 49 74 65 6d |eference|, inItem| |00003550| 49 44 20 61 73 20 44 61 | 74 61 42 72 6f 77 73 65 |ID as Da|taBrowse| |00003560| 72 49 74 65 6d 49 44 2c | 20 69 74 65 6d 52 65 66 |rItemID,| itemRef| |00003570| 20 61 73 20 2e 49 74 65 | 6d 52 65 66 65 72 65 6e | as .Ite|mReferen| |00003580| 63 65 20 29 20 75 73 69 | 6e 67 20 67 41 64 64 44 |ce ) usi|ng gAddD| |00003590| 72 61 67 49 74 65 6d 50 | 72 6f 63 0d 64 65 66 20 |ragItemP|roc.def | |000035a0| 66 6e 20 50 72 6f 74 6f | 5f 47 65 74 53 65 74 49 |fn Proto|_GetSetI| |000035b0| 74 65 6d 44 61 74 61 28 | 20 62 72 6f 77 73 65 72 |temData(| browser| |000035c0| 20 61 73 20 43 6f 6e 74 | 72 6f 6c 52 65 66 2c 20 | as Cont|rolRef, | |000035d0| 69 74 65 6d 49 44 20 61 | 73 20 44 61 74 61 42 72 |itemID a|s DataBr| |000035e0| 6f 77 73 65 72 49 74 65 | 6d 49 44 2c 20 70 72 6f |owserIte|mID, pro| |000035f0| 70 20 61 73 20 44 61 74 | 61 42 72 6f 77 73 65 72 |p as Dat|aBrowser| |00003600| 50 72 6f 70 65 72 74 79 | 49 44 2c 20 69 74 65 6d |Property|ID, item| |00003610| 44 61 74 61 20 61 73 20 | 44 61 74 61 42 72 6f 77 |Data as |DataBrow| |00003620| 73 65 72 49 74 65 6d 44 | 61 74 61 52 65 66 2c 20 |serItemD|ataRef, | |00003630| 63 68 61 6e 67 65 56 61 | 6c 75 65 20 61 73 20 42 |changeVa|lue as B| |00003640| 6f 6f 6c 65 61 6e 20 29 | 20 75 73 69 6e 67 20 67 |oolean )| using g| |00003650| 47 65 74 53 65 74 49 74 | 65 6d 44 61 74 61 50 72 |GetSetIt|emDataPr| |00003660| 6f 63 0d 64 65 66 20 66 | 6e 20 50 72 6f 74 6f 5f |oc.def f|n Proto_| |00003670| 49 74 65 6d 43 6f 6d 70 | 61 72 69 73 6f 6e 28 20 |ItemComp|arison( | |00003680| 62 72 6f 77 73 65 72 20 | 61 73 20 43 6f 6e 74 72 |browser |as Contr| |00003690| 6f 6c 52 65 66 2c 20 69 | 74 65 6d 4f 6e 65 49 44 |olRef, i|temOneID| |000036a0| 20 61 73 20 44 61 74 61 | 42 72 6f 77 73 65 72 49 | as Data|BrowserI| |000036b0| 74 65 6d 49 44 2c 20 69 | 74 65 6d 54 77 6f 49 44 |temID, i|temTwoID| |000036c0| 20 61 73 20 44 61 74 61 | 42 72 6f 77 73 65 72 49 | as Data|BrowserI| |000036d0| 74 65 6d 49 44 2c 20 73 | 6f 72 74 50 72 6f 70 65 |temID, s|ortPrope| |000036e0| 72 74 79 20 61 73 20 44 | 61 74 61 42 72 6f 77 73 |rty as D|ataBrows| |000036f0| 65 72 50 72 6f 70 65 72 | 74 79 49 44 20 29 20 75 |erProper|tyID ) u| |00003700| 73 69 6e 67 20 67 49 74 | 65 6d 43 6f 6d 70 61 72 |sing gIt|emCompar| |00003710| 69 73 6f 6e 50 72 6f 63 | 0d 64 65 66 20 66 6e 20 |isonProc|.def fn | |00003720| 50 72 6f 74 6f 5f 49 74 | 65 6d 4e 6f 74 69 66 69 |Proto_It|emNotifi| |00003730| 63 61 74 69 6f 6e 28 20 | 62 72 6f 77 73 65 72 20 |cation( |browser | |00003740| 61 73 20 43 6f 6e 74 72 | 6f 6c 52 65 66 2c 20 69 |as Contr|olRef, i| |00003750| 74 65 6d 49 44 20 61 73 | 20 44 61 74 61 42 72 6f |temID as| DataBro| |00003760| 77 73 65 72 49 74 65 6d | 49 44 2c 20 6d 65 73 73 |wserItem|ID, mess| |00003770| 61 67 65 20 61 73 20 44 | 61 74 61 42 72 6f 77 73 |age as D|ataBrows| |00003780| 65 72 49 74 65 6d 4e 6f | 74 69 66 69 63 61 74 69 |erItemNo|tificati| |00003790| 6f 6e 20 29 20 75 73 69 | 6e 67 20 67 49 74 65 6d |on ) usi|ng gItem| |000037a0| 4e 6f 74 69 66 69 63 61 | 74 69 6f 6e 50 72 6f 63 |Notifica|tionProc| |000037b0| 0d 64 65 66 20 66 6e 20 | 50 72 6f 74 6f 5f 49 74 |.def fn |Proto_It| |000037c0| 65 6d 48 65 6c 70 43 6f | 6e 74 65 6e 74 28 62 72 |emHelpCo|ntent(br| |000037d0| 6f 77 73 65 72 20 61 73 | 20 43 6f 6e 74 72 6f 6c |owser as| Control| |000037e0| 52 65 66 2c 69 74 65 6d | 20 61 73 20 44 61 74 61 |Ref,item| as Data| |000037f0| 42 72 6f 77 73 65 72 49 | 74 65 6d 49 44 2c 70 72 |BrowserI|temID,pr| |00003800| 6f 70 20 61 73 20 44 61 | 74 61 42 72 6f 77 73 65 |op as Da|taBrowse| |00003810| 72 50 72 6f 70 65 72 74 | 79 49 44 2c 69 6e 52 65 |rPropert|yID,inRe| |00003820| 71 75 65 73 74 20 61 73 | 20 48 4d 43 6f 6e 74 65 |quest as| HMConte| |00003830| 6e 74 52 65 71 75 65 73 | 74 2c 6f 75 74 43 6f 6e |ntReques|t,outCon| |00003840| 74 65 6e 74 50 72 6f 76 | 69 64 65 64 20 61 73 20 |tentProv|ided as | |00003850| 2e 48 4d 43 6f 6e 74 65 | 6e 74 50 72 6f 76 69 64 |.HMConte|ntProvid| |00003860| 65 64 54 79 70 65 2c 20 | 69 6f 48 65 6c 70 43 6f |edType, |ioHelpCo| |00003870| 6e 74 65 6e 74 20 61 73 | 20 2e 48 4d 48 65 6c 70 |ntent as| .HMHelp| |00003880| 43 6f 6e 74 65 6e 74 52 | 65 63 20 29 20 75 73 69 |ContentR|ec ) usi| |00003890| 6e 67 20 67 49 74 65 6d | 48 65 6c 70 43 6f 6e 74 |ng gItem|HelpCont| |000038a0| 65 6e 74 50 72 6f 63 0d | 64 65 66 20 66 6e 20 50 |entProc.|def fn P| |000038b0| 72 6f 74 6f 5f 43 6f 6e | 74 65 78 74 75 61 6c 4d |roto_Con|textualM| |000038c0| 65 6e 75 28 20 62 72 6f | 77 73 65 72 20 61 73 20 |enu( bro|wser as | |000038d0| 43 6f 6e 74 72 6f 6c 52 | 65 66 2c 20 63 6f 6e 74 |ControlR|ef, cont| |000038e0| 65 78 74 75 61 6c 4d 65 | 6e 75 20 61 73 20 2e 4d |extualMe|nu as .M| |000038f0| 65 6e 75 52 65 66 2c 20 | 68 65 6c 70 54 79 70 65 |enuRef, |helpType| |00003900| 20 61 73 20 2e 55 49 6e | 74 33 32 2c 20 68 65 6c | as .UIn|t32, hel| |00003910| 70 49 74 65 6d 53 74 72 | 69 6e 67 20 61 73 20 2e |pItemStr|ing as .| |00003920| 43 46 53 74 72 69 6e 67 | 52 65 66 2c 20 73 65 6c |CFString|Ref, sel| |00003930| 65 63 74 69 6f 6e 20 61 | 73 20 2e 41 45 44 65 73 |ection a|s .AEDes| |00003940| 63 20 29 20 75 73 69 6e | 67 20 67 47 65 74 43 6f |c ) usin|g gGetCo| |00003950| 6e 74 65 78 74 75 61 6c | 4d 65 6e 75 50 72 6f 63 |ntextual|MenuProc| |00003960| 0d 64 65 66 20 66 6e 20 | 50 72 6f 74 6f 5f 53 65 |.def fn |Proto_Se| |00003970| 6c 65 63 74 43 6f 6e 74 | 65 78 74 75 61 6c 4d 65 |lectCont|extualMe| |00003980| 6e 75 28 20 62 72 6f 77 | 73 65 72 20 61 73 20 43 |nu( brow|ser as C| |00003990| 6f 6e 74 72 6f 6c 52 65 | 66 2c 20 63 6f 6e 74 65 |ontrolRe|f, conte| |000039a0| 78 74 75 61 6c 4d 65 6e | 75 20 61 73 20 4d 65 6e |xtualMen|u as Men| |000039b0| 75 52 65 66 2c 20 73 65 | 6c 65 63 74 69 6f 6e 54 |uRef, se|lectionT| |000039c0| 79 70 65 20 61 73 20 55 | 49 6e 74 33 32 2c 20 6d |ype as U|Int32, m| |000039d0| 65 6e 75 49 44 20 61 73 | 20 53 49 6e 74 31 36 2c |enuID as| SInt16,| |000039e0| 20 6d 65 6e 75 49 74 65 | 6d 20 61 73 20 4d 65 6e | menuIte|m as Men| |000039f0| 75 49 74 65 6d 49 6e 64 | 65 78 20 20 29 20 75 73 |uItemInd|ex ) us| |00003a00| 69 6e 67 20 67 53 65 6c | 65 63 74 43 6f 6e 74 65 |ing gSel|ectConte| |00003a10| 78 74 75 61 6c 4d 65 6e | 75 50 72 6f 63 0d 0d 64 |xtualMen|uProc..d| |00003a20| 65 66 20 66 6e 20 50 72 | 6f 74 6f 5f 44 69 61 6c |ef fn Pr|oto_Dial| |00003a30| 6f 67 45 76 65 6e 74 48 | 61 6e 64 6c 65 72 28 20 |ogEventH|andler( | |00003a40| 45 76 65 6e 74 48 61 6e | 64 6c 65 72 43 61 6c 6c |EventHan|dlerCall| |00003a50| 52 65 66 20 61 73 20 70 | 74 72 2c 20 69 6e 45 76 |Ref as p|tr, inEv| |00003a60| 65 6e 74 20 61 73 20 45 | 76 65 6e 74 52 65 66 2c |ent as E|ventRef,| |00003a70| 20 76 6f 69 64 20 61 73 | 20 70 74 72 20 29 20 75 | void as| ptr ) u| |00003a80| 73 69 6e 67 20 67 44 69 | 61 6c 6f 67 45 76 65 6e |sing gDi|alogEven| |00003a90| 74 48 61 6e 64 6c 65 72 | 50 72 6f 63 0d 64 65 66 |tHandler|Proc.def| |00003aa0| 20 66 6e 20 50 72 6f 74 | 6f 5f 57 69 6e 64 6f 77 | fn Prot|o_Window| |00003ab0| 45 76 65 6e 74 48 61 6e | 64 6c 65 72 28 20 45 76 |EventHan|dler( Ev| |00003ac0| 65 6e 74 48 61 6e 64 6c | 65 72 43 61 6c 6c 52 65 |entHandl|erCallRe| |00003ad0| 66 20 61 73 20 70 74 72 | 2c 20 69 6e 45 76 65 6e |f as ptr|, inEven| |00003ae0| 74 20 61 73 20 45 76 65 | 6e 74 52 65 66 2c 20 76 |t as Eve|ntRef, v| |00003af0| 6f 69 64 20 61 73 20 70 | 74 72 20 29 20 75 73 69 |oid as p|tr ) usi| |00003b00| 6e 67 20 67 57 69 6e 64 | 6f 77 45 76 65 6e 74 48 |ng gWind|owEventH| |00003b10| 61 6e 64 6c 65 72 50 72 | 6f 63 0d 0d 27 7e 27 3b |andlerPr|oc..'~';| |00003b20| 0d 27 7e 12 2d 0d 27 7e | 12 55 74 69 6c 69 74 79 |.'~.-.'~|.Utility| |00003b30| 20 46 75 6e 63 74 69 6f | 6e 73 0d 0d 64 65 66 20 | Functio|ns..def | |00003b40| 66 6e 20 49 6e 73 74 61 | 6c 6c 57 69 6e 64 6f 77 |fn Insta|llWindow| |00003b50| 45 76 65 6e 74 48 61 6e | 64 6c 65 72 28 20 74 2c |EventHan|dler( t,| |00003b60| 20 68 2c 20 6e 2c 20 40 | 6c 2c 20 40 75 2c 20 40 | h, n, @|l, @u, @| |00003b70| 72 20 29 20 3d 20 66 6e | 20 49 6e 73 74 61 6c 6c |r ) = fn| Install| |00003b80| 45 76 65 6e 74 48 61 6e | 64 6c 65 72 28 20 66 6e |EventHan|dler( fn| |00003b90| 20 47 65 74 57 69 6e 64 | 6f 77 45 76 65 6e 74 54 | GetWind|owEventT| |00003ba0| 61 72 67 65 74 28 20 74 | 20 29 2c 20 68 2c 20 6e |arget( t| ), h, n| |00003bb0| 2c 20 23 6c 2c 20 23 75 | 2c 20 23 72 20 29 0d 64 |, #l, #u|, #r ).d| |00003bc0| 65 66 20 66 6e 20 53 65 | 6e 64 45 76 65 6e 74 54 |ef fn Se|ndEventT| |00003bd0| 6f 57 69 6e 64 6f 77 28 | 20 65 2c 20 74 20 29 20 |oWindow(| e, t ) | |00003be0| 3d 20 66 6e 20 53 65 6e | 64 45 76 65 6e 74 54 6f |= fn Sen|dEventTo| |00003bf0| 45 76 65 6e 74 54 61 72 | 67 65 74 28 20 65 2c 20 |EventTar|get( e, | |00003c00| 66 6e 20 47 65 74 57 69 | 6e 64 6f 77 45 76 65 6e |fn GetWi|ndowEven| |00003c10| 74 54 61 72 67 65 74 28 | 20 74 20 29 20 29 0d 0d |tTarget(| t ) )..| |00003c20| 2f 2a 0d 20 20 20 20 20 | 54 68 69 73 20 69 73 20 |/*. |This is | |00003c30| 61 20 64 75 6d 6d 79 20 | 66 75 6e 63 74 69 6f 6e |a dummy |function| |00003c40| 2c 20 6e 65 76 65 72 20 | 63 61 6c 6c 65 64 20 62 |, never |called b| |00003c50| 79 20 74 68 65 20 70 72 | 6f 67 72 61 6d 2c 20 6a |y the pr|ogram, j| |00003c60| 75 73 74 0d 20 20 20 20 | 20 68 65 72 65 20 74 6f |ust. | here to| |00003c70| 20 73 74 6f 72 65 20 73 | 74 72 69 6e 67 20 6c 69 | store s|tring li| |00003c80| 73 74 73 20 28 65 61 73 | 69 65 72 20 74 6f 20 65 |sts (eas|ier to e| |00003c90| 64 69 74 20 69 6e 20 74 | 68 65 20 73 6f 75 72 63 |dit in t|he sourc| |00003ca0| 65 20 63 6f 64 65 29 0d | 2a 2f 0d 6c 6f 63 61 6c |e code).|*/.local| |00003cb0| 20 46 6e 20 43 72 65 61 | 74 65 53 74 72 4c 69 73 | Fn Crea|teStrLis| |00003cc0| 74 73 0d 0d 64 69 6d 20 | 61 73 20 73 74 72 32 35 |ts..dim |as str25| |00003cd0| 35 20 73 0d 0d 62 65 67 | 69 6e 20 65 6e 75 6d 20 |5 s..beg|in enum | |00003ce0| 31 32 38 0d 5f 66 6c 61 | 76 6f 72 4c 69 73 74 52 |128._fla|vorListR| |00003cf0| 65 73 49 44 0d 5f 63 6f | 6c 6f 72 4c 69 73 74 52 |esID._co|lorListR| |00003d00| 65 73 49 44 0d 5f 63 6f | 6d 6d 65 6e 74 4c 69 73 |esID._co|mmentLis| |00003d10| 74 52 65 73 49 44 0d 65 | 6e 64 20 65 6e 75 6d 0d |tResID.e|nd enum.| |00003d20| 0d 73 74 72 69 6e 67 6c | 69 73 74 20 6f 6e 0d 73 |.stringl|ist on.s| |00003d30| 74 72 69 6e 67 6c 69 73 | 74 20 20 3d 20 5f 66 6c |tringlis|t = _fl| |00003d40| 61 76 6f 72 4c 69 73 74 | 52 65 73 49 44 2c 22 46 |avorList|ResID,"F| |00003d50| 6c 61 76 6f 72 73 22 0d | 73 20 3d 20 22 4c 69 6d |lavors".|s = "Lim| |00003d60| 65 22 0d 73 20 3d 20 22 | 54 61 6e 67 65 72 69 6e |e".s = "|Tangerin| |00003d70| 65 22 0d 73 20 3d 20 22 | 53 74 72 61 77 62 65 72 |e".s = "|Strawber| |00003d80| 72 79 22 0d 73 20 3d 20 | 22 47 72 61 70 65 22 0d |ry".s = |"Grape".| |00003d90| 73 20 3d 20 22 42 6c 75 | 65 62 65 72 72 79 22 0d |s = "Blu|eberry".| |00003da0| 73 74 72 69 6e 67 6c 69 | 73 74 20 65 6e 64 0d 0d |stringli|st end..| |00003db0| 73 74 72 69 6e 67 6c 69 | 73 74 20 3d 20 5f 63 6f |stringli|st = _co| |00003dc0| 6c 6f 72 4c 69 73 74 52 | 65 73 49 44 20 20 2c 22 |lorListR|esID ,"| |00003dd0| 43 6f 6c 6f 72 73 22 0d | 73 20 3d 20 22 47 72 65 |Colors".|s = "Gre| |00003de0| 65 6e 22 0d 73 20 3d 20 | 22 4f 72 61 6e 67 65 22 |en".s = |"Orange"| |00003df0| 0d 73 20 3d 20 22 52 65 | 64 22 0d 73 20 3d 20 22 |.s = "Re|d".s = "| |00003e00| 50 75 72 70 6c 65 22 0d | 73 20 3d 20 22 42 6c 75 |Purple".|s = "Blu| |00003e10| 65 22 0d 73 74 72 69 6e | 67 6c 69 73 74 20 65 6e |e".strin|glist en| |00003e20| 64 0d 0d 73 74 72 69 6e | 67 6c 69 73 74 20 3d 20 |d..strin|glist = | |00003e30| 5f 63 6f 6d 6d 65 6e 74 | 4c 69 73 74 52 65 73 49 |_comment|ListResI| |00003e40| 44 2c 22 48 65 6c 70 20 | 74 61 67 73 22 0d 73 20 |D,"Help |tags".s | |00003e50| 3d 20 22 4c 69 6d 65 20 | 69 73 20 6c 75 73 63 69 |= "Lime |is lusci| |00003e60| 6f 75 73 2e 22 0d 73 20 | 3d 20 22 54 61 6e 67 65 |ous.".s |= "Tange| |00003e70| 72 69 6e 65 20 69 73 20 | 54 61 6e 67 79 2e 22 0d |rine is |Tangy.".| |00003e80| 73 20 3d 20 22 53 74 72 | 61 77 62 65 72 72 79 20 |s = "Str|awberry | |00003e90| 69 73 20 53 75 70 65 72 | 21 22 0d 73 20 3d 20 22 |is Super|!".s = "| |00003ea0| 47 72 61 70 65 20 69 73 | 20 67 72 61 6e 64 2e 22 |Grape is| grand."| |00003eb0| 0d 73 20 3d 20 22 42 6c | 75 65 62 65 72 72 79 20 |.s = "Bl|ueberry | |00003ec0| 69 73 20 6e 69 63 65 2e | 22 0d 73 74 72 69 6e 67 |is nice.|".string| |00003ed0| 6c 69 73 74 20 65 6e 64 | 0d 0d 65 6e 64 20 66 6e |list end|..end fn| |00003ee0| 0d 0d 27 7e 27 31 0d 2f | 2a 0d 20 20 20 20 20 44 |..'~'1./|*. D| |00003ef0| 69 73 70 6c 61 79 20 61 | 6e 20 61 6c 65 72 74 20 |isplay a|n alert | |00003f00| 6a 75 73 74 20 74 6f 20 | 73 68 6f 77 20 73 6f 6d |just to |show som| |00003f10| 65 74 68 69 6e 67 20 6f | 6e 20 73 63 72 65 65 6e |ething o|n screen| |00003f20| 0d 2a 2f 0d 63 6c 65 61 | 72 20 6c 6f 63 61 6c 20 |.*/.clea|r local | |00003f30| 66 6e 20 53 68 6f 77 4d | 65 28 20 6d 65 73 73 61 |fn ShowM|e( messa| |00003f40| 67 65 20 61 73 20 53 74 | 72 32 35 35 20 29 0d 0d |ge as St|r255 )..| |00003f50| 64 69 6d 20 61 73 20 41 | 6c 65 72 74 53 74 64 41 |dim as A|lertStdA| |00003f60| 6c 65 72 74 50 61 72 61 | 6d 52 65 63 20 20 61 6c |lertPara|mRec al| |00003f70| 65 72 74 50 61 72 61 6d | 73 0d 64 69 6d 20 61 73 |ertParam|s.dim as| |00003f80| 20 53 49 6e 74 31 36 20 | 20 20 20 20 20 20 20 20 | SInt16 | | |00003f90| 20 20 20 20 20 20 40 20 | 69 74 65 6d 48 69 74 0d | @ |itemHit.| |00003fa0| 0d 61 6c 65 72 74 50 61 | 72 61 6d 73 2e 6d 6f 76 |.alertPa|rams.mov| |00003fb0| 61 62 6c 65 20 20 20 20 | 20 20 20 3d 20 5f 74 72 |able | = _tr| |00003fc0| 75 65 0d 61 6c 65 72 74 | 50 61 72 61 6d 73 2e 68 |ue.alert|Params.h| |00003fd0| 65 6c 70 42 75 74 74 6f | 6e 20 20 20 20 3d 20 5f |elpButto|n = _| |00003fe0| 66 61 6c 73 65 0d 61 6c | 65 72 74 50 61 72 61 6d |false.al|ertParam| |00003ff0| 73 2e 66 69 6c 74 65 72 | 50 72 6f 63 20 20 20 20 |s.filter|Proc | |00004000| 3d 20 5f 6e 69 6c 27 54 | 45 76 65 6e 74 44 69 73 |= _nil'T|EventDis| |00004010| 70 61 74 63 68 65 72 3a | 3a 4d 6f 64 61 6c 46 69 |patcher:|:ModalFi| |00004020| 6c 74 65 72 28 29 0d 61 | 6c 65 72 74 50 61 72 61 |lter().a|lertPara| |00004030| 6d 73 2e 64 65 66 61 75 | 6c 74 54 65 78 74 20 20 |ms.defau|ltText | |00004040| 20 3d 20 5f 6b 41 6c 65 | 72 74 44 65 66 61 75 6c | = _kAle|rtDefaul| |00004050| 74 4f 4b 54 65 78 74 0d | 61 6c 65 72 74 50 61 72 |tOKText.|alertPar| |00004060| 61 6d 73 2e 63 61 6e 63 | 65 6c 54 65 78 74 20 20 |ams.canc|elText | |00004070| 20 20 3d 20 5f 6e 69 6c | 0d 61 6c 65 72 74 50 61 | = _nil|.alertPa| |00004080| 72 61 6d 73 2e 6f 74 68 | 65 72 54 65 78 74 20 20 |rams.oth|erText | |00004090| 20 20 20 3d 20 5f 6e 69 | 6c 0d 61 6c 65 72 74 50 | = _ni|l.alertP| |000040a0| 61 72 61 6d 73 2e 64 65 | 66 61 75 6c 74 42 75 74 |arams.de|faultBut| |000040b0| 74 6f 6e 20 3d 20 5f 6b | 41 6c 65 72 74 53 74 64 |ton = _k|AlertStd| |000040c0| 41 6c 65 72 74 4f 4b 42 | 75 74 74 6f 6e 0d 61 6c |AlertOKB|utton.al| |000040d0| 65 72 74 50 61 72 61 6d | 73 2e 63 61 6e 63 65 6c |ertParam|s.cancel| |000040e0| 42 75 74 74 6f 6e 20 20 | 3d 20 30 0d 61 6c 65 72 |Button |= 0.aler| |000040f0| 74 50 61 72 61 6d 73 2e | 70 6f 73 69 74 69 6f 6e |tParams.|position| |00004100| 20 20 20 20 20 20 3d 20 | 5f 6b 57 69 6e 64 6f 77 | = |_kWindow| |00004110| 44 65 66 61 75 6c 74 50 | 6f 73 69 74 69 6f 6e 0d |DefaultP|osition.| |00004120| 0d 65 6e 64 20 66 6e 20 | 3d 20 66 6e 20 53 74 61 |.end fn |= fn Sta| |00004130| 6e 64 61 72 64 41 6c 65 | 72 74 28 20 5f 6b 41 6c |ndardAle|rt( _kAl| |00004140| 65 72 74 50 6c 61 69 6e | 41 6c 65 72 74 2c 20 6d |ertPlain|Alert, m| |00004150| 65 73 73 61 67 65 2c 20 | 5f 6e 69 6c 2c 20 61 6c |essage, |_nil, al| |00004160| 65 72 74 50 61 72 61 6d | 73 2c 20 69 74 65 6d 48 |ertParam|s, itemH| |00004170| 69 74 20 29 0d 0d 27 7e | 27 3b 0d 27 7e 12 2d 2d |it )..'~|';.'~.--| |00004180| 0d 27 7e 12 41 70 70 6c | 69 63 61 74 69 6f 6e 20 |.'~.Appl|ication | |00004190| 46 75 6e 63 74 69 6f 6e | 73 0d 2f 2a 0d 20 20 20 |Function|s./*. | |000041a0| 20 20 54 68 6f 73 65 20 | 61 72 65 20 66 75 6e 63 | Those |are func| |000041b0| 74 69 6f 6e 73 20 61 76 | 6f 69 64 69 6e 67 20 74 |tions av|oiding t| |000041c0| 6f 20 72 65 70 65 61 74 | 20 74 65 73 74 20 63 6f |o repeat| test co| |000041d0| 64 65 20 65 6c 73 65 77 | 68 65 72 65 2e 0d 20 20 |de elsew|here.. | |000041e0| 20 20 20 54 68 65 79 20 | 63 68 65 63 6b 20 69 66 | They |check if| |000041f0| 20 61 20 67 69 76 65 6e | 20 69 74 65 6d 20 6d 75 | a given| item mu| |00004200| 73 74 20 62 65 20 73 68 | 6f 77 6e 20 61 73 20 61 |st be sh|own as a| |00004210| 6e 20 61 6c 69 61 73 20 | 69 6e 20 74 68 65 20 6c |n alias |in the l| |00004220| 69 73 74 0d 20 20 20 20 | 20 61 6e 64 20 69 66 20 |ist. | and if | |00004230| 61 20 67 69 76 65 6e 20 | 69 74 65 6d 20 69 73 20 |a given |item is | |00004240| 61 20 63 6f 6e 74 61 69 | 6e 65 72 20 28 69 2e 65 |a contai|ner (i.e| |00004250| 2e 20 68 61 73 20 73 75 | 62 69 74 65 6d 73 29 0d |. has su|bitems).| |00004260| 2a 2f 0d 64 65 66 20 66 | 6e 20 49 73 41 6c 69 61 |*/.def f|n IsAlia| |00004270| 73 28 20 69 74 65 6d 49 | 44 20 29 20 3d 20 28 20 |s( itemI|D ) = ( | |00004280| 69 74 65 6d 49 44 20 3d | 3d 20 34 34 20 7c 7c 20 |itemID =|= 44 || | |00004290| 69 74 65 6d 49 44 20 3d | 3d 20 34 38 36 20 7c 7c |itemID =|= 486 ||| |000042a0| 20 69 74 65 6d 49 44 20 | 3d 3d 20 35 30 39 20 29 | itemID |== 509 )| |000042b0| 0d 64 65 66 20 66 6e 20 | 49 73 43 6f 6e 74 61 69 |.def fn |IsContai| |000042c0| 6e 65 72 28 20 69 74 65 | 6d 49 44 20 29 20 3d 20 |ner( ite|mID ) = | |000042d0| 28 20 6e 6f 74 28 20 28 | 20 28 69 74 65 6d 49 44 |( not( (| (itemID| |000042e0| 20 6d 6f 64 20 35 29 20 | 3d 3d 20 32 20 6f 72 20 | mod 5) |== 2 or | |000042f0| 69 74 65 6d 49 44 20 3e | 20 31 30 30 30 30 29 20 |itemID >| 10000) | |00004300| 29 20 61 6e 64 20 6e 6f | 74 28 20 66 6e 20 49 73 |) and no|t( fn Is| |00004310| 41 6c 69 61 73 28 20 69 | 74 65 6d 49 44 20 29 20 |Alias( i|temID ) | |00004320| 29 20 29 0d 0d 27 7e 27 | 3b 0d 2f 2a 0d 20 20 20 |) )..'~'|;./*. | |00004330| 20 20 54 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 | This f|unction | |00004340| 69 73 20 75 73 65 64 20 | 74 6f 20 63 72 65 61 74 |is used |to creat| |00004350| 65 20 61 20 73 74 72 69 | 6e 67 2c 20 69 74 20 69 |e a stri|ng, it i| |00004360| 73 20 75 73 65 64 20 6d | 6f 72 65 20 70 72 65 63 |s used m|ore prec| |00004370| 69 73 65 6c 79 0d 20 20 | 20 20 20 66 6f 72 20 74 |isely. | for t| |00004380| 68 65 20 63 65 6c 6c 73 | 20 75 6e 64 65 72 20 74 |he cells| under t| |00004390| 68 65 20 63 6f 6c 75 6d | 6e 20 74 69 74 6c 65 64 |he colum|n titled| |000043a0| 20 49 74 65 6d 49 44 20 | 74 68 61 74 20 74 68 65 | ItemID |that the| |000043b0| 20 44 61 74 61 42 72 6f | 77 73 65 72 0d 20 20 20 | DataBro|wser. | |000043c0| 20 20 6d 75 73 74 20 64 | 69 73 70 6c 61 79 2e 0d | must d|isplay..| |000043d0| 2a 2f 0d 63 6c 65 61 72 | 20 6c 6f 63 61 6c 20 66 |*/.clear| local f| |000043e0| 6e 20 47 65 6e 65 72 61 | 74 65 53 74 72 69 6e 67 |n Genera|teString| |000043f0| 28 20 69 74 65 6d 49 44 | 20 61 73 20 44 61 74 61 |( itemID| as Data| |00004400| 42 72 6f 77 73 65 72 49 | 74 65 6d 49 44 2c 20 69 |BrowserI|temID, i| |00004410| 6e 50 72 6f 70 20 61 73 | 20 44 61 74 61 42 72 6f |nProp as| DataBro| |00004420| 77 73 65 72 50 72 6f 70 | 65 72 74 79 49 44 2c 20 |wserProp|ertyID, | |00004430| 40 73 20 61 73 20 2e 53 | 74 72 32 35 35 20 29 0d |@s as .S|tr255 ).| |00004440| 0d 64 69 6d 20 61 73 20 | 53 74 72 32 35 35 20 20 |.dim as |Str255 | |00004450| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004460| 74 65 6d 70 53 74 72 0d | 64 69 6d 20 61 73 20 44 |tempStr.|dim as D| |00004470| 61 74 61 42 72 6f 77 73 | 65 72 50 72 6f 70 65 72 |ataBrows|erProper| |00004480| 74 79 49 44 20 40 20 70 | 72 6f 70 20 0d 64 69 6d |tyID @ p|rop .dim| |00004490| 20 61 73 20 42 6f 6f 6c | 65 61 6e 20 20 20 20 20 | as Bool|ean | |000044a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 74 65 6d | | item| |000044b0| 58 50 72 6f 70 65 72 74 | 79 0d 0d 70 72 6f 70 20 |XPropert|y..prop | |000044c0| 3d 20 69 6e 50 72 6f 70 | 0d 73 2e 6e 69 6c 60 20 |= inProp|.s.nil` | |000044d0| 3d 20 30 0d 69 74 65 6d | 58 50 72 6f 70 65 72 74 |= 0.item|XPropert| |000044e0| 79 20 3d 20 28 20 70 72 | 6f 70 20 3d 3d 20 5f 69 |y = ( pr|op == _i| |000044f0| 74 65 6d 49 44 43 6f 6c | 75 6d 6e 49 44 20 6f 72 |temIDCol|umnID or| |00004500| 20 70 72 6f 70 20 3d 3d | 20 5f 6b 44 61 74 61 42 | prop ==| _kDataB| |00004510| 72 6f 77 73 65 72 49 74 | 65 6d 53 65 6c 66 49 64 |rowserIt|emSelfId| |00004520| 65 6e 74 69 74 79 50 72 | 6f 70 65 72 74 79 20 29 |entityPr|operty )| |00004530| 0d 0d 69 66 20 69 74 65 | 6d 58 50 72 6f 70 65 72 |..if ite|mXProper| |00004540| 74 79 20 74 68 65 6e 20 | 73 2e 6e 69 6c 24 20 3d |ty then |s.nil$ =| |00004550| 20 22 49 74 65 6d 20 22 | 0d 73 2e 6e 69 6c 24 20 | "Item "|.s.nil$ | |00004560| 3d 20 73 2e 6e 69 6c 24 | 20 2b 20 73 74 72 24 28 |= s.nil$| + str$(| |00004570| 20 69 74 65 6d 49 44 20 | 29 0d 0d 6c 6f 6e 67 20 | itemID |)..long | |00004580| 69 66 20 6e 6f 74 28 20 | 69 74 65 6d 58 50 72 6f |if not( |itemXPro| |00004590| 70 65 72 74 79 20 29 0d | 74 65 6d 70 53 74 72 5b |perty ).|tempStr[| |000045a0| 30 5d 20 3d 20 73 69 7a | 65 6f 66 28 70 72 6f 70 |0] = siz|eof(prop| |000045b0| 29 0d 42 6c 6f 63 6b 4d | 6f 76 65 44 61 74 61 28 |).BlockM|oveData(| |000045c0| 20 40 70 72 6f 70 2c 20 | 40 74 65 6d 70 53 74 72 | @prop, |@tempStr| |000045d0| 5b 31 5d 2c 20 73 69 7a | 65 6f 66 28 70 72 6f 70 |[1], siz|eof(prop| |000045e0| 29 20 29 0d 73 2e 6e 69 | 6c 24 20 3d 20 73 2e 6e |) ).s.ni|l$ = s.n| |000045f0| 69 6c 24 20 2b 20 22 2c | 20 22 20 2b 20 74 65 6d |il$ + ",| " + tem| |00004600| 70 53 74 72 0d 65 6e 64 | 20 69 66 0d 0d 65 6e 64 |pStr.end| if..end| |00004610| 20 66 6e 0d 0d 27 7e 27 | 31 0d 2f 2a 0d 20 20 20 | fn..'~'|1./*. | |00004620| 20 20 54 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 | This f|unction | |00004630| 72 65 74 72 69 65 76 65 | 73 20 74 68 65 20 62 72 |retrieve|s the br| |00004640| 6f 77 73 65 72 20 72 65 | 66 65 72 65 6e 63 65 20 |owser re|ference | |00004650| 66 72 6f 6d 20 74 68 65 | 20 77 69 6e 64 6f 77 2e |from the| window.| |00004660| 0d 20 20 20 20 20 54 68 | 65 20 62 72 6f 77 73 65 |. Th|e browse| |00004670| 72 20 72 65 66 65 72 65 | 6e 63 65 20 68 61 73 20 |r refere|nce has | |00004680| 62 65 65 6e 20 73 61 76 | 65 64 20 68 61 73 20 61 |been sav|ed has a| |00004690| 20 77 69 6e 64 6f 77 20 | 70 72 6f 70 65 72 74 79 | window |property| |000046a0| 2e 0d 2a 2f 0d 63 6c 65 | 61 72 20 6c 6f 63 61 6c |..*/.cle|ar local| |000046b0| 20 66 6e 20 47 65 74 44 | 61 74 61 42 72 6f 77 73 | fn GetD|ataBrows| |000046c0| 65 72 46 72 6f 6d 57 69 | 6e 64 6f 77 28 20 77 20 |erFromWi|ndow( w | |000046d0| 61 73 20 57 69 6e 64 6f | 77 52 65 66 20 29 0d 0d |as Windo|wRef )..| |000046e0| 64 69 6d 20 61 73 20 4f | 53 53 74 61 74 75 73 20 |dim as O|SStatus | |000046f0| 20 20 20 20 65 72 72 0d | 64 69 6d 20 61 73 20 43 | err.|dim as C| |00004700| 6f 6e 74 72 6f 6c 52 65 | 66 20 40 20 62 72 6f 77 |ontrolRe|f @ brow| |00004710| 73 65 72 0d 0d 6c 6f 6e | 67 20 69 66 20 77 0d 65 |ser..lon|g if w.e| |00004720| 72 72 20 3d 20 66 6e 20 | 47 65 74 57 69 6e 64 6f |rr = fn |GetWindo| |00004730| 77 50 72 6f 70 65 72 74 | 79 28 20 77 2c 20 5f 6d |wPropert|y( w, _m| |00004740| 79 43 72 65 61 74 6f 72 | 2c 20 5f 6d 79 44 61 74 |yCreator|, _myDat| |00004750| 61 42 72 6f 77 73 65 72 | 2c 20 73 69 7a 65 6f 66 |aBrowser|, sizeof| |00004760| 28 62 72 6f 77 73 65 72 | 29 2c 20 23 5f 6e 69 6c |(browser|), #_nil| |00004770| 2c 20 62 72 6f 77 73 65 | 72 20 29 0d 65 6e 64 20 |, browse|r ).end | |00004780| 69 66 0d 0d 65 6e 64 20 | 66 6e 20 3d 20 62 72 6f |if..end |fn = bro| |00004790| 77 73 65 72 0d 0d 27 7e | 12 43 75 73 74 6f 6d 69 |wser..'~|.Customi| |000047a0| 7a 65 72 20 26 20 53 65 | 74 74 69 6e 67 73 20 44 |zer & Se|ttings D| |000047b0| 69 61 6c 6f 67 73 0d 27 | 7e 27 3b 0d 2f 2a 0d 20 |ialogs.'|~';./*. | |000047c0| 20 20 20 20 54 68 69 73 | 20 66 75 6e 63 74 69 6f | This| functio| |000047d0| 6e 20 77 69 6c 6c 20 74 | 65 6c 6c 20 69 66 20 61 |n will t|ell if a| |000047e0| 20 67 69 76 65 6e 20 66 | 65 61 74 75 72 65 20 69 | given f|eature i| |000047f0| 73 20 65 6e 61 62 6c 65 | 64 20 66 6f 72 20 74 68 |s enable|d for th| |00004800| 65 0d 20 20 20 20 20 73 | 65 6c 65 63 74 69 6f 6e |e. s|election| |00004810| 20 6d 6f 64 65 20 75 73 | 65 64 20 77 69 74 68 20 | mode us|ed with | |00004820| 74 68 65 20 44 61 74 61 | 42 72 6f 77 73 65 72 2e |the Data|Browser.| |00004830| 20 0d 20 20 20 20 20 54 | 68 65 20 73 65 6c 65 63 | . T|he selec| |00004840| 74 69 6f 6e 20 66 6c 61 | 67 73 20 63 61 6e 20 62 |tion fla|gs can b| |00004850| 65 20 61 20 63 6f 6d 62 | 69 6e 61 74 69 6f 6e 20 |e a comb|ination | |00004860| 6f 66 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |of the f|ollowing| |00004870| 3a 0d 0d 20 20 20 20 20 | 20 20 20 20 20 63 6f 6e |:.. | con| |00004880| 73 74 61 6e 74 20 6e 61 | 6d 65 20 20 20 20 20 20 |stant na|me | |00004890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000048a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 64 65 73 | | des| |000048b0| 63 72 69 70 74 69 6f 6e | 0d 20 0d 20 20 20 20 20 |cription|. . | |000048c0| 5f 6b 44 61 74 61 42 72 | 6f 77 73 65 72 44 72 61 |_kDataBr|owserDra| |000048d0| 67 53 65 6c 65 63 74 20 | 20 20 20 20 20 20 20 20 |gSelect | | |000048e0| 20 20 20 20 54 68 69 73 | 20 74 75 72 6e 73 20 6f | This| turns o| |000048f0| 6e 20 6f 72 20 6f 66 66 | 20 74 68 65 20 61 76 61 |n or off| the ava| |00004900| 69 6c 61 62 69 6c 69 74 | 79 20 6f 66 20 74 68 65 |ilabilit|y of the| |00004910| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | | |00004920| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004930| 20 20 20 20 20 20 20 20 | 20 20 73 65 6c 65 63 74 | | select| |00004940| 69 6f 6e 20 6d 61 72 71 | 75 65 2e 20 54 68 65 20 |ion marq|ue. The | |00004950| 6d 61 72 71 75 65 20 77 | 69 6c 6c 20 73 68 6f 77 |marque w|ill show| |00004960| 20 75 70 20 69 66 0d 20 | 20 20 20 20 20 20 20 20 | up if. | | |00004970| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004980| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004990| 74 68 65 20 63 6c 69 63 | 6b 20 77 61 73 20 6e 6f |the clic|k was no| |000049a0| 74 20 6f 6e 20 63 6f 6e | 74 65 6e 74 2c 20 6f 72 |t on con|tent, or| |000049b0| 20 74 68 65 20 4f 70 74 | 69 6f 6e 20 6b 65 79 0d | the Opt|ion key.| |000049c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000049d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000049e0| 20 20 20 20 20 20 20 20 | 20 69 73 20 6e 6f 74 20 | | is not | |000049f0| 64 6f 77 6e 20 61 6e 64 | 20 5f 6b 44 61 74 61 42 |down and| _kDataB| |00004a00| 72 6f 77 73 65 72 44 72 | 61 67 53 65 6c 65 63 74 |rowserDr|agSelect| |00004a10| 20 69 73 20 6f 6e 0d 20 | 20 20 20 20 20 20 20 20 | is on. | | |00004a20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004a30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004a40| 5f 6b 44 61 74 61 42 72 | 6f 77 73 65 72 53 65 6c |_kDataBr|owserSel| |00004a50| 65 63 74 4f 6e 6c 79 4f | 6e 65 20 69 73 20 6f 66 |ectOnlyO|ne is of| |00004a60| 66 20 61 6e 64 20 0d 20 | 20 20 20 20 20 20 20 20 |f and . | | |00004a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004a90| 5f 6b 44 61 74 61 42 72 | 6f 77 73 65 72 4e 6f 44 |_kDataBr|owserNoD| |00004aa0| 69 73 6a 6f 69 6e 74 53 | 65 6c 65 63 74 69 6f 6e |isjointS|election| |00004ab0| 20 69 73 20 6f 66 66 2e | 0d 0d 20 20 20 20 20 5f | is off.|.. _| |00004ac0| 6b 44 61 74 61 42 72 6f | 77 73 65 72 53 65 6c 65 |kDataBro|wserSele| |00004ad0| 63 74 4f 6e 6c 79 4f 6e | 65 20 20 20 20 20 20 20 |ctOnlyOn|e | |00004ae0| 20 20 20 61 6c 6c 6f 77 | 20 6f 6e 6c 79 20 6f 6e | allow| only on| |00004af0| 65 20 69 74 65 6d 20 74 | 6f 20 62 65 20 73 65 6c |e item t|o be sel| |00004b00| 65 63 74 65 64 20 61 74 | 20 6f 6e 63 65 2e 0d 0d |ected at| once...| |00004b10| 20 20 20 20 20 5f 6b 44 | 61 74 61 42 72 6f 77 73 | _kD|ataBrows| |00004b20| 65 72 52 65 73 65 74 53 | 65 6c 65 63 74 69 6f 6e |erResetS|election| |00004b30| 20 20 20 20 20 20 20 20 | 20 72 65 73 65 74 20 6c | | reset l| |00004b40| 69 73 74 20 62 65 66 6f | 72 65 20 70 72 6f 63 65 |ist befo|re proce| |00004b50| 73 73 69 6e 67 20 6e 65 | 78 74 20 73 65 6c 65 63 |ssing ne|xt selec| |00004b60| 74 69 6f 6e 0d 20 20 20 | 20 20 20 20 20 20 20 20 |tion. | | |00004b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6f 70 | | op| |00004b90| 65 72 61 74 69 6f 6e 2e | 0d 0d 20 20 20 20 20 5f |eration.|.. _| |00004ba0| 6b 44 61 74 61 42 72 6f | 77 73 65 72 43 6d 64 54 |kDataBro|wserCmdT| |00004bb0| 6f 67 67 6c 65 73 53 65 | 6c 65 63 74 69 6f 6e 20 |ogglesSe|lection | |00004bc0| 20 20 20 61 6c 6c 6f 77 | 20 75 73 65 20 6f 66 20 | allow| use of | |00004bd0| 63 6f 6d 6d 61 6e 64 20 | 74 6f 20 74 6f 67 67 6c |command |to toggl| |00004be0| 65 20 69 74 65 6d 73 20 | 69 6e 20 61 6e 64 0d 20 |e items |in and. | |00004bf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004c00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004c10| 20 20 20 20 20 20 20 20 | 6f 75 74 20 6f 66 20 74 | |out of t| |00004c20| 68 65 20 73 65 6c 65 63 | 74 69 6f 6e 2e 0d 0d 20 |he selec|tion... | |00004c30| 20 20 20 20 5f 6b 44 61 | 74 61 42 72 6f 77 73 65 | _kDa|taBrowse| |00004c40| 72 4e 6f 44 69 73 6a 6f | 69 6e 74 53 65 6c 65 63 |rNoDisjo|intSelec| |00004c50| 74 69 6f 6e 20 20 20 20 | 70 72 65 76 65 6e 74 20 |tion |prevent | |00004c60| 64 69 73 63 6f 6e 74 69 | 6e 75 6f 75 73 20 73 65 |disconti|nuous se| |00004c70| 6c 65 63 74 69 6f 6e 73 | 2e 20 0d 0d 20 20 20 20 |lections|. .. | |00004c80| 20 5f 6b 44 61 74 61 42 | 72 6f 77 73 65 72 41 6c | _kDataB|rowserAl| |00004c90| 77 61 79 73 45 78 74 65 | 6e 64 53 65 6c 65 63 74 |waysExte|ndSelect| |00004ca0| 69 6f 6e 20 20 65 6e 61 | 62 6c 65 20 6d 75 6c 74 |ion ena|ble mult| |00004cb0| 69 70 6c 65 20 69 74 65 | 6d 20 73 65 6c 65 63 74 |iple ite|m select| |00004cc0| 69 6f 6e 20 77 69 74 68 | 6f 75 74 20 68 6f 6c 64 |ion with|out hold| |00004cd0| 69 6e 67 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |ing. | | |00004ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 64 6f 77 | | dow| |00004d00| 6e 20 61 6e 79 20 6d 6f | 64 69 66 69 65 72 20 6b |n any mo|difier k| |00004d10| 65 79 73 2e 0d 0d 2a 2f | 0d 63 6c 65 61 72 20 6c |eys...*/|.clear l| |00004d20| 6f 63 61 6c 20 66 6e 20 | 53 65 6c 65 63 74 69 6f |ocal fn |Selectio| |00004d30| 6e 46 6c 61 67 4f 6e 28 | 20 62 72 6f 77 73 65 72 |nFlagOn(| browser| |00004d40| 20 61 73 20 43 6f 6e 74 | 72 6f 6c 52 65 66 2c 20 | as Cont|rolRef, | |00004d50| 66 6c 61 67 20 61 73 20 | 44 61 74 61 42 72 6f 77 |flag as |DataBrow| |00004d60| 73 65 72 53 65 6c 65 63 | 74 69 6f 6e 46 6c 61 67 |serSelec|tionFlag| |00004d70| 73 20 29 0d 0d 64 69 6d | 20 61 73 20 44 61 74 61 |s )..dim| as Data| |00004d80| 42 72 6f 77 73 65 72 53 | 65 6c 65 63 74 69 6f 6e |BrowserS|election| |00004d90| 46 6c 61 67 73 20 40 20 | 66 6c 61 67 73 0d 64 69 |Flags @ |flags.di| |00004da0| 6d 20 61 73 20 4f 53 53 | 74 61 74 75 73 20 20 20 |m as OSS|tatus | |00004db0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004dc0| 20 65 72 72 0d 0d 6c 6f | 6e 67 20 69 66 20 62 72 | err..lo|ng if br| |00004dd0| 6f 77 73 65 72 0d 65 72 | 72 20 3d 20 66 6e 20 47 |owser.er|r = fn G| |00004de0| 65 74 44 61 74 61 42 72 | 6f 77 73 65 72 53 65 6c |etDataBr|owserSel| |00004df0| 65 63 74 69 6f 6e 46 6c | 61 67 73 28 20 62 72 6f |ectionFl|ags( bro| |00004e00| 77 73 65 72 2c 20 66 6c | 61 67 73 20 29 0d 65 6e |wser, fl|ags ).en| |00004e10| 64 20 69 66 0d 0d 65 6e | 64 20 66 6e 20 3d 20 28 |d if..en|d fn = (| |00004e20| 20 66 6c 61 67 73 20 61 | 6e 64 20 66 6c 61 67 20 | flags a|nd flag | |00004e30| 29 20 3c 3e 20 30 2f 2f | 20 49 20 68 6f 70 65 20 |) <> 0//| I hope | |00004e40| 69 74 20 69 73 20 4f 4b | 0d 0d 27 7e 27 3b 0d 2f |it is OK|..'~';./| |00004e50| 2a 0d 20 20 20 20 20 54 | 68 69 73 20 66 75 6e 63 |*. T|his func| |00004e60| 74 69 6f 6e 20 77 69 6c | 6c 20 73 65 74 75 70 20 |tion wil|l setup | |00004e70| 74 68 65 20 62 75 74 74 | 6f 6e 73 20 69 6e 20 74 |the butt|ons in t| |00004e80| 68 65 20 63 75 73 74 6f | 6d 69 7a 65 72 20 77 69 |he custo|mizer wi| |00004e90| 6e 64 6f 77 73 2e 0d 20 | 20 20 20 20 54 68 65 72 |ndows.. | Ther| |00004ea0| 65 20 61 72 65 20 74 77 | 6f 20 64 69 61 6c 6f 67 |e are tw|o dialog| |00004eb0| 73 20 74 6f 20 70 6c 61 | 79 20 77 69 74 68 20 74 |s to pla|y with t| |00004ec0| 68 65 20 44 61 74 61 42 | 72 6f 77 73 65 72 20 73 |he DataB|rowser s| |00004ed0| 65 74 74 69 6e 67 73 0d | 20 20 20 20 20 69 6e 20 |ettings.| in | |00004ee0| 74 68 69 73 20 70 72 6f | 67 72 61 6d 2e 0d 2a 2f |this pro|gram..*/| |00004ef0| 0d 63 6c 65 61 72 20 6c | 6f 63 61 6c 20 66 6e 20 |.clear l|ocal fn | |00004f00| 53 65 74 75 70 43 6f 6e | 74 72 6f 6c 73 28 20 64 |SetupCon|trols( d| |00004f10| 6c 6f 67 20 61 73 20 44 | 69 61 6c 6f 67 52 65 66 |log as D|ialogRef| |00004f20| 2c 20 63 75 73 74 6f 6d | 69 7a 65 72 49 44 20 61 |, custom|izerID a| |00004f30| 73 20 55 49 6e 74 31 36 | 29 0d 0d 64 69 6d 20 61 |s UInt16|)..dim a| |00004f40| 73 20 4f 53 53 74 61 74 | 75 73 20 20 20 20 20 20 |s OSStat|us | |00004f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004f60| 20 20 20 20 65 72 72 0d | 64 69 6d 20 61 73 20 44 | err.|dim as D| |00004f70| 69 61 6c 6f 67 49 74 65 | 6d 49 6e 64 65 78 20 20 |ialogIte|mIndex | |00004f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004f90| 20 64 49 74 65 6d 0d 64 | 69 6d 20 61 73 20 43 6f | dItem.d|im as Co| |00004fa0| 6e 74 72 6f 6c 52 65 66 | 20 20 20 20 20 20 20 20 |ntrolRef| | |00004fb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004fc0| 62 72 6f 77 73 65 72 2c | 20 40 20 63 0d 64 69 6d |browser,| @ c.dim| |00004fd0| 20 61 73 20 55 49 6e 74 | 33 32 20 20 20 20 20 20 | as UInt|32 | |00004fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00004ff0| 20 20 20 20 40 20 6e 75 | 6d 43 6f 6c 75 6d 6e 73 | @ nu|mColumns| |00005000| 0d 64 69 6d 20 61 73 20 | 55 49 6e 74 31 36 20 20 |.dim as |UInt16 | |00005010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00005020| 20 20 20 20 20 20 20 20 | 40 20 68 65 61 64 65 72 | |@ header| |00005030| 42 74 6e 48 65 69 67 68 | 74 0d 64 69 6d 20 61 73 |BtnHeigh|t.dim as| |00005040| 20 44 61 74 61 42 72 6f | 77 73 65 72 50 72 6f 70 | DataBro|wserProp| |00005050| 65 72 74 79 46 6c 61 67 | 73 20 20 20 20 20 20 20 |ertyFlag|s | |00005060| 20 40 20 66 6c 61 67 73 | 0d 64 69 6d 20 61 73 20 | @ flags|.dim as | |00005070| 44 61 74 61 42 72 6f 77 | 73 65 72 54 61 62 6c 65 |DataBrow|serTable| |00005080| 56 69 65 77 48 69 6c 69 | 74 65 53 74 79 6c 65 20 |ViewHili|teStyle | |00005090| 40 20 68 69 6c 69 74 65 | 53 74 79 6c 65 0d 64 69 |@ hilite|Style.di| |000050a0| 6d 20 61 73 20 44 61 74 | 61 42 72 6f 77 73 65 72 |m as Dat|aBrowser| |000050b0| 50 72 6f 70 65 72 74 79 | 49 44 20 20 20 20 20 20 |Property|ID | |000050c0| 20 20 20 20 20 40 20 64 | 69 73 63 6c 6f 73 75 72 | @ d|isclosur| |000050d0| 65 43 6f 6c 75 6d 6e 0d | 64 69 6d 20 61 73 20 42 |eColumn.|dim as B| |000050e0| 6f 6f 6c 65 61 6e 20 20 | 20 20 20 20 20 20 20 20 |oolean | | |000050f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 40 | | @| |00005100| 20 63 56 61 6c 2c 20 76 | 42 61 72 2c 20 68 42 61 | cVal, v|Bar, hBa| |00005110| 72 2c 20 65 78 70 61 6e | 64 61 62 6c 65 52 6f 77 |r, expan|dableRow| |00005120| 73 0d 0d 62 72 6f 77 73 | 65 72 20 20 3d 20 66 6e |s..brows|er = fn| |00005130| 20 47 65 74 44 61 74 61 | 42 72 6f 77 73 65 72 46 | GetData|BrowserF| |00005140| 72 6f 6d 57 69 6e 64 6f | 77 28 20 66 6e 20 47 65 |romWindo|w( fn Ge| |00005150| 74 44 69 61 6c 6f 67 57 | 69 6e 64 6f 77 28 64 6c |tDialogW|indow(dl| |00005160| 6f 67 29 20 29 0d 0d 64 | 6f 0d 64 49 74 65 6d 2b |og) )..d|o.dItem+| |00005170| 2b 0d 69 66 20 66 6e 20 | 47 65 74 44 69 61 6c 6f |+.if fn |GetDialo| |00005180| 67 49 74 65 6d 41 73 43 | 6f 6e 74 72 6f 6c 28 20 |gItemAsC|ontrol( | |00005190| 64 6c 6f 67 2c 20 64 49 | 74 65 6d 2c 20 63 20 29 |dlog, dI|tem, c )| |000051a0| 20 21 3d 20 5f 6e 6f 45 | 72 72 20 74 68 65 6e 20 | != _noE|rr then | |000051b0| 65 78 69 74 20 64 6f 0d | 0d 6c 6f 6e 67 20 69 66 |exit do.|.long if| |000051c0| 20 63 0d 2f 2f 20 53 65 | 74 20 61 20 63 75 73 74 | c.// Se|t a cust| |000051d0| 6f 6d 20 49 44 20 66 6f | 72 20 65 61 63 68 20 63 |om ID fo|r each c| |000051e0| 6f 6e 74 72 6f 6c 27 73 | 20 72 65 66 65 72 65 6e |ontrol's| referen| |000051f0| 63 65 20 28 68 65 72 65 | 20 69 74 73 20 69 6e 64 |ce (here| its ind| |00005200| 65 78 20 69 6e 20 74 68 | 65 20 63 6f 6e 74 72 6f |ex in th|e contro| |00005210| 6c 20 6c 69 73 74 29 0d | 53 65 74 43 6f 6e 74 72 |l list).|SetContr| |00005220| 6f 6c 52 65 66 65 72 65 | 6e 63 65 28 20 63 2c 20 |olRefere|nce( c, | |00005230| 64 49 74 65 6d 20 29 0d | 0d 73 65 6c 65 63 74 20 |dItem ).|.select | |00005240| 63 75 73 74 6f 6d 69 7a | 65 72 49 44 0d 0d 63 61 |customiz|erID..ca| |00005250| 73 65 20 5f 73 65 74 74 | 69 6e 67 73 44 4c 4f 47 |se _sett|ingsDLOG| |00005260| 52 65 73 49 44 3a 0d 27 | 7e 27 32 0d 0d 73 65 6c |ResID:.'|~'2..sel| |00005270| 65 63 74 20 64 49 74 65 | 6d 0d 0d 63 61 73 65 20 |ect dIte|m..case | |00005280| 5f 61 63 74 69 76 65 49 | 74 65 6d 73 42 74 6e 20 |_activeI|temsBtn | |00005290| 20 3a 20 65 72 72 20 3d | 20 66 6e 20 47 65 74 44 | : err =| fn GetD| |000052a0| 61 74 61 42 72 6f 77 73 | 65 72 41 63 74 69 76 65 |ataBrows|erActive| |000052b0| 49 74 65 6d 73 28 20 62 | 72 6f 77 73 65 72 2c 20 |Items( b|rowser, | |000052c0| 63 56 61 6c 20 29 0d 63 | 61 73 65 20 5f 66 72 61 |cVal ).c|ase _fra| |000052d0| 6d 65 41 6e 64 46 6f 63 | 75 73 42 74 6e 3a 20 65 |meAndFoc|usBtn: e| |000052e0| 72 72 20 3d 20 66 6e 20 | 47 65 74 43 6f 6e 74 72 |rr = fn |GetContr| |000052f0| 6f 6c 44 61 74 61 28 20 | 62 72 6f 77 73 65 72 2c |olData( |browser,| |00005300| 20 5f 6b 43 6f 6e 74 72 | 6f 6c 4e 6f 50 61 72 74 | _kContr|olNoPart| |00005310| 2c 20 5f 6b 43 6f 6e 74 | 72 6f 6c 44 61 74 61 42 |, _kCont|rolDataB| |00005320| 72 6f 77 73 65 72 49 6e | 63 6c 75 64 65 73 46 72 |rowserIn|cludesFr| |00005330| 61 6d 65 41 6e 64 46 6f | 63 75 73 54 61 67 2c 20 |ameAndFo|cusTag, | |00005340| 73 69 7a 65 6f 66 28 63 | 56 61 6c 29 2c 20 63 56 |sizeof(c|Val), cV| |00005350| 61 6c 2c 20 23 5f 6e 69 | 6c 29 0d 63 61 73 65 20 |al, #_ni|l).case | |00005360| 5f 76 65 72 74 69 63 61 | 6c 53 63 72 6f 6c 6c 42 |_vertica|lScrollB| |00005370| 74 6e 2c 20 5f 68 6f 72 | 69 7a 6f 6e 74 61 6c 53 |tn, _hor|izontalS| |00005380| 63 72 6f 6c 6c 42 74 6e | 3a 0d 0d 65 72 72 20 3d |crollBtn|:..err =| |00005390| 20 66 6e 20 47 65 74 44 | 61 74 61 42 72 6f 77 73 | fn GetD|ataBrows| |000053a0| 65 72 48 61 73 53 63 72 | 6f 6c 6c 42 61 72 73 28 |erHasScr|ollBars(| |000053b0| 20 62 72 6f 77 73 65 72 | 2c 20 68 42 61 72 2c 20 | browser|, hBar, | |000053c0| 76 42 61 72 20 29 0d 73 | 65 6c 65 63 74 20 64 49 |vBar ).s|elect dI| |000053d0| 74 65 6d 0d 63 61 73 65 | 20 5f 76 65 72 74 69 63 |tem.case| _vertic| |000053e0| 61 6c 53 63 72 6f 6c 6c | 42 74 6e 20 20 3a 20 63 |alScroll|Btn : c| |000053f0| 56 61 6c 20 3d 20 76 42 | 61 72 0d 63 61 73 65 20 |Val = vB|ar.case | |00005400| 5f 68 6f 72 69 7a 6f 6e | 74 61 6c 53 63 72 6f 6c |_horizon|talScrol| |00005410| 6c 42 74 6e 3a 20 63 56 | 61 6c 20 3d 20 68 42 61 |lBtn: cV|al = hBa| |00005420| 72 0d 65 6e 64 20 73 65 | 6c 65 63 74 0d 0d 63 61 |r.end se|lect..ca| |00005430| 73 65 20 5f 64 72 61 67 | 53 65 6c 65 63 74 42 74 |se _drag|SelectBt| |00005440| 6e 20 20 20 20 3a 20 63 | 56 61 6c 20 3d 20 66 6e |n : c|Val = fn| |00005450| 20 53 65 6c 65 63 74 69 | 6f 6e 46 6c 61 67 4f 6e | Selecti|onFlagOn| |00005460| 28 20 62 72 6f 77 73 65 | 72 2c 20 5f 6b 44 61 74 |( browse|r, _kDat| |00005470| 61 42 72 6f 77 73 65 72 | 44 72 61 67 53 65 6c 65 |aBrowser|DragSele| |00005480| 63 74 20 29 0d 63 61 73 | 65 20 5f 73 65 6c 65 63 |ct ).cas|e _selec| |00005490| 74 4f 6e 6c 79 4f 6e 65 | 42 74 6e 20 3a 20 63 56 |tOnlyOne|Btn : cV| |000054a0| 61 6c 20 3d 20 66 6e 20 | 53 65 6c 65 63 74 69 6f |al = fn |Selectio| |000054b0| 6e 46 6c 61 67 4f 6e 28 | 20 62 72 6f 77 73 65 72 |nFlagOn(| browser| |000054c0| 2c 20 5f 6b 44 61 74 61 | 42 72 6f 77 73 65 72 53 |, _kData|BrowserS| |000054d0| 65 6c 65 63 74 4f 6e 6c | 79 4f 6e 65 20 29 0d 63 |electOnl|yOne ).c| |000054e0| 61 73 65 20 5f 72 65 73 | 65 74 53 65 6c 65 63 74 |ase _res|etSelect| |000054f0| 69 6f 6e 42 74 6e 3a 20 | 63 56 61 6c 20 3d 20 66 |ionBtn: |cVal = f| |00005500| 6e 20 53 65 6c 65 63 74 | 69 6f 6e 46 6c 61 67 4f |n Select|ionFlagO| |00005510| 6e 28 20 62 72 6f 77 73 | 65 72 2c 20 5f 6b 44 61 |n( brows|er, _kDa| |00005520| 74 61 42 72 6f 77 73 65 | 72 52 65 73 65 74 53 65 |taBrowse|rResetSe| |00005530| 6c 65 63 74 69 6f 6e 20 | 29 0d 63 61 73 65 20 5f |lection |).case _| |00005540| 63 6f 6d 6d 61 6e 64 54 | 6f 67 67 6c 65 73 42 74 |commandT|ogglesBt| |00005550| 6e 3a 20 63 56 61 6c 20 | 3d 20 66 6e 20 53 65 6c |n: cVal |= fn Sel| |00005560| 65 63 74 69 6f 6e 46 6c | 61 67 4f 6e 28 20 62 72 |ectionFl|agOn( br| |00005570| 6f 77 73 65 72 2c 20 5f | 6b 44 61 74 61 42 72 6f |owser, _|kDataBro| |00005580| 77 73 65 72 43 6d 64 54 | 6f 67 67 6c 65 73 53 65 |wserCmdT|ogglesSe| |00005590| 6c 65 63 74 69 6f 6e 20 | 29 0d 63 61 73 65 20 5f |lection |).case _| |000055a0| 6e 6f 44 69 73 6a 6f 69 | 6e 74 42 74 6e 20 20 20 |noDisjoi|ntBtn | |000055b0| 20 3a 20 63 56 61 6c 20 | 3d 20 66 6e 20 53 65 6c | : cVal |= fn Sel| |000055c0| 65 63 74 69 6f 6e 46 6c | 61 67 4f 6e 28 20 62 72 |ectionFl|agOn( br| |000055d0| 6f 77 73 65 72 2c 20 5f | 6b 44 61 74 61 42 72 6f |owser, _|kDataBro| |000055e0| 77 73 65 72 4e 6f 44 69 | 73 6a 6f 69 6e 74 53 65 |wserNoDi|sjointSe| |000055f0| 6c 65 63 74 69 6f 6e 20 | 29 0d 63 61 73 65 20 5f |lection |).case _| |00005600| 61 6c 77 61 79 73 45 78 | 74 65 6e 64 42 74 6e 20 |alwaysEx|tendBtn | |00005610| 20 3a 20 63 56 61 6c 20 | 3d 20 66 6e 20 53 65 6c | : cVal |= fn Sel| |00005620| 65 63 74 69 6f 6e 46 6c | 61 67 4f 6e 28 20 62 72 |ectionFl|agOn( br| |00005630| 6f 77 73 65 72 2c 20 5f | 6b 44 61 74 61 42 72 6f |owser, _|kDataBro| |00005640| 77 73 65 72 41 6c 77 61 | 79 73 45 78 74 65 6e 64 |wserAlwa|ysExtend| |00005650| 53 65 6c 65 63 74 69 6f | 6e 20 29 0d 0d 65 6e 64 |Selectio|n )..end| |00005660| 20 73 65 6c 65 63 74 0d | 0d 63 61 73 65 20 5f 63 | select.|.case _c| |00005670| 75 73 74 6f 6d 69 7a 65 | 44 4c 4f 47 52 65 73 49 |ustomize|DLOGResI| |00005680| 44 3a 0d 27 7e 27 32 0d | 0d 73 65 6c 65 63 74 20 |D:.'~'2.|.select | |00005690| 64 49 74 65 6d 0d 0d 63 | 61 73 65 20 5f 76 61 72 |dItem..c|ase _var| |000056a0| 48 65 69 67 68 74 52 6f | 77 73 42 74 6e 3a 0d 0d |HeightRo|wsBtn:..| |000056b0| 65 72 72 20 3d 20 66 6e | 20 47 65 74 44 61 74 61 |err = fn| GetData| |000056c0| 42 72 6f 77 73 65 72 54 | 61 62 6c 65 56 69 65 77 |BrowserT|ableView| |000056d0| 47 65 6f 6d 65 74 72 79 | 28 20 62 72 6f 77 73 65 |Geometry|( browse| |000056e0| 72 2c 20 23 5f 6e 69 6c | 2c 20 63 56 61 6c 20 29 |r, #_nil|, cVal )| |000056f0| 0d 2f 2a 0d 20 20 20 20 | 20 66 6e 20 47 65 74 44 |./*. | fn GetD| |00005700| 61 74 61 42 72 6f 77 73 | 65 72 54 61 62 6c 65 56 |ataBrows|erTableV| |00005710| 69 65 77 47 65 6f 6d 65 | 74 72 79 20 28 20 62 72 |iewGeome|try ( br| |00005720| 6f 77 73 65 72 2c 20 76 | 61 72 69 61 62 6c 65 57 |owser, v|ariableW| |00005730| 69 64 74 68 43 6f 6c 75 | 6d 6e 73 2c 20 76 61 72 |idthColu|mns, var| |00005740| 69 61 62 6c 65 48 65 69 | 67 68 74 52 6f 77 73 20 |iableHei|ghtRows | |00005750| 29 0d 0d 20 20 20 20 20 | 76 61 72 69 61 62 6c 65 |).. |variable| |00005760| 57 69 64 74 68 43 6f 6c | 75 6d 6e 73 20 20 20 20 |WidthCol|umns | |00005770| 20 74 72 75 65 20 69 66 | 20 74 68 65 20 44 61 74 | true if| the Dat| |00005780| 61 42 72 6f 77 73 65 72 | 20 68 61 73 20 76 61 72 |aBrowser| has var| |00005790| 69 61 62 6c 65 0d 20 20 | 20 20 20 20 20 20 20 20 |iable. | | |000057a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000057b0| 20 20 20 20 77 69 64 74 | 68 20 63 6f 6c 75 6d 6e | widt|h column| |000057c0| 73 0d 0d 20 20 20 20 20 | 76 61 72 69 61 62 6c 65 |s.. |variable| |000057d0| 48 65 69 67 68 74 52 6f | 77 73 20 20 20 20 20 20 |HeightRo|ws | |000057e0| 20 74 72 75 65 20 69 66 | 20 74 68 65 20 44 61 74 | true if| the Dat| |000057f0| 61 42 72 6f 77 73 65 72 | 20 68 61 73 20 76 61 72 |aBrowser| has var| |00005800| 69 61 62 6c 65 0d 20 20 | 20 20 20 20 20 20 20 20 |iable. | | |00005810| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00005820| 20 20 20 20 68 65 69 67 | 68 74 20 72 6f 77 73 20 | heig|ht rows | |00005830| 28 63 75 72 72 65 6e 74 | 6c 79 20 69 67 6e 6f 72 |(current|ly ignor| |00005840| 65 64 29 0d 2a 2f 0d 6c | 6f 6e 67 20 69 66 20 63 |ed).*/.l|ong if c| |00005850| 56 61 6c 20 3d 20 5f 66 | 61 6c 73 65 0d 65 72 72 |Val = _f|alse.err| |00005860| 20 3d 20 66 6e 20 47 65 | 74 44 69 61 6c 6f 67 49 | = fn Ge|tDialogI| |00005870| 74 65 6d 41 73 43 6f 6e | 74 72 6f 6c 28 20 64 6c |temAsCon|trol( dl| |00005880| 6f 67 2c 20 5f 65 78 70 | 61 6e 64 61 62 6c 65 52 |og, _exp|andableR| |00005890| 6f 77 73 42 74 6e 2c 20 | 63 20 29 0d 65 72 72 20 |owsBtn, |c ).err | |000058a0| 3d 20 66 6e 20 44 65 61 | 63 74 69 76 61 74 65 43 |= fn Dea|ctivateC| |000058b0| 6f 6e 74 72 6f 6c 28 20 | 63 20 29 0d 65 6e 64 20 |ontrol( |c ).end | |000058c0| 69 66 0d 0d 63 61 73 65 | 20 5f 64 69 73 63 6c 6f |if..case| _disclo| |000058d0| 73 75 72 65 42 74 6e 2c | 20 5f 65 78 70 61 6e 64 |sureBtn,| _expand| |000058e0| 61 62 6c 65 52 6f 77 73 | 42 74 6e 3a 0d 0d 65 72 |ableRows|Btn:..er| |000058f0| 72 20 3d 20 66 6e 20 47 | 65 74 44 61 74 61 42 72 |r = fn G|etDataBr| |00005900| 6f 77 73 65 72 4c 69 73 | 74 56 69 65 77 44 69 73 |owserLis|tViewDis| |00005910| 63 6c 6f 73 75 72 65 43 | 6f 6c 75 6d 6e 28 20 62 |closureC|olumn( b| |00005920| 72 6f 77 73 65 72 2c 20 | 64 69 73 63 6c 6f 73 75 |rowser, |disclosu| |00005930| 72 65 43 6f 6c 75 6d 6e | 2c 20 65 78 70 61 6e 64 |reColumn|, expand| |00005940| 61 62 6c 65 52 6f 77 73 | 20 29 0d 2f 2a 0d 20 20 |ableRows| )./*. | |00005950| 20 20 20 64 69 73 63 6c | 6f 73 75 72 65 43 6f 6c | discl|osureCol| |00005960| 75 6d 6e 20 20 20 74 68 | 65 20 63 6f 6c 75 6d 6e |umn th|e column| |00005970| 20 50 72 6f 70 65 72 74 | 79 20 49 44 20 6f 66 20 | Propert|y ID of | |00005980| 74 68 65 20 63 6f 6c 75 | 6d 6e 20 77 68 65 72 65 |the colu|mn where| |00005990| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | | |000059a0| 20 20 20 20 20 20 20 20 | 20 74 68 65 20 64 69 73 | | the dis| |000059b0| 63 6c 6f 73 75 72 65 20 | 74 72 69 61 6e 67 6c 65 |closure |triangle| |000059c0| 73 20 61 72 65 20 62 65 | 69 6e 67 20 64 69 73 70 |s are be|ing disp| |000059d0| 6c 61 79 65 64 2e 0d 0d | 20 20 20 20 20 65 78 70 |layed...| exp| |000059e0| 61 6e 64 61 62 6c 65 52 | 6f 77 73 20 20 20 20 20 |andableR|ows | |000059f0| 69 66 20 74 68 65 20 72 | 6f 77 20 69 74 73 65 6c |if the r|ow itsel| |00005a00| 66 20 65 78 70 61 6e 64 | 73 20 72 61 74 68 65 72 |f expand|s rather| |00005a10| 20 74 68 61 6e 20 6f 70 | 65 6e 69 6e 67 20 75 70 | than op|ening up| |00005a20| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | | |00005a30| 20 20 20 20 20 20 20 20 | 20 73 65 76 65 72 61 6c | | several| |00005a40| 20 73 75 62 2d 72 6f 77 | 73 2c 20 74 68 65 6e 20 | sub-row|s, then | |00005a50| 74 68 69 73 20 70 61 72 | 61 6d 65 74 65 72 20 77 |this par|ameter w| |00005a60| 69 6c 6c 20 62 65 0d 20 | 20 20 20 20 20 20 20 20 |ill be. | | |00005a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 73 | | s| |00005a80| 65 74 20 74 6f 20 74 72 | 75 65 2e 0d 2a 2f 0d 0d |et to tr|ue..*/..| |00005a90| 6c 6f 6e 67 20 69 66 20 | 64 49 74 65 6d 20 21 3d |long if |dItem !=| |00005aa0| 20 5f 64 69 73 63 6c 6f | 73 75 72 65 42 74 6e 0d | _disclo|sureBtn.| |00005ab0| 63 56 61 6c 20 3d 20 65 | 78 70 61 6e 64 61 62 6c |cVal = e|xpandabl| |00005ac0| 65 52 6f 77 73 0d 78 65 | 6c 73 65 0d 6c 6f 6e 67 |eRows.xe|lse.long| |00005ad0| 20 69 66 20 64 69 73 63 | 6c 6f 73 75 72 65 43 6f | if disc|losureCo| |00005ae0| 6c 75 6d 6e 0d 2f 2f 20 | 73 65 74 75 70 20 74 68 |lumn.// |setup th| |00005af0| 65 20 76 61 6c 75 65 20 | 66 6f 72 20 74 68 65 20 |e value |for the | |00005b00| 70 6f 70 75 70 20 6d 65 | 6e 75 20 63 6f 6e 74 72 |popup me|nu contr| |00005b10| 6f 6c 0d 65 72 72 20 3d | 20 66 6e 20 47 65 74 44 |ol.err =| fn GetD| |00005b20| 61 74 61 42 72 6f 77 73 | 65 72 54 61 62 6c 65 56 |ataBrows|erTableV| |00005b30| 69 65 77 43 6f 6c 75 6d | 6e 43 6f 75 6e 74 28 20 |iewColum|nCount( | |00005b40| 62 72 6f 77 73 65 72 2c | 20 6e 75 6d 43 6f 6c 75 |browser,| numColu| |00005b50| 6d 6e 73 20 29 0d 77 68 | 69 6c 65 20 6e 75 6d 43 |mns ).wh|ile numC| |00005b60| 6f 6c 75 6d 6e 73 0d 6e | 75 6d 43 6f 6c 75 6d 6e |olumns.n|umColumn| |00005b70| 73 2d 2d 0d 69 66 20 64 | 69 73 63 6c 6f 73 75 72 |s--.if d|isclosur| |00005b80| 65 43 6f 6c 75 6d 6e 20 | 3d 3d 20 67 43 6f 6c 73 |eColumn |== gCols| |00005b90| 28 6e 75 6d 43 6f 6c 75 | 6d 6e 73 29 20 74 68 65 |(numColu|mns) the| |00005ba0| 6e 20 63 56 61 6c 20 3d | 20 6e 75 6d 43 6f 6c 75 |n cVal =| numColu| |00005bb0| 6d 6e 73 20 2b 20 33 20 | 3a 20 65 78 69 74 20 77 |mns + 3 |: exit w| |00005bc0| 68 69 6c 65 0d 77 65 6e | 64 0d 65 6e 64 20 69 66 |hile.wen|d.end if| |00005bd0| 0d 65 6e 64 20 69 66 0d | 0d 63 61 73 65 20 5f 75 |.end if.|.case _u| |00005be0| 73 65 52 65 6c 61 74 69 | 76 65 73 44 61 74 65 73 |seRelati|vesDates| |00005bf0| 42 74 6e 3a 0d 0d 65 72 | 72 20 20 3d 20 66 6e 20 |Btn:..er|r = fn | |00005c00| 47 65 74 44 61 74 61 42 | 72 6f 77 73 65 72 50 72 |GetDataB|rowserPr| |00005c10| 6f 70 65 72 74 79 46 6c | 61 67 73 28 20 62 72 6f |opertyFl|ags( bro| |00005c20| 77 73 65 72 2c 20 5f 64 | 61 74 65 54 69 6d 65 43 |wser, _d|ateTimeC| |00005c30| 6f 6c 75 6d 6e 49 44 2c | 20 66 6c 61 67 73 20 29 |olumnID,| flags )| |00005c40| 0d 63 56 61 6c 20 3d 20 | 66 6c 61 67 73 20 61 6e |.cVal = |flags an| |00005c50| 64 20 5f 6b 44 61 74 61 | 42 72 6f 77 73 65 72 44 |d _kData|BrowserD| |00005c60| 61 74 65 54 69 6d 65 52 | 65 6c 61 74 69 76 65 0d |ateTimeR|elative.| |00005c70| 0d 63 61 73 65 20 5f 66 | 69 6c 6c 48 69 6c 69 74 |.case _f|illHilit| |00005c80| 65 53 74 79 6c 65 42 74 | 6e 3a 0d 0d 65 72 72 20 |eStyleBt|n:..err | |00005c90| 20 3d 20 66 6e 20 47 65 | 74 44 61 74 61 42 72 6f | = fn Ge|tDataBro| |00005ca0| 77 73 65 72 54 61 62 6c | 65 56 69 65 77 48 69 6c |wserTabl|eViewHil| |00005cb0| 69 74 65 53 74 79 6c 65 | 28 20 62 72 6f 77 73 65 |iteStyle|( browse| |00005cc0| 72 2c 20 68 69 6c 69 74 | 65 53 74 79 6c 65 20 29 |r, hilit|eStyle )| |00005cd0| 0d 63 56 61 6c 20 3d 20 | 68 69 6c 69 74 65 53 74 |.cVal = |hiliteSt| |00005ce0| 79 6c 65 0d 0d 63 61 73 | 65 20 5f 73 68 6f 77 48 |yle..cas|e _showH| |00005cf0| 65 61 64 65 72 42 75 74 | 74 6f 6e 73 42 74 6e 3a |eaderBut|tonsBtn:| |00005d00| 0d 65 72 72 20 20 3d 20 | 66 6e 20 47 65 74 44 61 |.err = |fn GetDa| |00005d10| 74 61 42 72 6f 77 73 65 | 72 4c 69 73 74 56 69 65 |taBrowse|rListVie| |00005d20| 77 48 65 61 64 65 72 42 | 74 6e 48 65 69 67 68 74 |wHeaderB|tnHeight| |00005d30| 28 20 62 72 6f 77 73 65 | 72 2c 20 68 65 61 64 65 |( browse|r, heade| |00005d40| 72 42 74 6e 48 65 69 67 | 68 74 20 29 0d 63 56 61 |rBtnHeig|ht ).cVa| |00005d50| 6c 20 3d 20 61 62 73 28 | 20 68 65 61 64 65 72 42 |l = abs(| headerB| |00005d60| 74 6e 48 65 69 67 68 74 | 20 21 3d 20 30 20 29 2f |tnHeight| != 0 )/| |00005d70| 2f 20 41 42 53 20 6e 65 | 65 64 65 64 20 62 65 63 |/ ABS ne|eded bec| |00005d80| 61 75 73 65 20 5f 7a 54 | 72 75 65 20 28 2d 31 29 |ause _zT|rue (-1)| |00005d90| 20 77 6f 6e 27 74 20 77 | 6f 72 6b 0d 0d 63 61 73 | won't w|ork..cas| |00005da0| 65 20 5f 70 6c 61 69 6e | 42 61 63 6b 67 72 6f 75 |e _plain|Backgrou| |00005db0| 6e 64 42 74 6e 3a 0d 65 | 72 72 20 3d 20 66 6e 20 |ndBtn:.e|rr = fn | |00005dc0| 47 65 74 44 61 74 61 42 | 72 6f 77 73 65 72 4c 69 |GetDataB|rowserLi| |00005dd0| 73 74 56 69 65 77 55 73 | 65 50 6c 61 69 6e 42 61 |stViewUs|ePlainBa| |00005de0| 63 6b 67 72 6f 75 6e 64 | 28 20 62 72 6f 77 73 65 |ckground|( browse| |00005df0| 72 2c 20 63 56 61 6c 20 | 29 0d 0d 65 6e 64 20 73 |r, cVal |)..end s| |00005e00| 65 6c 65 63 74 0d 0d 65 | 6e 64 20 73 65 6c 65 63 |elect..e|nd selec| |00005e10| 74 0d 0d 53 65 74 43 6f | 6e 74 72 6f 6c 56 61 6c |t..SetCo|ntrolVal| |00005e20| 75 65 28 20 63 2c 20 63 | 56 61 6c 20 29 0d 0d 65 |ue( c, c|Val )..e| |00005e30| 6e 64 20 69 66 0d 0d 75 | 6e 74 69 6c 20 5f 6e 69 |nd if..u|ntil _ni| |00005e40| 6c 2f 2f 20 6c 6f 6f 70 | 20 65 78 69 74 20 6f 6e |l// loop| exit on| |00005e50| 20 65 72 72 6f 72 0d 0d | 65 6e 64 20 66 6e 0d 0d | error..|end fn..| |00005e60| 27 7e 27 3b 0d 2f 2a 0d | 20 20 20 20 20 54 68 69 |'~';./*.| Thi| |00005e70| 73 20 66 75 6e 63 74 69 | 6f 6e 20 77 69 6c 6c 20 |s functi|on will | |00005e80| 72 65 74 75 72 6e 20 74 | 68 65 20 64 69 61 6c 6f |return t|he dialo| |00005e90| 67 52 65 66 20 6f 66 20 | 6f 6e 65 20 6f 66 20 74 |gRef of |one of t| |00005ea0| 68 65 20 74 77 6f 0d 20 | 20 20 20 20 63 75 73 74 |he two. | cust| |00005eb0| 6f 6d 69 7a 65 72 20 77 | 69 6e 64 6f 77 73 2e 20 |omizer w|indows. | |00005ec0| 54 68 65 20 64 69 61 6c | 6f 67 52 65 66 20 68 61 |The dial|ogRef ha| |00005ed0| 73 20 70 72 65 76 69 6f | 75 73 6c 79 20 62 65 65 |s previo|usly bee| |00005ee0| 6e 20 73 74 6f 72 65 64 | 0d 20 20 20 20 20 61 73 |n stored|. as| |00005ef0| 20 61 20 62 72 6f 77 73 | 65 72 20 70 72 6f 70 65 | a brows|er prope| |00005f00| 72 74 79 2e 0d 2a 2f 0d | 63 6c 65 61 72 20 6c 6f |rty..*/.|clear lo| |00005f10| 63 61 6c 20 66 6e 20 47 | 65 74 43 75 73 74 6f 6d |cal fn G|etCustom| |00005f20| 69 7a 65 72 28 20 62 72 | 6f 77 73 65 72 20 61 73 |izer( br|owser as| |00005f30| 20 43 6f 6e 74 72 6f 6c | 52 65 66 2c 20 63 75 73 | Control|Ref, cus| |00005f40| 74 6f 6d 69 7a 65 72 49 | 44 20 61 73 20 55 49 6e |tomizerI|D as UIn| |00005f50| 74 31 36 20 29 0d 0d 64 | 69 6d 20 61 73 20 4f 53 |t16 )..d|im as OS| |00005f60| 53 74 61 74 75 73 20 20 | 20 20 65 72 72 0d 64 69 |Status | err.di| |00005f70| 6d 20 61 73 20 44 69 61 | 6c 6f 67 52 65 66 20 40 |m as Dia|logRef @| |00005f80| 20 63 75 73 74 6f 6d 69 | 7a 65 72 0d 0d 6c 6f 6e | customi|zer..lon| |00005f90| 67 20 69 66 20 62 72 6f | 77 73 65 72 0d 65 72 72 |g if bro|wser.err| |00005fa0| 20 3d 20 66 6e 20 47 65 | 74 43 6f 6e 74 72 6f 6c | = fn Ge|tControl| |00005fb0| 50 72 6f 70 65 72 74 79 | 28 20 62 72 6f 77 73 65 |Property|( browse| |00005fc0| 72 2c 20 5f 6d 79 43 72 | 65 61 74 6f 72 2c 20 63 |r, _myCr|eator, c| |00005fd0| 75 73 74 6f 6d 69 7a 65 | 72 49 44 2c 20 73 69 7a |ustomize|rID, siz| |00005fe0| 65 6f 66 28 63 75 73 74 | 6f 6d 69 7a 65 72 29 2c |eof(cust|omizer),| |00005ff0| 20 23 5f 6e 69 6c 2c 20 | 63 75 73 74 6f 6d 69 7a | #_nil, |customiz| |00006000| 65 72 20 29 0d 65 6e 64 | 20 69 66 0d 0d 65 6e 64 |er ).end| if..end| |00006010| 20 66 6e 20 3d 20 63 75 | 73 74 6f 6d 69 7a 65 72 | fn = cu|stomizer| |00006020| 0d 0d 27 7e 27 3b 0d 2f | 2a 0d 20 20 20 20 20 47 |..'~';./|*. G| |00006030| 69 76 65 6e 20 61 20 63 | 75 73 74 6f 6d 69 7a 65 |iven a c|ustomize| |00006040| 72 20 77 69 6e 64 6f 77 | 20 72 65 66 65 72 65 6e |r window| referen| |00006050| 63 65 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |ce the f|unction | |00006060| 77 69 6c 6c 0d 20 20 20 | 20 20 72 65 74 75 72 6e |will. | return| |00006070| 20 74 68 65 20 63 75 73 | 74 6f 6d 69 7a 65 72 20 | the cus|tomizer | |00006080| 49 44 2e 0d 2a 2f 0d 63 | 6c 65 61 72 20 6c 6f 63 |ID..*/.c|lear loc| |00006090| 61 6c 20 66 6e 20 47 65 | 74 43 75 73 74 6f 6d 65 |al fn Ge|tCustome| |000060a0| 72 49 44 28 20 63 75 73 | 74 6f 6d 69 7a 65 72 20 |rID( cus|tomizer | |000060b0| 61 73 20 57 69 6e 64 6f | 77 52 65 66 20 29 0d 0d |as Windo|wRef )..| |000060c0| 64 69 6d 20 61 73 20 4f | 53 53 74 61 74 75 73 20 |dim as O|SStatus | |000060d0| 65 72 72 0d 64 69 6d 20 | 61 73 20 55 49 6e 74 31 |err.dim |as UInt1| |000060e0| 36 20 40 20 63 75 73 74 | 6f 6d 69 7a 65 72 49 44 |6 @ cust|omizerID| |000060f0| 0d 0d 6c 6f 6e 67 20 69 | 66 20 63 75 73 74 6f 6d |..long i|f custom| |00006100| 69 7a 65 72 0d 65 72 72 | 20 3d 20 66 6e 20 47 65 |izer.err| = fn Ge| |00006110| 74 57 69 6e 64 6f 77 50 | 72 6f 70 65 72 74 79 28 |tWindowP|roperty(| |00006120| 20 63 75 73 74 6f 6d 69 | 7a 65 72 2c 20 5f 6d 79 | customi|zer, _my| |00006130| 43 72 65 61 74 6f 72 2c | 20 5f 6d 79 43 75 73 74 |Creator,| _myCust| |00006140| 6f 6d 69 7a 65 72 49 44 | 2c 20 73 69 7a 65 6f 66 |omizerID|, sizeof| |00006150| 28 63 75 73 74 6f 6d 69 | 7a 65 72 49 44 29 2c 20 |(customi|zerID), | |00006160| 23 5f 6e 69 6c 2c 20 63 | 75 73 74 6f 6d 69 7a 65 |#_nil, c|ustomize| |00006170| 72 49 44 20 29 0d 65 6e | 64 20 69 66 0d 0d 65 6e |rID ).en|d if..en| |00006180| 64 20 66 6e 20 3d 20 63 | 75 73 74 6f 6d 69 7a 65 |d fn = c|ustomize| |00006190| 72 49 44 0d 0d 27 7e 27 | 3b 0d 2f 2a 0d 20 20 20 |rID..'~'|;./*. | |000061a0| 20 20 54 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 | This f|unction | |000061b0| 77 69 6c 6c 20 64 69 73 | 70 6c 61 79 20 6f 72 20 |will dis|play or | |000061c0| 63 72 65 61 74 65 20 6f | 75 72 20 74 77 6f 20 64 |create o|ur two d| |000061d0| 69 61 6c 6f 67 73 20 66 | 6f 72 0d 20 20 20 20 20 |ialogs f|or. | |000061e0| 63 75 73 74 6f 6d 69 7a | 61 74 69 6f 6e 2e 0d 2a |customiz|ation..*| |000061f0| 2f 0d 63 6c 65 61 72 20 | 6c 6f 63 61 6c 20 66 6e |/.clear |local fn| |00006200| 20 53 65 74 75 70 43 75 | 73 74 6f 6d 69 7a 65 72 | SetupCu|stomizer| |00006210| 28 20 69 6e 42 72 6f 77 | 73 65 72 20 61 73 20 43 |( inBrow|ser as C| |00006220| 6f 6e 74 72 6f 6c 52 65 | 66 2c 20 69 6e 43 75 73 |ontrolRe|f, inCus| |00006230| 74 6f 6d 69 7a 65 72 49 | 44 20 61 73 20 55 49 6e |tomizerI|D as UIn| |00006240| 74 31 36 20 29 0d 0d 64 | 69 6d 20 61 73 20 4f 53 |t16 )..d|im as OS| |00006250| 53 74 61 74 75 73 20 20 | 20 20 20 20 20 65 72 72 |Status | err| |00006260| 0d 64 69 6d 20 61 73 20 | 57 69 6e 64 6f 77 52 65 |.dim as |WindowRe| |00006270| 66 20 20 20 20 20 20 77 | 0d 64 69 6d 20 61 73 20 |f w|.dim as | |00006280| 44 69 61 6c 6f 67 52 65 | 66 20 20 20 20 40 20 63 |DialogRe|f @ c| |00006290| 75 73 74 6f 6d 69 7a 65 | 72 0d 64 69 6d 20 61 73 |ustomize|r.dim as| |000062a0| 20 55 49 6e 74 31 36 20 | 20 20 20 20 20 20 40 20 | UInt16 | @ | |000062b0| 63 75 73 74 6f 6d 69 7a | 65 72 49 44 0d 64 69 6d |customiz|erID.dim| |000062c0| 20 61 73 20 70 72 6f 63 | 20 20 20 20 20 20 20 20 | as proc| | |000062d0| 20 40 20 65 76 65 6e 74 | 48 61 6e 64 6c 65 72 0d | @ event|Handler.| |000062e0| 64 69 6d 20 61 73 20 43 | 6f 6e 74 72 6f 6c 52 65 |dim as C|ontrolRe| |000062f0| 66 20 20 20 40 20 62 72 | 6f 77 73 65 72 0d 64 69 |f @ br|owser.di| |00006300| 6d 20 61 73 20 45 76 65 | 6e 74 54 79 70 65 53 70 |m as Eve|ntTypeSp| |00006310| 65 63 20 20 65 76 65 6e | 74 73 28 33 29 0d 0d 62 |ec even|ts(3)..b| |00006320| 72 6f 77 73 65 72 20 20 | 20 20 20 20 3d 20 69 6e |rowser | = in| |00006330| 42 72 6f 77 73 65 72 2f | 2f 20 52 41 4d 20 76 61 |Browser/|/ RAM va| |00006340| 72 69 61 62 6c 65 20 6e | 65 65 64 65 64 0d 63 75 |riable n|eeded.cu| |00006350| 73 74 6f 6d 69 7a 65 72 | 49 44 20 3d 20 69 6e 43 |stomizer|ID = inC| |00006360| 75 73 74 6f 6d 69 7a 65 | 72 49 44 2f 2f 20 69 64 |ustomize|rID// id| |00006370| 65 6d 0d 0d 2f 2a 0d 20 | 20 20 20 20 47 65 74 20 |em../*. | Get | |00006380| 74 68 65 20 63 75 73 74 | 6f 6d 69 7a 65 72 20 28 |the cust|omizer (| |00006390| 44 69 61 6c 6f 67 52 65 | 66 29 20 77 69 74 68 20 |DialogRe|f) with | |000063a0| 74 68 65 20 63 75 73 74 | 6f 6d 69 7a 65 72 49 44 |the cust|omizerID| |000063b0| 20 28 63 75 73 74 6f 6d | 20 69 64 65 6e 74 69 66 | (custom| identif| |000063c0| 69 65 72 29 0d 20 20 20 | 20 20 70 72 65 76 69 6f |ier). | previo| |000063d0| 75 73 6c 79 20 73 74 6f | 72 65 64 20 61 73 20 61 |usly sto|red as a| |000063e0| 20 63 6f 6e 74 72 6f 6c | 20 70 72 6f 70 65 72 74 | control| propert| |000063f0| 79 20 66 6f 72 20 74 68 | 65 20 44 61 74 61 42 72 |y for th|e DataBr| +--------+-------------------------+-------------------------+--------+--------+ Only 25.0 KB of data is shown above.