home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-11-02 | 4.6 KB |
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 4b 49 63 6c 61 73 73 20 |........|KIclass |
|00000010| 55 57 69 6e 64 6f 77 50 | 61 67 65 43 6f 6e 74 72 |UWindowP|ageContr|
|00000020| 6f 6c 20 65 78 74 65 6e | 64 73 20 55 57 69 6e 64 |ol exten|ds UWind|
|00000030| 6f 77 54 61 62 43 6f 6e | 74 72 6f 6c 3b 0d 0a 0d |owTabCon|trol;...|
|00000040| 0a 66 75 6e 63 74 69 6f | 6e 20 52 65 73 6f 6c 75 |.functio|n Resolu|
|00000050| 74 69 6f 6e 43 68 61 6e | 67 65 64 28 66 6c 6f 61 |tionChan|ged(floa|
|00000060| 74 20 57 2c 20 66 6c 6f | 61 74 20 48 29 0d 0a 7b |t W, flo|at H)..{|
|00000070| 0d 0a 09 6c 6f 63 61 6c | 20 55 57 69 6e 64 6f 77 |...local| UWindow|
|00000080| 50 61 67 65 43 6f 6e 74 | 72 6f 6c 50 61 67 65 20 |PageCont|rolPage |
|00000090| 49 3b 0d 0a 0d 0a 09 66 | 6f 72 28 49 20 3d 20 55 |I;.....f|or(I = U|
|000000a0| 57 69 6e 64 6f 77 50 61 | 67 65 43 6f 6e 74 72 6f |WindowPa|geContro|
|000000b0| 6c 50 61 67 65 28 49 74 | 65 6d 73 2e 4e 65 78 74 |lPage(It|ems.Next|
|000000c0| 29 3b 20 49 20 21 3d 20 | 4e 6f 6e 65 3b 20 49 20 |); I != |None; I |
|000000d0| 3d 20 55 57 69 6e 64 6f | 77 50 61 67 65 43 6f 6e |= UWindo|wPageCon|
|000000e0| 74 72 6f 6c 50 61 67 65 | 28 49 2e 4e 65 78 74 29 |trolPage|(I.Next)|
|000000f0| 29 0d 0a 09 09 69 66 28 | 49 2e 50 61 67 65 20 21 |)....if(|I.Page !|
|00000100| 3d 20 4e 6f 6e 65 20 26 | 26 20 49 20 21 3d 20 53 |= None &|& I != S|
|00000110| 65 6c 65 63 74 65 64 54 | 61 62 20 29 0d 0a 09 09 |electedT|ab )....|
|00000120| 09 49 2e 50 61 67 65 2e | 52 65 73 6f 6c 75 74 69 |.I.Page.|Resoluti|
|00000130| 6f 6e 43 68 61 6e 67 65 | 64 28 57 2c 20 48 29 3b |onChange|d(W, H);|
|00000140| 0d 0a 09 0d 0a 09 69 66 | 28 53 65 6c 65 63 74 65 |......if|(Selecte|
|00000150| 64 54 61 62 20 21 3d 20 | 4e 6f 6e 65 29 0d 0a 09 |dTab != |None)...|
|00000160| 09 55 57 69 6e 64 6f 77 | 50 61 67 65 43 6f 6e 74 |.UWindow|PageCont|
|00000170| 72 6f 6c 50 61 67 65 28 | 53 65 6c 65 63 74 65 64 |rolPage(|Selected|
|00000180| 54 61 62 29 2e 50 61 67 | 65 2e 52 65 73 6f 6c 75 |Tab).Pag|e.Resolu|
|00000190| 74 69 6f 6e 43 68 61 6e | 67 65 64 28 57 2c 20 48 |tionChan|ged(W, H|
|000001a0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |);..}...|.functio|
|000001b0| 6e 20 4e 6f 74 69 66 79 | 51 75 69 74 55 6e 72 65 |n Notify|QuitUnre|
|000001c0| 61 6c 28 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |al()..{.|..local |
|000001d0| 55 57 69 6e 64 6f 77 50 | 61 67 65 43 6f 6e 74 72 |UWindowP|ageContr|
|000001e0| 6f 6c 50 61 67 65 20 49 | 3b 0d 0a 0d 0a 09 66 6f |olPage I|;.....fo|
|000001f0| 72 28 49 20 3d 20 55 57 | 69 6e 64 6f 77 50 61 67 |r(I = UW|indowPag|
|00000200| 65 43 6f 6e 74 72 6f 6c | 50 61 67 65 28 49 74 65 |eControl|Page(Ite|
|00000210| 6d 73 2e 4e 65 78 74 29 | 3b 20 49 20 21 3d 20 4e |ms.Next)|; I != N|
|00000220| 6f 6e 65 3b 20 49 20 3d | 20 55 57 69 6e 64 6f 77 |one; I =| UWindow|
|00000230| 50 61 67 65 43 6f 6e 74 | 72 6f 6c 50 61 67 65 28 |PageCont|rolPage(|
|00000240| 49 2e 4e 65 78 74 29 29 | 0d 0a 09 09 69 66 28 49 |I.Next))|....if(I|
|00000250| 2e 50 61 67 65 20 21 3d | 20 4e 6f 6e 65 29 0d 0a |.Page !=| None)..|
|00000260| 09 09 09 49 2e 50 61 67 | 65 2e 4e 6f 74 69 66 79 |...I.Pag|e.Notify|
|00000270| 51 75 69 74 55 6e 72 65 | 61 6c 28 29 3b 0d 0a 7d |QuitUnre|al();..}|
|00000280| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 4e 6f 74 |....func|tion Not|
|00000290| 69 66 79 42 65 66 6f 72 | 65 4c 65 76 65 6c 43 68 |ifyBefor|eLevelCh|
|000002a0| 61 6e 67 65 28 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |ange()..|{...loca|
|000002b0| 6c 20 55 57 69 6e 64 6f | 77 50 61 67 65 43 6f 6e |l UWindo|wPageCon|
|000002c0| 74 72 6f 6c 50 61 67 65 | 20 49 3b 0d 0a 0d 0a 09 |trolPage| I;.....|
|000002d0| 66 6f 72 28 49 20 3d 20 | 55 57 69 6e 64 6f 77 50 |for(I = |UWindowP|
|000002e0| 61 67 65 43 6f 6e 74 72 | 6f 6c 50 61 67 65 28 49 |ageContr|olPage(I|
|000002f0| 74 65 6d 73 2e 4e 65 78 | 74 29 3b 20 49 20 21 3d |tems.Nex|t); I !=|
|00000300| 20 4e 6f 6e 65 3b 20 49 | 20 3d 20 55 57 69 6e 64 | None; I| = UWind|
|00000310| 6f 77 50 61 67 65 43 6f | 6e 74 72 6f 6c 50 61 67 |owPageCo|ntrolPag|
|00000320| 65 28 49 2e 4e 65 78 74 | 29 29 0d 0a 09 09 69 66 |e(I.Next|))....if|
|00000330| 28 49 2e 50 61 67 65 20 | 21 3d 20 4e 6f 6e 65 29 |(I.Page |!= None)|
|00000340| 0d 0a 09 09 09 49 2e 50 | 61 67 65 2e 4e 6f 74 69 |.....I.P|age.Noti|
|00000350| 66 79 42 65 66 6f 72 65 | 4c 65 76 65 6c 43 68 61 |fyBefore|LevelCha|
|00000360| 6e 67 65 28 29 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |nge();..|}....fun|
|00000370| 63 74 69 6f 6e 20 4e 6f | 74 69 66 79 41 66 74 65 |ction No|tifyAfte|
|00000380| 72 4c 65 76 65 6c 43 68 | 61 6e 67 65 28 29 0d 0a |rLevelCh|ange()..|
|00000390| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 55 57 69 6e 64 6f |{...loca|l UWindo|
|000003a0| 77 50 61 67 65 43 6f 6e | 74 72 6f 6c 50 61 67 65 |wPageCon|trolPage|
|000003b0| 20 49 3b 0d 0a 0d 0a 09 | 66 6f 72 28 49 20 3d 20 | I;.....|for(I = |
|000003c0| 55 57 69 6e 64 6f 77 50 | 61 67 65 43 6f 6e 74 72 |UWindowP|ageContr|
|000003d0| 6f 6c 50 61 67 65 28 49 | 74 65 6d 73 2e 4e 65 78 |olPage(I|tems.Nex|
|000003e0| 74 29 3b 20 49 20 21 3d | 20 4e 6f 6e 65 3b 20 49 |t); I !=| None; I|
|000003f0| 20 3d 20 55 57 69 6e 64 | 6f 77 50 61 67 65 43 6f | = UWind|owPageCo|
|00000400| 6e 74 72 6f 6c 50 61 67 | 65 28 49 2e 4e 65 78 74 |ntrolPag|e(I.Next|
|00000410| 29 29 0d 0a 09 09 69 66 | 28 49 2e 50 61 67 65 20 |))....if|(I.Page |
|00000420| 21 3d 20 4e 6f 6e 65 29 | 0d 0a 09 09 09 49 2e 50 |!= None)|.....I.P|
|00000430| 61 67 65 2e 4e 6f 74 69 | 66 79 41 66 74 65 72 4c |age.Noti|fyAfterL|
|00000440| 65 76 65 6c 43 68 61 6e | 67 65 28 29 3b 0d 0a 7d |evelChan|ge();..}|
|00000450| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 47 65 74 |....func|tion Get|
|00000460| 44 65 73 69 72 65 64 44 | 69 6d 65 6e 73 69 6f 6e |DesiredD|imension|
|00000470| 73 28 6f 75 74 20 66 6c | 6f 61 74 20 57 2c 20 6f |s(out fl|oat W, o|
|00000480| 75 74 20 66 6c 6f 61 74 | 20 48 29 0d 0a 7b 0d 0a |ut float| H)..{..|
|00000490| 09 6c 6f 63 61 6c 20 66 | 6c 6f 61 74 20 4d 61 78 |.local f|loat Max|
|000004a0| 57 2c 20 4d 61 78 48 2c | 20 54 57 2c 20 54 48 3b |W, MaxH,| TW, TH;|
|000004b0| 0d 0a 09 6c 6f 63 61 6c | 20 55 57 69 6e 64 6f 77 |...local| UWindow|
|000004c0| 50 61 67 65 43 6f 6e 74 | 72 6f 6c 50 61 67 65 20 |PageCont|rolPage |
|000004d0| 49 3b 0d 0a 09 0d 0a 09 | 4d 61 78 57 20 3d 20 30 |I;......|MaxW = 0|
|000004e0| 3b 0d 0a 09 4d 61 78 48 | 20 3d 20 30 3b 0d 0a 0d |;...MaxH| = 0;...|
|000004f0| 0a 09 66 6f 72 28 49 20 | 3d 20 55 57 69 6e 64 6f |..for(I |= UWindo|
|00000500| 77 50 61 67 65 43 6f 6e | 74 72 6f 6c 50 61 67 65 |wPageCon|trolPage|
|00000510| 28 49 74 65 6d 73 2e 4e | 65 78 74 29 3b 20 49 20 |(Items.N|ext); I |
|00000520| 21 3d 20 4e 6f 6e 65 3b | 20 49 20 3d 20 55 57 69 |!= None;| I = UWi|
|00000530| 6e 64 6f 77 50 61 67 65 | 43 6f 6e 74 72 6f 6c 50 |ndowPage|ControlP|
|00000540| 61 67 65 28 49 2e 4e 65 | 78 74 29 29 0d 0a 09 7b |age(I.Ne|xt))...{|
|00000550| 0d 0a 09 09 69 66 28 49 | 2e 50 61 67 65 20 21 3d |....if(I|.Page !=|
|00000560| 20 4e 6f 6e 65 29 0d 0a | 09 09 09 49 2e 50 61 67 | None)..|...I.Pag|
|00000570| 65 2e 47 65 74 44 65 73 | 69 72 65 64 44 69 6d 65 |e.GetDes|iredDime|
|00000580| 6e 73 69 6f 6e 73 28 54 | 57 2c 20 54 48 29 3b 0d |nsions(T|W, TH);.|
|00000590| 0a 0d 0a 09 09 69 66 28 | 54 57 20 3e 20 4d 61 78 |.....if(|TW > Max|
|000005a0| 57 29 20 4d 61 78 57 20 | 3d 20 54 57 3b 0d 0a 09 |W) MaxW |= TW;...|
|000005b0| 09 69 66 28 54 48 20 3e | 20 4d 61 78 48 29 20 4d |.if(TH >| MaxH) M|
|000005c0| 61 78 48 20 3d 20 54 48 | 3b 0d 0a 09 7d 0d 0a 09 |axH = TH|;...}...|
|000005d0| 57 20 3d 20 4d 61 78 57 | 3b 0d 0a 09 48 20 3d 20 |W = MaxW|;...H = |
|000005e0| 4d 61 78 48 20 2b 20 54 | 61 62 41 72 65 61 2e 57 |MaxH + T|abArea.W|
|000005f0| 69 6e 48 65 69 67 68 74 | 3b 0d 0a 7d 0d 0a 0d 0a |inHeight|;..}....|
|00000600| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 42 65 66 6f 72 |..functi|on Befor|
|00000610| 65 50 61 69 6e 74 28 43 | 61 6e 76 61 73 20 43 2c |ePaint(C|anvas C,|
|00000620| 20 66 6c 6f 61 74 20 58 | 2c 20 66 6c 6f 61 74 20 | float X|, float |
|00000630| 59 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 66 6c |Y)..{...|local fl|
|00000640| 6f 61 74 20 4f 6c 64 57 | 69 6e 48 65 69 67 68 74 |oat OldW|inHeight|
|00000650| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 55 57 69 6e 64 6f |;...loca|l UWindo|
|00000660| 77 50 61 67 65 43 6f 6e | 74 72 6f 6c 50 61 67 65 |wPageCon|trolPage|
|00000670| 20 49 3b 0d 0a 0d 0a 09 | 4f 6c 64 57 69 6e 48 65 | I;.....|OldWinHe|
|00000680| 69 67 68 74 20 3d 20 57 | 69 6e 48 65 69 67 68 74 |ight = W|inHeight|
|00000690| 3b 0d 0a 09 53 75 70 65 | 72 2e 42 65 66 6f 72 65 |;...Supe|r.Before|
|000006a0| 50 61 69 6e 74 28 43 2c | 20 58 2c 20 59 29 3b 0d |Paint(C,| X, Y);.|
|000006b0| 0a 09 57 69 6e 48 65 69 | 67 68 74 20 3d 20 4f 6c |..WinHei|ght = Ol|
|000006c0| 64 57 69 6e 48 65 69 67 | 68 74 3b 0d 0a 0d 0a 09 |dWinHeig|ht;.....|
|000006d0| 66 6f 72 28 49 20 3d 20 | 55 57 69 6e 64 6f 77 50 |for(I = |UWindowP|
|000006e0| 61 67 65 43 6f 6e 74 72 | 6f 6c 50 61 67 65 28 49 |ageContr|olPage(I|
|000006f0| 74 65 6d 73 2e 4e 65 78 | 74 29 3b 20 49 20 21 3d |tems.Nex|t); I !=|
|00000700| 20 4e 6f 6e 65 3b 20 49 | 20 3d 20 55 57 69 6e 64 | None; I| = UWind|
|00000710| 6f 77 50 61 67 65 43 6f | 6e 74 72 6f 6c 50 61 67 |owPageCo|ntrolPag|
|00000720| 65 28 49 2e 4e 65 78 74 | 29 29 0d 0a 09 09 4c 6f |e(I.Next|))....Lo|
|00000730| 6f 6b 41 6e 64 46 65 65 | 6c 2e 54 61 62 5f 53 65 |okAndFee|l.Tab_Se|
|00000740| 74 54 61 62 50 61 67 65 | 53 69 7a 65 28 53 65 6c |tTabPage|Size(Sel|
|00000750| 66 2c 20 49 2e 50 61 67 | 65 29 3b 0d 0a 7d 0d 0a |f, I.Pag|e);..}..|
|00000760| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 50 61 69 6e 74 |..functi|on Paint|
|00000770| 28 43 61 6e 76 61 73 20 | 43 2c 20 66 6c 6f 61 74 |(Canvas |C, float|
|00000780| 20 58 2c 20 66 6c 6f 61 | 74 20 59 29 0d 0a 7b 0d | X, floa|t Y)..{.|
|00000790| 0a 09 53 75 70 65 72 2e | 50 61 69 6e 74 28 43 2c |..Super.|Paint(C,|
|000007a0| 20 58 2c 20 59 29 3b 0d | 0a 09 4c 6f 6f 6b 41 6e | X, Y);.|..LookAn|
|000007b0| 64 46 65 65 6c 2e 54 61 | 62 5f 44 72 61 77 54 61 |dFeel.Ta|b_DrawTa|
|000007c0| 62 50 61 67 65 41 72 65 | 61 28 53 65 6c 66 2c 20 |bPageAre|a(Self, |
|000007d0| 43 2c 20 55 57 69 6e 64 | 6f 77 50 61 67 65 43 6f |C, UWind|owPageCo|
|000007e0| 6e 74 72 6f 6c 50 61 67 | 65 28 53 65 6c 65 63 74 |ntrolPag|e(Select|
|000007f0| 65 64 54 61 62 29 2e 50 | 61 67 65 29 3b 0d 0a 7d |edTab).P|age);..}|
|00000800| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 55 57 69 |....func|tion UWi|
|00000810| 6e 64 6f 77 50 61 67 65 | 43 6f 6e 74 72 6f 6c 50 |ndowPage|ControlP|
|00000820| 61 67 65 20 41 64 64 50 | 61 67 65 28 73 74 72 69 |age AddP|age(stri|
|00000830| 6e 67 20 43 61 70 74 69 | 6f 6e 2c 20 63 6c 61 73 |ng Capti|on, clas|
|00000840| 73 3c 55 57 69 6e 64 6f | 77 50 61 67 65 57 69 6e |s<UWindo|wPageWin|
|00000850| 64 6f 77 3e 20 50 61 67 | 65 43 6c 61 73 73 2c 20 |dow> Pag|eClass, |
|00000860| 6f 70 74 69 6f 6e 61 6c | 20 6e 61 6d 65 20 4f 62 |optional| name Ob|
|00000870| 6a 65 63 74 4e 61 6d 65 | 29 0d 0a 7b 0d 0a 09 6c |jectName|)..{...l|
|00000880| 6f 63 61 6c 20 55 57 69 | 6e 64 6f 77 50 61 67 65 |ocal UWi|ndowPage|
|00000890| 43 6f 6e 74 72 6f 6c 50 | 61 67 65 20 50 3b 0d 0a |ControlP|age P;..|
|000008a0| 09 50 20 3d 20 55 57 69 | 6e 64 6f 77 50 61 67 65 |.P = UWi|ndowPage|
|000008b0| 43 6f 6e 74 72 6f 6c 50 | 61 67 65 28 41 64 64 54 |ControlP|age(AddT|
|000008c0| 61 62 28 43 61 70 74 69 | 6f 6e 29 29 3b 0d 0a 09 |ab(Capti|on));...|
|000008d0| 50 2e 50 61 67 65 20 3d | 20 55 57 69 6e 64 6f 77 |P.Page =| UWindow|
|000008e0| 50 61 67 65 57 69 6e 64 | 6f 77 28 43 72 65 61 74 |PageWind|ow(Creat|
|000008f0| 65 57 69 6e 64 6f 77 28 | 50 61 67 65 43 6c 61 73 |eWindow(|PageClas|
|00000900| 73 2c 20 30 2c 20 0d 0a | 09 09 09 09 54 61 62 41 |s, 0, ..|....TabA|
|00000910| 72 65 61 2e 57 69 6e 48 | 65 69 67 68 74 2d 28 4c |rea.WinH|eight-(L|
|00000920| 6f 6f 6b 41 6e 64 46 65 | 65 6c 2e 54 61 62 53 65 |ookAndFe|el.TabSe|
|00000930| 6c 65 63 74 65 64 4d 2e | 48 2d 4c 6f 6f 6b 41 6e |lectedM.|H-LookAn|
|00000940| 64 46 65 65 6c 2e 54 61 | 62 55 6e 73 65 6c 65 63 |dFeel.Ta|bUnselec|
|00000950| 74 65 64 4d 2e 48 29 2c | 20 0d 0a 09 09 09 09 57 |tedM.H),| ......W|
|00000960| 69 6e 57 69 64 74 68 2c | 20 57 69 6e 48 65 69 67 |inWidth,| WinHeig|
|00000970| 68 74 2d 28 54 61 62 41 | 72 65 61 2e 57 69 6e 48 |ht-(TabA|rea.WinH|
|00000980| 65 69 67 68 74 2d 28 4c | 6f 6f 6b 41 6e 64 46 65 |eight-(L|ookAndFe|
|00000990| 65 6c 2e 54 61 62 53 65 | 6c 65 63 74 65 64 4d 2e |el.TabSe|lectedM.|
|000009a0| 48 2d 4c 6f 6f 6b 41 6e | 64 46 65 65 6c 2e 54 61 |H-LookAn|dFeel.Ta|
|000009b0| 62 55 6e 73 65 6c 65 63 | 74 65 64 4d 2e 48 29 29 |bUnselec|tedM.H))|
|000009c0| 2c 2c 2c 4f 62 6a 65 63 | 74 4e 61 6d 65 29 29 3b |,,,Objec|tName));|
|000009d0| 0d 0a 09 50 2e 50 61 67 | 65 2e 4f 77 6e 65 72 54 |...P.Pag|e.OwnerT|
|000009e0| 61 62 20 3d 20 50 3b 0d | 0a 0d 0a 09 69 66 28 50 |ab = P;.|....if(P|
|000009f0| 20 21 3d 20 53 65 6c 65 | 63 74 65 64 54 61 62 29 | != Sele|ctedTab)|
|00000a00| 20 0d 0a 09 09 50 2e 50 | 61 67 65 2e 48 69 64 65 | ....P.P|age.Hide|
|00000a10| 57 69 6e 64 6f 77 28 29 | 3b 0d 0a 09 65 6c 73 65 |Window()|;...else|
|00000a20| 0d 0a 09 69 66 28 55 57 | 69 6e 64 6f 77 50 61 67 |...if(UW|indowPag|
|00000a30| 65 43 6f 6e 74 72 6f 6c | 50 61 67 65 28 53 65 6c |eControl|Page(Sel|
|00000a40| 65 63 74 65 64 54 61 62 | 29 20 21 3d 20 4e 6f 6e |ectedTab|) != Non|
|00000a50| 65 20 26 26 20 57 69 6e | 64 6f 77 49 73 56 69 73 |e && Win|dowIsVis|
|00000a60| 69 62 6c 65 28 29 29 0d | 0a 09 7b 0d 0a 09 09 55 |ible()).|..{....U|
|00000a70| 57 69 6e 64 6f 77 50 61 | 67 65 43 6f 6e 74 72 6f |WindowPa|geContro|
|00000a80| 6c 50 61 67 65 28 53 65 | 6c 65 63 74 65 64 54 61 |lPage(Se|lectedTa|
|00000a90| 62 29 2e 50 61 67 65 2e | 53 68 6f 77 57 69 6e 64 |b).Page.|ShowWind|
|00000aa0| 6f 77 28 29 3b 0d 0a 09 | 09 55 57 69 6e 64 6f 77 |ow();...|.UWindow|
|00000ab0| 50 61 67 65 43 6f 6e 74 | 72 6f 6c 50 61 67 65 28 |PageCont|rolPage(|
|00000ac0| 53 65 6c 65 63 74 65 64 | 54 61 62 29 2e 50 61 67 |Selected|Tab).Pag|
|00000ad0| 65 2e 42 72 69 6e 67 54 | 6f 46 72 6f 6e 74 28 29 |e.BringT|oFront()|
|00000ae0| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 72 65 74 75 72 6e |;...}...|..return|
|00000af0| 20 50 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 | P;..}..|..functi|
|00000b00| 6f 6e 20 55 57 69 6e 64 | 6f 77 50 61 67 65 43 6f |on UWind|owPageCo|
|00000b10| 6e 74 72 6f 6c 50 61 67 | 65 20 49 6e 73 65 72 74 |ntrolPag|e Insert|
|00000b20| 50 61 67 65 28 55 57 69 | 6e 64 6f 77 50 61 67 65 |Page(UWi|ndowPage|
|00000b30| 43 6f 6e 74 72 6f 6c 50 | 61 67 65 20 42 65 66 6f |ControlP|age Befo|
|00000b40| 72 65 50 61 67 65 2c 20 | 73 74 72 69 6e 67 20 43 |rePage, |string C|
|00000b50| 61 70 74 69 6f 6e 2c 20 | 63 6c 61 73 73 3c 55 57 |aption, |class<UW|
|00000b60| 69 6e 64 6f 77 50 61 67 | 65 57 69 6e 64 6f 77 3e |indowPag|eWindow>|
|00000b70| 20 50 61 67 65 43 6c 61 | 73 73 2c 20 6f 70 74 69 | PageCla|ss, opti|
|00000b80| 6f 6e 61 6c 20 6e 61 6d | 65 20 4f 62 6a 65 63 74 |onal nam|e Object|
|00000b90| 4e 61 6d 65 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |Name)..{|...local|
|00000ba0| 20 55 57 69 6e 64 6f 77 | 50 61 67 65 43 6f 6e 74 | UWindow|PageCont|
|00000bb0| 72 6f 6c 50 61 67 65 20 | 50 3b 0d 0a 0d 0a 09 69 |rolPage |P;.....i|
|00000bc0| 66 28 42 65 66 6f 72 65 | 50 61 67 65 20 3d 3d 20 |f(Before|Page == |
|00000bd0| 4e 6f 6e 65 29 0d 0a 09 | 09 72 65 74 75 72 6e 20 |None)...|.return |
|00000be0| 41 64 64 50 61 67 65 28 | 43 61 70 74 69 6f 6e 2c |AddPage(|Caption,|
|00000bf0| 20 50 61 67 65 43 6c 61 | 73 73 29 3b 0d 0a 0d 0a | PageCla|ss);....|
|00000c00| 09 50 20 3d 20 55 57 69 | 6e 64 6f 77 50 61 67 65 |.P = UWi|ndowPage|
|00000c10| 43 6f 6e 74 72 6f 6c 50 | 61 67 65 28 49 6e 73 65 |ControlP|age(Inse|
|00000c20| 72 74 54 61 62 28 42 65 | 66 6f 72 65 50 61 67 65 |rtTab(Be|forePage|
|00000c30| 2c 20 43 61 70 74 69 6f | 6e 29 29 3b 0d 0a 09 50 |, Captio|n));...P|
|00000c40| 2e 50 61 67 65 20 3d 20 | 55 57 69 6e 64 6f 77 50 |.Page = |UWindowP|
|00000c50| 61 67 65 57 69 6e 64 6f | 77 28 43 72 65 61 74 65 |ageWindo|w(Create|
|00000c60| 57 69 6e 64 6f 77 28 50 | 61 67 65 43 6c 61 73 73 |Window(P|ageClass|
|00000c70| 2c 20 30 2c 20 0d 0a 09 | 09 09 09 54 61 62 41 72 |, 0, ...|...TabAr|
|00000c80| 65 61 2e 57 69 6e 48 65 | 69 67 68 74 2d 28 4c 6f |ea.WinHe|ight-(Lo|
|00000c90| 6f 6b 41 6e 64 46 65 65 | 6c 2e 54 61 62 53 65 6c |okAndFee|l.TabSel|
|00000ca0| 65 63 74 65 64 4d 2e 48 | 2d 4c 6f 6f 6b 41 6e 64 |ectedM.H|-LookAnd|
|00000cb0| 46 65 65 6c 2e 54 61 62 | 55 6e 73 65 6c 65 63 74 |Feel.Tab|Unselect|
|00000cc0| 65 64 4d 2e 48 29 2c 20 | 0d 0a 09 09 09 09 57 69 |edM.H), |......Wi|
|00000cd0| 6e 57 69 64 74 68 2c 20 | 57 69 6e 48 65 69 67 68 |nWidth, |WinHeigh|
|00000ce0| 74 2d 28 54 61 62 41 72 | 65 61 2e 57 69 6e 48 65 |t-(TabAr|ea.WinHe|
|00000cf0| 69 67 68 74 2d 28 4c 6f | 6f 6b 41 6e 64 46 65 65 |ight-(Lo|okAndFee|
|00000d00| 6c 2e 54 61 62 53 65 6c | 65 63 74 65 64 4d 2e 48 |l.TabSel|ectedM.H|
|00000d10| 2d 4c 6f 6f 6b 41 6e 64 | 46 65 65 6c 2e 54 61 62 |-LookAnd|Feel.Tab|
|00000d20| 55 6e 73 65 6c 65 63 74 | 65 64 4d 2e 48 29 29 2c |Unselect|edM.H)),|
|00000d30| 2c 2c 4f 62 6a 65 63 74 | 4e 61 6d 65 29 29 3b 0d |,,Object|Name));.|
|00000d40| 0a 09 50 2e 50 61 67 65 | 2e 4f 77 6e 65 72 54 61 |..P.Page|.OwnerTa|
|00000d50| 62 20 3d 20 50 3b 0d 0a | 0d 0a 09 69 66 28 50 20 |b = P;..|...if(P |
|00000d60| 21 3d 20 53 65 6c 65 63 | 74 65 64 54 61 62 29 20 |!= Selec|tedTab) |
|00000d70| 0d 0a 09 09 50 2e 50 61 | 67 65 2e 48 69 64 65 57 |....P.Pa|ge.HideW|
|00000d80| 69 6e 64 6f 77 28 29 3b | 0d 0a 09 65 6c 73 65 0d |indow();|...else.|
|00000d90| 0a 09 69 66 28 55 57 69 | 6e 64 6f 77 50 61 67 65 |..if(UWi|ndowPage|
|00000da0| 43 6f 6e 74 72 6f 6c 50 | 61 67 65 28 53 65 6c 65 |ControlP|age(Sele|
|00000db0| 63 74 65 64 54 61 62 29 | 20 21 3d 20 4e 6f 6e 65 |ctedTab)| != None|
|00000dc0| 20 26 26 20 57 69 6e 64 | 6f 77 49 73 56 69 73 69 | && Wind|owIsVisi|
|00000dd0| 62 6c 65 28 29 29 0d 0a | 09 7b 0d 0a 09 09 55 57 |ble())..|.{....UW|
|00000de0| 69 6e 64 6f 77 50 61 67 | 65 43 6f 6e 74 72 6f 6c |indowPag|eControl|
|00000df0| 50 61 67 65 28 53 65 6c | 65 63 74 65 64 54 61 62 |Page(Sel|ectedTab|
|00000e00| 29 2e 50 61 67 65 2e 53 | 68 6f 77 57 69 6e 64 6f |).Page.S|howWindo|
|00000e10| 77 28 29 3b 0d 0a 09 09 | 55 57 69 6e 64 6f 77 50 |w();....|UWindowP|
|00000e20| 61 67 65 43 6f 6e 74 72 | 6f 6c 50 61 67 65 28 53 |ageContr|olPage(S|
|00000e30| 65 6c 65 63 74 65 64 54 | 61 62 29 2e 50 61 67 65 |electedT|ab).Page|
|00000e40| 2e 42 72 69 6e 67 54 6f | 46 72 6f 6e 74 28 29 3b |.BringTo|Front();|
|00000e50| 0d 0a 09 7d 0d 0a 0d 0a | 09 72 65 74 75 72 6e 20 |...}....|.return |
|00000e60| 50 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |P;..}...|.functio|
|00000e70| 6e 20 55 57 69 6e 64 6f | 77 50 61 67 65 43 6f 6e |n UWindo|wPageCon|
|00000e80| 74 72 6f 6c 50 61 67 65 | 20 47 65 74 50 61 67 65 |trolPage| GetPage|
|00000e90| 28 73 74 72 69 6e 67 20 | 43 61 70 74 69 6f 6e 29 |(string |Caption)|
|00000ea0| 0d 0a 7b 0d 0a 09 72 65 | 74 75 72 6e 20 55 57 69 |..{...re|turn UWi|
|00000eb0| 6e 64 6f 77 50 61 67 65 | 43 6f 6e 74 72 6f 6c 50 |ndowPage|ControlP|
|00000ec0| 61 67 65 28 47 65 74 54 | 61 62 28 43 61 70 74 69 |age(GetT|ab(Capti|
|00000ed0| 6f 6e 29 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |on));..}|....func|
|00000ee0| 74 69 6f 6e 20 44 65 6c | 65 74 65 50 61 67 65 28 |tion Del|etePage(|
|00000ef0| 55 57 69 6e 64 6f 77 50 | 61 67 65 43 6f 6e 74 72 |UWindowP|ageContr|
|00000f00| 6f 6c 50 61 67 65 20 50 | 29 0d 0a 7b 0d 0a 09 50 |olPage P|)..{...P|
|00000f10| 2e 50 61 67 65 2e 43 6c | 6f 73 65 28 54 72 75 65 |.Page.Cl|ose(True|
|00000f20| 29 3b 0d 0a 09 50 2e 50 | 61 67 65 2e 48 69 64 65 |);...P.P|age.Hide|
|00000f30| 57 69 6e 64 6f 77 28 29 | 3b 0d 0a 09 44 65 6c 65 |Window()|;...Dele|
|00000f40| 74 65 54 61 62 28 50 29 | 3b 0d 0a 7d 0d 0a 0d 0a |teTab(P)|;..}....|
|00000f50| 66 75 6e 63 74 69 6f 6e | 20 43 6c 6f 73 65 28 6f |function| Close(o|
|00000f60| 70 74 69 6f 6e 61 6c 20 | 62 6f 6f 6c 20 62 42 79 |ptional |bool bBy|
|00000f70| 50 61 72 65 6e 74 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |Parent).|.{...loc|
|00000f80| 61 6c 20 55 57 69 6e 64 | 6f 77 50 61 67 65 43 6f |al UWind|owPageCo|
|00000f90| 6e 74 72 6f 6c 50 61 67 | 65 20 49 3b 0d 0a 0d 0a |ntrolPag|e I;....|
|00000fa0| 09 66 6f 72 28 49 20 3d | 20 55 57 69 6e 64 6f 77 |.for(I =| UWindow|
|00000fb0| 50 61 67 65 43 6f 6e 74 | 72 6f 6c 50 61 67 65 28 |PageCont|rolPage(|
|00000fc0| 49 74 65 6d 73 2e 4e 65 | 78 74 29 3b 20 49 20 21 |Items.Ne|xt); I !|
|00000fd0| 3d 20 4e 6f 6e 65 3b 20 | 49 20 3d 20 55 57 69 6e |= None; |I = UWin|
|00000fe0| 64 6f 77 50 61 67 65 43 | 6f 6e 74 72 6f 6c 50 61 |dowPageC|ontrolPa|
|00000ff0| 67 65 28 49 2e 4e 65 78 | 74 29 29 0d 0a 09 09 69 |ge(I.Nex|t))....i|
|00001000| 66 28 49 2e 50 61 67 65 | 20 21 3d 20 4e 6f 6e 65 |f(I.Page| != None|
|00001010| 29 0d 0a 09 09 09 49 2e | 50 61 67 65 2e 43 6c 6f |).....I.|Page.Clo|
|00001020| 73 65 28 54 72 75 65 29 | 3b 0d 0a 0d 0a 09 53 75 |se(True)|;.....Su|
|00001030| 70 65 72 2e 43 6c 6f 73 | 65 28 62 42 79 50 61 72 |per.Clos|e(bByPar|
|00001040| 65 6e 74 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |ent);..}|....func|
|00001050| 74 69 6f 6e 20 47 6f 74 | 6f 54 61 62 28 55 57 69 |tion Got|oTab(UWi|
|00001060| 6e 64 6f 77 54 61 62 43 | 6f 6e 74 72 6f 6c 49 74 |ndowTabC|ontrolIt|
|00001070| 65 6d 20 4e 65 77 53 65 | 6c 65 63 74 65 64 2c 20 |em NewSe|lected, |
|00001080| 6f 70 74 69 6f 6e 61 6c | 20 62 6f 6f 6c 20 62 42 |optional| bool bB|
|00001090| 79 55 73 65 72 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |yUser)..|{...loca|
|000010a0| 6c 20 55 57 69 6e 64 6f | 77 50 61 67 65 43 6f 6e |l UWindo|wPageCon|
|000010b0| 74 72 6f 6c 50 61 67 65 | 20 49 3b 0d 0a 0d 0a 09 |trolPage| I;.....|
|000010c0| 53 75 70 65 72 2e 47 6f | 74 6f 54 61 62 28 4e 65 |Super.Go|toTab(Ne|
|000010d0| 77 53 65 6c 65 63 74 65 | 64 2c 20 62 42 79 55 73 |wSelecte|d, bByUs|
|000010e0| 65 72 29 3b 0d 0a 0d 0a | 09 66 6f 72 28 49 20 3d |er);....|.for(I =|
|000010f0| 20 55 57 69 6e 64 6f 77 | 50 61 67 65 43 6f 6e 74 | UWindow|PageCont|
|00001100| 72 6f 6c 50 61 67 65 28 | 49 74 65 6d 73 2e 4e 65 |rolPage(|Items.Ne|
|00001110| 78 74 29 3b 49 20 21 3d | 20 4e 6f 6e 65 3b 49 20 |xt);I !=| None;I |
|00001120| 3d 20 55 57 69 6e 64 6f | 77 50 61 67 65 43 6f 6e |= UWindo|wPageCon|
|00001130| 74 72 6f 6c 50 61 67 65 | 28 49 2e 4e 65 78 74 29 |trolPage|(I.Next)|
|00001140| 29 0d 0a 09 7b 0d 0a 09 | 09 69 66 28 49 20 21 3d |)...{...|.if(I !=|
|00001150| 20 4e 65 77 53 65 6c 65 | 63 74 65 64 29 0d 0a 09 | NewSele|cted)...|
|00001160| 09 09 49 2e 50 61 67 65 | 2e 48 69 64 65 57 69 6e |..I.Page|.HideWin|
|00001170| 64 6f 77 28 29 3b 09 09 | 09 0d 0a 09 7d 0d 0a 0d |dow();..|....}...|
|00001180| 0a 09 69 66 28 55 57 69 | 6e 64 6f 77 50 61 67 65 |..if(UWi|ndowPage|
|00001190| 43 6f 6e 74 72 6f 6c 50 | 61 67 65 28 4e 65 77 53 |ControlP|age(NewS|
|000011a0| 65 6c 65 63 74 65 64 29 | 20 21 3d 20 4e 6f 6e 65 |elected)| != None|
|000011b0| 29 0d 0a 09 09 55 57 69 | 6e 64 6f 77 50 61 67 65 |)....UWi|ndowPage|
|000011c0| 43 6f 6e 74 72 6f 6c 50 | 61 67 65 28 4e 65 77 53 |ControlP|age(NewS|
|000011d0| 65 6c 65 63 74 65 64 29 | 2e 50 61 67 65 2e 53 68 |elected)|.Page.Sh|
|000011e0| 6f 77 57 69 6e 64 6f 77 | 28 29 3b 0d 0a 7d 0d 0a |owWindow|();..}..|
|000011f0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 55 57 69 6e 64 |..functi|on UWind|
|00001200| 6f 77 50 61 67 65 43 6f | 6e 74 72 6f 6c 50 61 67 |owPageCo|ntrolPag|
|00001210| 65 20 46 69 72 73 74 50 | 61 67 65 28 29 0d 0a 7b |e FirstP|age()..{|
|00001220| 0d 0a 09 72 65 74 75 72 | 6e 20 55 57 69 6e 64 6f |...retur|n UWindo|
|00001230| 77 50 61 67 65 43 6f 6e | 74 72 6f 6c 50 61 67 65 |wPageCon|trolPage|
|00001240| 28 49 74 65 6d 73 2e 4e | 65 78 74 29 3b 0d 0a 7d |(Items.N|ext);..}|
|00001250| 0d 0a 0d 0a 00 | |..... | |
+--------+-------------------------+-------------------------+--------+--------+