source: trunk/desktop/mainWindow.rbfrm @ 27

Revision 27, 114.9 KB checked in by pinwc4, 15 years ago (diff)

Corrected labeling problem for neutral low and high

Line 
1#tag Window
2Begin Window mainWindow
3   BackColor       =   &hFFFFFF
4   Backdrop        =   1384026073
5   CloseButton     =   True
6   Composite       =   True
7   Frame           =   0
8   FullScreen      =   False
9   HasBackColor    =   False
10   Height          =   428
11   ImplicitInstance=   True
12   LiveResize      =   True
13   MacProcID       =   0
14   MaxHeight       =   32000
15   MaximizeButton  =   False
16   MaxWidth        =   32000
17   MenuBar         =   1097909413
18   MenuBarVisible  =   True
19   MinHeight       =   64
20   MinimizeButton  =   True
21   MinWidth        =   64
22   Placement       =   0
23   Resizeable      =   False
24   Title           =   "Flip Side ICS"
25   Visible         =   True
26   Width           =   720
27   Begin PushButton PushButton_Read
28      AutoDeactivate  =   True
29      Bold            =   ""
30      Cancel          =   ""
31      Caption         =   "Read"
32      Default         =   ""
33      Enabled         =   False
34      Height          =   20
35      HelpTag         =   ""
36      Index           =   -2147483648
37      InitialParent   =   ""
38      Italic          =   ""
39      Left            =   312
40      LockBottom      =   True
41      LockedInPosition=   False
42      LockLeft        =   ""
43      LockRight       =   ""
44      LockTop         =   ""
45      Scope           =   0
46      TabIndex        =   4
47      TabPanelIndex   =   0
48      TabStop         =   True
49      TextFont        =   "System"
50      TextSize        =   0
51      Top             =   388
52      Underline       =   ""
53      Visible         =   True
54      Width           =   88
55   End
56   Begin PushButton PushButton_Write
57      AutoDeactivate  =   True
58      Bold            =   ""
59      Cancel          =   ""
60      Caption         =   "Write"
61      Default         =   False
62      Enabled         =   False
63      Height          =   20
64      HelpTag         =   ""
65      Index           =   -2147483648
66      InitialParent   =   ""
67      Italic          =   ""
68      Left            =   412
69      LockBottom      =   True
70      LockedInPosition=   False
71      LockLeft        =   ""
72      LockRight       =   ""
73      LockTop         =   ""
74      Scope           =   0
75      TabIndex        =   5
76      TabPanelIndex   =   0
77      TabStop         =   True
78      TextFont        =   "System"
79      TextSize        =   0
80      Top             =   388
81      Underline       =   ""
82      Visible         =   True
83      Width           =   88
84   End
85   Begin PushButton PushButton_Reset
86      AutoDeactivate  =   True
87      Bold            =   ""
88      Cancel          =   ""
89      Caption         =   "Reset"
90      Default         =   ""
91      Enabled         =   False
92      Height          =   20
93      HelpTag         =   ""
94      Index           =   -2147483648
95      InitialParent   =   ""
96      Italic          =   ""
97      Left            =   512
98      LockBottom      =   True
99      LockedInPosition=   False
100      LockLeft        =   ""
101      LockRight       =   ""
102      LockTop         =   ""
103      Scope           =   0
104      TabIndex        =   6
105      TabPanelIndex   =   0
106      TabStop         =   True
107      TextFont        =   "System"
108      TextSize        =   0
109      Top             =   388
110      Underline       =   ""
111      Visible         =   True
112      Width           =   88
113   End
114   Begin TabPanel TabPanel1
115      AutoDeactivate  =   True
116      Bold            =   ""
117      Enabled         =   True
118      Height          =   366
119      HelpTag         =   ""
120      Index           =   -2147483648
121      InitialParent   =   ""
122      Italic          =   ""
123      Left            =   195
124      LockBottom      =   ""
125      LockedInPosition=   False
126      LockLeft        =   ""
127      LockRight       =   ""
128      LockTop         =   ""
129      Panels          =   ""
130      Scope           =   0
131      SmallTabs       =   False
132      TabDefinition   =   "Car\rCustom"
133      TabIndex        =   43
134      TabPanelIndex   =   0
135      TabStop         =   True
136      TextFont        =   "System"
137      TextSize        =   0
138      Top             =   0
139      Underline       =   ""
140      Value           =   1
141      Visible         =   True
142      Width           =   525
143      Begin EditField EditField_Byte1
144         AcceptTabs      =   ""
145         Alignment       =   0
146         AutoDeactivate  =   True
147         BackColor       =   &hFFFFFF
148         Bold            =   ""
149         Border          =   True
150         DataField       =   ""
151         DataSource      =   ""
152         Enabled         =   False
153         Format          =   ""
154         Height          =   22
155         HelpTag         =   ""
156         Index           =   -2147483648
157         InitialParent   =   "TabPanel1"
158         Italic          =   ""
159         Left            =   221
160         LimitText       =   0
161         LockBottom      =   ""
162         LockedInPosition=   False
163         LockLeft        =   ""
164         LockRight       =   ""
165         LockTop         =   ""
166         Mask            =   "###"
167         Multiline       =   ""
168         Password        =   ""
169         ReadOnly        =   ""
170         Scope           =   0
171         ScrollbarHorizontal=   ""
172         ScrollbarVertical=   True
173         Styled          =   ""
174         TabIndex        =   2
175         TabPanelIndex   =   2
176         TabStop         =   True
177         Text            =   ""
178         TextColor       =   &h000000
179         TextFont        =   "System"
180         TextSize        =   0
181         Top             =   58
182         Underline       =   ""
183         UseFocusRing    =   True
184         Visible         =   True
185         Width           =   32
186      End
187      Begin EditField EditField_Byte9
188         AcceptTabs      =   ""
189         Alignment       =   0
190         AutoDeactivate  =   True
191         BackColor       =   &hFFFFFF
192         Bold            =   ""
193         Border          =   True
194         DataField       =   ""
195         DataSource      =   ""
196         Enabled         =   True
197         Format          =   ""
198         Height          =   22
199         HelpTag         =   ""
200         Index           =   -2147483648
201         InitialParent   =   "TabPanel1"
202         Italic          =   ""
203         Left            =   221
204         LimitText       =   0
205         LockBottom      =   ""
206         LockedInPosition=   False
207         LockLeft        =   ""
208         LockRight       =   ""
209         LockTop         =   ""
210         Mask            =   "###"
211         Multiline       =   ""
212         Password        =   ""
213         ReadOnly        =   ""
214         Scope           =   0
215         ScrollbarHorizontal=   ""
216         ScrollbarVertical=   True
217         Styled          =   ""
218         TabIndex        =   12
219         TabPanelIndex   =   2
220         TabStop         =   True
221         Text            =   ""
222         TextColor       =   &h000000
223         TextFont        =   "System"
224         TextSize        =   0
225         Top             =   331
226         Underline       =   ""
227         UseFocusRing    =   True
228         Visible         =   True
229         Width           =   32
230      End
231      Begin EditField EditField_Byte8
232         AcceptTabs      =   ""
233         Alignment       =   0
234         AutoDeactivate  =   True
235         BackColor       =   &hFFFFFF
236         Bold            =   ""
237         Border          =   True
238         DataField       =   ""
239         DataSource      =   ""
240         Enabled         =   True
241         Format          =   ""
242         Height          =   22
243         HelpTag         =   ""
244         Index           =   -2147483648
245         InitialParent   =   "TabPanel1"
246         Italic          =   ""
247         Left            =   221
248         LimitText       =   0
249         LockBottom      =   ""
250         LockedInPosition=   False
251         LockLeft        =   ""
252         LockRight       =   ""
253         LockTop         =   ""
254         Mask            =   "###"
255         Multiline       =   ""
256         Password        =   ""
257         ReadOnly        =   ""
258         Scope           =   0
259         ScrollbarHorizontal=   ""
260         ScrollbarVertical=   True
261         Styled          =   ""
262         TabIndex        =   13
263         TabPanelIndex   =   2
264         TabStop         =   True
265         Text            =   ""
266         TextColor       =   &h000000
267         TextFont        =   "System"
268         TextSize        =   0
269         Top             =   296
270         Underline       =   ""
271         UseFocusRing    =   True
272         Visible         =   True
273         Width           =   32
274      End
275      Begin EditField EditField_Byte7
276         AcceptTabs      =   ""
277         Alignment       =   0
278         AutoDeactivate  =   True
279         BackColor       =   &hFFFFFF
280         Bold            =   ""
281         Border          =   True
282         DataField       =   ""
283         DataSource      =   ""
284         Enabled         =   True
285         Format          =   ""
286         Height          =   22
287         HelpTag         =   ""
288         Index           =   -2147483648
289         InitialParent   =   "TabPanel1"
290         Italic          =   ""
291         Left            =   221
292         LimitText       =   0
293         LockBottom      =   ""
294         LockedInPosition=   False
295         LockLeft        =   ""
296         LockRight       =   ""
297         LockTop         =   ""
298         Mask            =   "###"
299         Multiline       =   ""
300         Password        =   ""
301         ReadOnly        =   ""
302         Scope           =   0
303         ScrollbarHorizontal=   ""
304         ScrollbarVertical=   True
305         Styled          =   ""
306         TabIndex        =   14
307         TabPanelIndex   =   2
308         TabStop         =   True
309         Text            =   ""
310         TextColor       =   &h000000
311         TextFont        =   "System"
312         TextSize        =   0
313         Top             =   262
314         Underline       =   ""
315         UseFocusRing    =   True
316         Visible         =   True
317         Width           =   32
318      End
319      Begin EditField EditField_Byte6
320         AcceptTabs      =   ""
321         Alignment       =   0
322         AutoDeactivate  =   True
323         BackColor       =   &hFFFFFF
324         Bold            =   ""
325         Border          =   True
326         DataField       =   ""
327         DataSource      =   ""
328         Enabled         =   True
329         Format          =   ""
330         Height          =   22
331         HelpTag         =   ""
332         Index           =   -2147483648
333         InitialParent   =   "TabPanel1"
334         Italic          =   ""
335         Left            =   221
336         LimitText       =   0
337         LockBottom      =   ""
338         LockedInPosition=   False
339         LockLeft        =   ""
340         LockRight       =   ""
341         LockTop         =   ""
342         Mask            =   "###"
343         Multiline       =   ""
344         Password        =   ""
345         ReadOnly        =   ""
346         Scope           =   0
347         ScrollbarHorizontal=   ""
348         ScrollbarVertical=   True
349         Styled          =   ""
350         TabIndex        =   15
351         TabPanelIndex   =   2
352         TabStop         =   True
353         Text            =   ""
354         TextColor       =   &h000000
355         TextFont        =   "System"
356         TextSize        =   0
357         Top             =   228
358         Underline       =   ""
359         UseFocusRing    =   True
360         Visible         =   True
361         Width           =   32
362      End
363      Begin EditField EditField_Byte5
364         AcceptTabs      =   ""
365         Alignment       =   0
366         AutoDeactivate  =   True
367         BackColor       =   &hFFFFFF
368         Bold            =   ""
369         Border          =   True
370         DataField       =   ""
371         DataSource      =   ""
372         Enabled         =   True
373         Format          =   ""
374         Height          =   22
375         HelpTag         =   ""
376         Index           =   -2147483648
377         InitialParent   =   "TabPanel1"
378         Italic          =   ""
379         Left            =   221
380         LimitText       =   0
381         LockBottom      =   ""
382         LockedInPosition=   False
383         LockLeft        =   ""
384         LockRight       =   ""
385         LockTop         =   ""
386         Mask            =   "###"
387         Multiline       =   ""
388         Password        =   ""
389         ReadOnly        =   ""
390         Scope           =   0
391         ScrollbarHorizontal=   ""
392         ScrollbarVertical=   True
393         Styled          =   ""
394         TabIndex        =   16
395         TabPanelIndex   =   2
396         TabStop         =   True
397         Text            =   ""
398         TextColor       =   &h000000
399         TextFont        =   "System"
400         TextSize        =   0
401         Top             =   195
402         Underline       =   ""
403         UseFocusRing    =   True
404         Visible         =   True
405         Width           =   32
406      End
407      Begin EditField EditField_Byte4
408         AcceptTabs      =   ""
409         Alignment       =   0
410         AutoDeactivate  =   True
411         BackColor       =   &hFFFFFF
412         Bold            =   ""
413         Border          =   True
414         DataField       =   ""
415         DataSource      =   ""
416         Enabled         =   True
417         Format          =   ""
418         Height          =   22
419         HelpTag         =   ""
420         Index           =   -2147483648
421         InitialParent   =   "TabPanel1"
422         Italic          =   ""
423         Left            =   221
424         LimitText       =   0
425         LockBottom      =   ""
426         LockedInPosition=   False
427         LockLeft        =   ""
428         LockRight       =   ""
429         LockTop         =   ""
430         Mask            =   "###"
431         Multiline       =   ""
432         Password        =   ""
433         ReadOnly        =   ""
434         Scope           =   0
435         ScrollbarHorizontal=   ""
436         ScrollbarVertical=   True
437         Styled          =   ""
438         TabIndex        =   17
439         TabPanelIndex   =   2
440         TabStop         =   True
441         Text            =   ""
442         TextColor       =   &h000000
443         TextFont        =   "System"
444         TextSize        =   0
445         Top             =   161
446         Underline       =   ""
447         UseFocusRing    =   True
448         Visible         =   True
449         Width           =   32
450      End
451      Begin EditField EditField_Byte3
452         AcceptTabs      =   ""
453         Alignment       =   0
454         AutoDeactivate  =   True
455         BackColor       =   &hFFFFFF
456         Bold            =   ""
457         Border          =   True
458         DataField       =   ""
459         DataSource      =   ""
460         Enabled         =   True
461         Format          =   ""
462         Height          =   22
463         HelpTag         =   ""
464         Index           =   -2147483648
465         InitialParent   =   "TabPanel1"
466         Italic          =   ""
467         Left            =   221
468         LimitText       =   0
469         LockBottom      =   ""
470         LockedInPosition=   False
471         LockLeft        =   ""
472         LockRight       =   ""
473         LockTop         =   ""
474         Mask            =   "###"
475         Multiline       =   ""
476         Password        =   ""
477         ReadOnly        =   ""
478         Scope           =   0
479         ScrollbarHorizontal=   ""
480         ScrollbarVertical=   True
481         Styled          =   ""
482         TabIndex        =   18
483         TabPanelIndex   =   2
484         TabStop         =   True
485         Text            =   ""
486         TextColor       =   &h000000
487         TextFont        =   "System"
488         TextSize        =   0
489         Top             =   126
490         Underline       =   ""
491         UseFocusRing    =   True
492         Visible         =   True
493         Width           =   32
494      End
495      Begin EditField EditField_Byte2
496         AcceptTabs      =   ""
497         Alignment       =   0
498         AutoDeactivate  =   True
499         BackColor       =   &hFFFFFF
500         Bold            =   ""
501         Border          =   True
502         DataField       =   ""
503         DataSource      =   ""
504         Enabled         =   False
505         Format          =   ""
506         Height          =   22
507         HelpTag         =   ""
508         Index           =   -2147483648
509         InitialParent   =   "TabPanel1"
510         Italic          =   ""
511         Left            =   221
512         LimitText       =   0
513         LockBottom      =   ""
514         LockedInPosition=   False
515         LockLeft        =   ""
516         LockRight       =   ""
517         LockTop         =   ""
518         Mask            =   "###"
519         Multiline       =   ""
520         Password        =   ""
521         ReadOnly        =   ""
522         Scope           =   0
523         ScrollbarHorizontal=   ""
524         ScrollbarVertical=   True
525         Styled          =   ""
526         TabIndex        =   19
527         TabPanelIndex   =   2
528         TabStop         =   True
529         Text            =   ""
530         TextColor       =   &h000000
531         TextFont        =   "System"
532         TextSize        =   0
533         Top             =   92
534         Underline       =   ""
535         UseFocusRing    =   True
536         Visible         =   True
537         Width           =   32
538      End
539      Begin StaticText StaticText_Byte1
540         AutoDeactivate  =   True
541         Bold            =   ""
542         DataField       =   ""
543         DataSource      =   ""
544         Enabled         =   True
545         Height          =   20
546         HelpTag         =   ""
547         Index           =   -2147483648
548         InitialParent   =   "TabPanel1"
549         Italic          =   ""
550         Left            =   265
551         LockBottom      =   ""
552         LockedInPosition=   False
553         LockLeft        =   ""
554         LockRight       =   ""
555         LockTop         =   ""
556         Multiline       =   ""
557         Scope           =   0
558         TabIndex        =   21
559         TabPanelIndex   =   2
560         Text            =   "Header"
561         TextAlign       =   0
562         TextColor       =   "&cB8B8B8"
563         TextFont        =   "System"
564         TextSize        =   0
565         Top             =   58
566         Underline       =   ""
567         Visible         =   True
568         Width           =   106
569      End
570      Begin StaticText StaticText_Byte6
571         AutoDeactivate  =   True
572         Bold            =   ""
573         DataField       =   ""
574         DataSource      =   ""
575         Enabled         =   True
576         Height          =   20
577         HelpTag         =   ""
578         Index           =   -2147483648
579         InitialParent   =   "TabPanel1"
580         Italic          =   ""
581         Left            =   265
582         LockBottom      =   ""
583         LockedInPosition=   False
584         LockLeft        =   ""
585         LockRight       =   ""
586         LockTop         =   ""
587         Multiline       =   ""
588         Scope           =   0
589         TabIndex        =   22
590         TabPanelIndex   =   2
591         Text            =   "Drive Band"
592         TextAlign       =   0
593         TextColor       =   "&cB8B8B8"
594         TextFont        =   "System"
595         TextSize        =   0
596         Top             =   228
597         Underline       =   ""
598         Visible         =   True
599         Width           =   106
600      End
601      Begin StaticText StaticText_Byte5
602         AutoDeactivate  =   True
603         Bold            =   ""
604         DataField       =   ""
605         DataSource      =   ""
606         Enabled         =   True
607         Height          =   20
608         HelpTag         =   ""
609         Index           =   -2147483648
610         InitialParent   =   "TabPanel1"
611         Italic          =   ""
612         Left            =   265
613         LockBottom      =   ""
614         LockedInPosition=   False
615         LockLeft        =   ""
616         LockRight       =   ""
617         LockTop         =   ""
618         Multiline       =   ""
619         Scope           =   0
620         TabIndex        =   23
621         TabPanelIndex   =   2
622         Text            =   "Punch"
623         TextAlign       =   0
624         TextColor       =   "&cB8B8B8"
625         TextFont        =   "System"
626         TextSize        =   0
627         Top             =   194
628         Underline       =   ""
629         Visible         =   True
630         Width           =   106
631      End
632      Begin StaticText StaticText_Byte4
633         AutoDeactivate  =   True
634         Bold            =   ""
635         DataField       =   ""
636         DataSource      =   ""
637         Enabled         =   True
638         Height          =   20
639         HelpTag         =   ""
640         Index           =   -2147483648
641         InitialParent   =   "TabPanel1"
642         Italic          =   ""
643         Left            =   265
644         LockBottom      =   ""
645         LockedInPosition=   False
646         LockLeft        =   ""
647         LockRight       =   ""
648         LockTop         =   ""
649         Multiline       =   ""
650         Scope           =   0
651         TabIndex        =   24
652         TabPanelIndex   =   2
653         Text            =   "Speed"
654         TextAlign       =   0
655         TextColor       =   "&cB8B8B8"
656         TextFont        =   "System"
657         TextSize        =   0
658         Top             =   162
659         Underline       =   ""
660         Visible         =   True
661         Width           =   106
662      End
663      Begin StaticText StaticText_Byte3
664         AutoDeactivate  =   True
665         Bold            =   ""
666         DataField       =   ""
667         DataSource      =   ""
668         Enabled         =   True
669         Height          =   20
670         HelpTag         =   ""
671         Index           =   -2147483648
672         InitialParent   =   "TabPanel1"
673         Italic          =   ""
674         Left            =   265
675         LockBottom      =   ""
676         LockedInPosition=   False
677         LockLeft        =   ""
678         LockRight       =   ""
679         LockTop         =   ""
680         Multiline       =   ""
681         Scope           =   0
682         TabIndex        =   25
683         TabPanelIndex   =   2
684         Text            =   "Gain"
685         TextAlign       =   0
686         TextColor       =   "&cB8B8B8"
687         TextFont        =   "System"
688         TextSize        =   0
689         Top             =   126
690         Underline       =   ""
691         Visible         =   True
692         Width           =   106
693      End
694      Begin StaticText StaticText_Byte2
695         AutoDeactivate  =   True
696         Bold            =   ""
697         DataField       =   ""
698         DataSource      =   ""
699         Enabled         =   True
700         Height          =   20
701         HelpTag         =   ""
702         Index           =   -2147483648
703         InitialParent   =   "TabPanel1"
704         Italic          =   ""
705         Left            =   265
706         LockBottom      =   ""
707         LockedInPosition=   False
708         LockLeft        =   ""
709         LockRight       =   ""
710         LockTop         =   ""
711         Multiline       =   ""
712         Scope           =   0
713         TabIndex        =   26
714         TabPanelIndex   =   2
715         Text            =   "Header"
716         TextAlign       =   0
717         TextColor       =   "&cB8B8B8"
718         TextFont        =   "System"
719         TextSize        =   0
720         Top             =   92
721         Underline       =   ""
722         Visible         =   True
723         Width           =   106
724      End
725      Begin StaticText StaticText_Byte7
726         AutoDeactivate  =   True
727         Bold            =   ""
728         DataField       =   ""
729         DataSource      =   ""
730         Enabled         =   True
731         Height          =   20
732         HelpTag         =   ""
733         Index           =   -2147483648
734         InitialParent   =   "TabPanel1"
735         Italic          =   ""
736         Left            =   267
737         LockBottom      =   ""
738         LockedInPosition=   False
739         LockLeft        =   ""
740         LockRight       =   ""
741         LockTop         =   ""
742         Multiline       =   ""
743         Scope           =   0
744         TabIndex        =   27
745         TabPanelIndex   =   2
746         Text            =   "Dump"
747         TextAlign       =   0
748         TextColor       =   "&cB8B8B8"
749         TextFont        =   "System"
750         TextSize        =   0
751         Top             =   264
752         Underline       =   ""
753         Visible         =   True
754         Width           =   106
755      End
756      Begin StaticText StaticText_Byte8
757         AutoDeactivate  =   True
758         Bold            =   ""
759         DataField       =   ""
760         DataSource      =   ""
761         Enabled         =   True
762         Height          =   20
763         HelpTag         =   ""
764         Index           =   -2147483648
765         InitialParent   =   "TabPanel1"
766         Italic          =   ""
767         Left            =   267
768         LockBottom      =   ""
769         LockedInPosition=   False
770         LockLeft        =   ""
771         LockRight       =   ""
772         LockTop         =   ""
773         Multiline       =   ""
774         Scope           =   0
775         TabIndex        =   28
776         TabPanelIndex   =   2
777         Text            =   "Drive Frequency"
778         TextAlign       =   0
779         TextColor       =   "&cB8B8B8"
780         TextFont        =   "System"
781         TextSize        =   0
782         Top             =   297
783         Underline       =   ""
784         Visible         =   True
785         Width           =   106
786      End
787      Begin StaticText StaticText_Byte9
788         AutoDeactivate  =   True
789         Bold            =   ""
790         DataField       =   ""
791         DataSource      =   ""
792         Enabled         =   True
793         Height          =   20
794         HelpTag         =   ""
795         Index           =   -2147483648
796         InitialParent   =   "TabPanel1"
797         Italic          =   ""
798         Left            =   265
799         LockBottom      =   ""
800         LockedInPosition=   False
801         LockLeft        =   ""
802         LockRight       =   ""
803         LockTop         =   ""
804         Multiline       =   ""
805         Scope           =   0
806         TabIndex        =   29
807         TabPanelIndex   =   2
808         Text            =   "Unknown"
809         TextAlign       =   0
810         TextColor       =   "&cB8B8B8"
811         TextFont        =   "System"
812         TextSize        =   0
813         Top             =   333
814         Underline       =   ""
815         Visible         =   True
816         Width           =   106
817      End
818      Begin Slider Slider_THGain
819         AutoDeactivate  =   True
820         Enabled         =   True
821         Height          =   16
822         HelpTag         =   ""
823         Index           =   -2147483648
824         InitialParent   =   "TabPanel1"
825         Left            =   448
826         LineStep        =   1
827         LiveScroll      =   ""
828         LockBottom      =   ""
829         LockedInPosition=   False
830         LockLeft        =   ""
831         LockRight       =   ""
832         LockTop         =   ""
833         Maximum         =   255
834         Minimum         =   1
835         PageStep        =   20
836         Scope           =   0
837         TabIndex        =   0
838         TabPanelIndex   =   1
839         TabStop         =   True
840         Top             =   218
841         Value           =   0
842         Visible         =   True
843         Width           =   100
844      End
845      Begin EditField EditField_THGain
846         AcceptTabs      =   ""
847         Alignment       =   0
848         AutoDeactivate  =   True
849         BackColor       =   &hFFFFFF
850         Bold            =   ""
851         Border          =   True
852         DataField       =   ""
853         DataSource      =   ""
854         Enabled         =   True
855         Format          =   ""
856         Height          =   22
857         HelpTag         =   ""
858         Index           =   -2147483648
859         InitialParent   =   "TabPanel1"
860         Italic          =   ""
861         Left            =   560
862         LimitText       =   0
863         LockBottom      =   ""
864         LockedInPosition=   False
865         LockLeft        =   ""
866         LockRight       =   ""
867         LockTop         =   ""
868         Mask            =   "###"
869         Multiline       =   ""
870         Password        =   ""
871         ReadOnly        =   ""
872         Scope           =   0
873         ScrollbarHorizontal=   ""
874         ScrollbarVertical=   True
875         Styled          =   ""
876         TabIndex        =   1
877         TabPanelIndex   =   1
878         TabStop         =   True
879         Text            =   ""
880         TextColor       =   &h000000
881         TextFont        =   "System"
882         TextSize        =   0
883         Top             =   218
884         Underline       =   ""
885         UseFocusRing    =   True
886         Visible         =   True
887         Width           =   32
888      End
889      Begin StaticText StaticText_THGain
890         AutoDeactivate  =   True
891         Bold            =   ""
892         DataField       =   ""
893         DataSource      =   ""
894         Enabled         =   True
895         Height          =   20
896         HelpTag         =   ""
897         Index           =   -2147483648
898         InitialParent   =   "TabPanel1"
899         Italic          =   ""
900         Left            =   604
901         LockBottom      =   ""
902         LockedInPosition=   False
903         LockLeft        =   ""
904         LockRight       =   ""
905         LockTop         =   ""
906         Multiline       =   ""
907         Scope           =   0
908         TabIndex        =   2
909         TabPanelIndex   =   1
910         Text            =   "Throttle Gain"
911         TextAlign       =   0
912         TextColor       =   "&cB8B8B8"
913         TextFont        =   "System"
914         TextSize        =   0
915         Top             =   218
916         Underline       =   ""
917         Visible         =   True
918         Width           =   128
919      End
920      Begin Slider Slider_STGain
921         AutoDeactivate  =   True
922         Enabled         =   True
923         Height          =   16
924         HelpTag         =   ""
925         Index           =   -2147483648
926         InitialParent   =   "TabPanel1"
927         Left            =   448
928         LineStep        =   1
929         LiveScroll      =   ""
930         LockBottom      =   ""
931         LockedInPosition=   False
932         LockLeft        =   ""
933         LockRight       =   ""
934         LockTop         =   ""
935         Maximum         =   255
936         Minimum         =   1
937         PageStep        =   20
938         Scope           =   0
939         TabIndex        =   3
940         TabPanelIndex   =   1
941         TabStop         =   True
942         Top             =   186
943         Value           =   0
944         Visible         =   True
945         Width           =   100
946      End
947      Begin EditField EditField_STGain
948         AcceptTabs      =   ""
949         Alignment       =   0
950         AutoDeactivate  =   True
951         BackColor       =   &hFFFFFF
952         Bold            =   ""
953         Border          =   True
954         DataField       =   ""
955         DataSource      =   ""
956         Enabled         =   True
957         Format          =   ""
958         Height          =   22
959         HelpTag         =   ""
960         Index           =   -2147483648
961         InitialParent   =   "TabPanel1"
962         Italic          =   ""
963         Left            =   560
964         LimitText       =   0
965         LockBottom      =   ""
966         LockedInPosition=   False
967         LockLeft        =   ""
968         LockRight       =   ""
969         LockTop         =   ""
970         Mask            =   "###"
971         Multiline       =   ""
972         Password        =   ""
973         ReadOnly        =   ""
974         Scope           =   0
975         ScrollbarHorizontal=   ""
976         ScrollbarVertical=   True
977         Styled          =   ""
978         TabIndex        =   4
979         TabPanelIndex   =   1
980         TabStop         =   True
981         Text            =   ""
982         TextColor       =   &h000000
983         TextFont        =   "System"
984         TextSize        =   0
985         Top             =   186
986         Underline       =   ""
987         UseFocusRing    =   True
988         Visible         =   True
989         Width           =   32
990      End
991      Begin StaticText StaticText_STGain
992         AutoDeactivate  =   True
993         Bold            =   ""
994         DataField       =   ""
995         DataSource      =   ""
996         Enabled         =   True
997         Height          =   20
998         HelpTag         =   ""
999         Index           =   -2147483648
1000         InitialParent   =   "TabPanel1"
1001         Italic          =   ""
1002         Left            =   604
1003         LockBottom      =   ""
1004         LockedInPosition=   False
1005         LockLeft        =   ""
1006         LockRight       =   ""
1007         LockTop         =   ""
1008         Multiline       =   ""
1009         Scope           =   0
1010         TabIndex        =   5
1011         TabPanelIndex   =   1
1012         Text            =   "Steering Gain"
1013         TextAlign       =   0
1014         TextColor       =   "&cB8B8B8"
1015         TextFont        =   "System"
1016         TextSize        =   0
1017         Top             =   186
1018         Underline       =   ""
1019         Visible         =   True
1020         Width           =   128
1021      End
1022      Begin PopupMenu PopupMenu_BackTiming
1023         AutoDeactivate  =   True
1024         Bold            =   ""
1025         DataField       =   ""
1026         DataSource      =   ""
1027         Enabled         =   True
1028         Height          =   20
1029         HelpTag         =   ""
1030         Index           =   -2147483648
1031         InitialParent   =   "TabPanel1"
1032         InitialValue    =   "1\r2\r3\r4\r5\rCustom"
1033         Italic          =   ""
1034         Left            =   448
1035         ListIndex       =   0
1036         LockBottom      =   ""
1037         LockedInPosition=   False
1038         LockLeft        =   ""
1039         LockRight       =   ""
1040         LockTop         =   ""
1041         Scope           =   0
1042         TabIndex        =   6
1043         TabPanelIndex   =   1
1044         TabStop         =   True
1045         TextFont        =   "System"
1046         TextSize        =   0
1047         Top             =   154
1048         Underline       =   ""
1049         Visible         =   True
1050         Width           =   144
1051      End
1052      Begin StaticText StaticText_BackTiming
1053         AutoDeactivate  =   True
1054         Bold            =   ""
1055         DataField       =   ""
1056         DataSource      =   ""
1057         Enabled         =   True
1058         Height          =   20
1059         HelpTag         =   ""
1060         Index           =   -2147483648
1061         InitialParent   =   "TabPanel1"
1062         Italic          =   ""
1063         Left            =   604
1064         LockBottom      =   ""
1065         LockedInPosition=   False
1066         LockLeft        =   ""
1067         LockRight       =   ""
1068         LockTop         =   ""
1069         Multiline       =   ""
1070         Scope           =   0
1071         TabIndex        =   7
1072         TabPanelIndex   =   1
1073         Text            =   "Back Timing"
1074         TextAlign       =   0
1075         TextColor       =   "&cB8B8B8"
1076         TextFont        =   "System"
1077         TextSize        =   0
1078         Top             =   154
1079         Underline       =   ""
1080         Visible         =   True
1081         Width           =   128
1082      End
1083      Begin PopupMenu PopupMenu_VerticalInteria
1084         AutoDeactivate  =   True
1085         Bold            =   ""
1086         DataField       =   ""
1087         DataSource      =   ""
1088         Enabled         =   True
1089         Height          =   20
1090         HelpTag         =   ""
1091         Index           =   -2147483648
1092         InitialParent   =   "TabPanel1"
1093         InitialValue    =   "Strong\r2\r3\r4\rOff\rCustom"
1094         Italic          =   ""
1095         Left            =   448
1096         ListIndex       =   0
1097         LockBottom      =   ""
1098         LockedInPosition=   False
1099         LockLeft        =   ""
1100         LockRight       =   ""
1101         LockTop         =   ""
1102         Scope           =   0
1103         TabIndex        =   8
1104         TabPanelIndex   =   1
1105         TabStop         =   True
1106         TextFont        =   "System"
1107         TextSize        =   0
1108         Top             =   122
1109         Underline       =   ""
1110         Visible         =   True
1111         Width           =   144
1112      End
1113      Begin StaticText StaticText_VerticalIntertia
1114         AutoDeactivate  =   True
1115         Bold            =   ""
1116         DataField       =   ""
1117         DataSource      =   ""
1118         Enabled         =   True
1119         Height          =   20
1120         HelpTag         =   ""
1121         Index           =   -2147483648
1122         InitialParent   =   "TabPanel1"
1123         Italic          =   ""
1124         Left            =   604
1125         LockBottom      =   ""
1126         LockedInPosition=   False
1127         LockLeft        =   ""
1128         LockRight       =   ""
1129         LockTop         =   ""
1130         Multiline       =   ""
1131         Scope           =   0
1132         TabIndex        =   9
1133         TabPanelIndex   =   1
1134         Text            =   "Vertical Intertia"
1135         TextAlign       =   0
1136         TextColor       =   "&cB8B8B8"
1137         TextFont        =   "System"
1138         TextSize        =   0
1139         Top             =   122
1140         Underline       =   ""
1141         Visible         =   True
1142         Width           =   128
1143      End
1144      Begin PopupMenu PopupMenu_Nuetral
1145         AutoDeactivate  =   True
1146         Bold            =   ""
1147         DataField       =   ""
1148         DataSource      =   ""
1149         Enabled         =   True
1150         Height          =   20
1151         HelpTag         =   ""
1152         Index           =   -2147483648
1153         InitialParent   =   "TabPanel1"
1154         InitialValue    =   "Narrow\rMid\rWide\rCustom"
1155         Italic          =   ""
1156         Left            =   448
1157         ListIndex       =   0
1158         LockBottom      =   ""
1159         LockedInPosition=   False
1160         LockLeft        =   ""
1161         LockRight       =   ""
1162         LockTop         =   ""
1163         Scope           =   0
1164         TabIndex        =   10
1165         TabPanelIndex   =   1
1166         TabStop         =   True
1167         TextFont        =   "System"
1168         TextSize        =   0
1169         Top             =   90
1170         Underline       =   ""
1171         Visible         =   True
1172         Width           =   144
1173      End
1174      Begin StaticText StaticText_Nuetral
1175         AutoDeactivate  =   True
1176         Bold            =   ""
1177         DataField       =   ""
1178         DataSource      =   ""
1179         Enabled         =   True
1180         Height          =   20
1181         HelpTag         =   ""
1182         Index           =   -2147483648
1183         InitialParent   =   "TabPanel1"
1184         Italic          =   ""
1185         Left            =   604
1186         LockBottom      =   ""
1187         LockedInPosition=   False
1188         LockLeft        =   ""
1189         LockRight       =   ""
1190         LockTop         =   ""
1191         Multiline       =   ""
1192         Scope           =   0
1193         TabIndex        =   11
1194         TabPanelIndex   =   1
1195         Text            =   "Nuetral"
1196         TextAlign       =   0
1197         TextColor       =   "&cB8B8B8"
1198         TextFont        =   "System"
1199         TextSize        =   0
1200         Top             =   90
1201         Underline       =   ""
1202         Visible         =   True
1203         Width           =   128
1204      End
1205      Begin PopupMenu PopupMenu_DFreq
1206         AutoDeactivate  =   True
1207         Bold            =   ""
1208         DataField       =   ""
1209         DataSource      =   ""
1210         Enabled         =   True
1211         Height          =   20
1212         HelpTag         =   ""
1213         Index           =   -2147483648
1214         InitialParent   =   "TabPanel1"
1215         InitialValue    =   "High\rMedium\rLow\rCustom"
1216         Italic          =   ""
1217         Left            =   448
1218         ListIndex       =   0
1219         LockBottom      =   ""
1220         LockedInPosition=   False
1221         LockLeft        =   ""
1222         LockRight       =   ""
1223         LockTop         =   ""
1224         Scope           =   0
1225         TabIndex        =   12
1226         TabPanelIndex   =   1
1227         TabStop         =   True
1228         TextFont        =   "System"
1229         TextSize        =   0
1230         Top             =   58
1231         Underline       =   ""
1232         Visible         =   True
1233         Width           =   144
1234      End
1235      Begin StaticText StaticText_DFreq
1236         AutoDeactivate  =   True
1237         Bold            =   ""
1238         DataField       =   ""
1239         DataSource      =   ""
1240         Enabled         =   True
1241         Height          =   20
1242         HelpTag         =   ""
1243         Index           =   -2147483648
1244         InitialParent   =   "TabPanel1"
1245         Italic          =   ""
1246         Left            =   604
1247         LockBottom      =   ""
1248         LockedInPosition=   False
1249         LockLeft        =   ""
1250         LockRight       =   ""
1251         LockTop         =   ""
1252         Multiline       =   ""
1253         Scope           =   0
1254         TabIndex        =   13
1255         TabPanelIndex   =   1
1256         Text            =   "Drive Frequency"
1257         TextAlign       =   0
1258         TextColor       =   "&cB8B8B8"
1259         TextFont        =   "System"
1260         TextSize        =   0
1261         Top             =   58
1262         Underline       =   ""
1263         Visible         =   True
1264         Width           =   106
1265      End
1266      Begin PopupMenu PopupMenu_Dump
1267         AutoDeactivate  =   True
1268         Bold            =   ""
1269         DataField       =   ""
1270         DataSource      =   ""
1271         Enabled         =   True
1272         Height          =   20
1273         HelpTag         =   ""
1274         Index           =   -2147483648
1275         InitialParent   =   "TabPanel1"
1276         InitialValue    =   "Over\rSmooth\rCustom"
1277         Italic          =   ""
1278         Left            =   209
1279         ListIndex       =   0
1280         LockBottom      =   ""
1281         LockedInPosition=   False
1282         LockLeft        =   ""
1283         LockRight       =   ""
1284         LockTop         =   ""
1285         Scope           =   0
1286         TabIndex        =   14
1287         TabPanelIndex   =   1
1288         TabStop         =   True
1289         TextFont        =   "System"
1290         TextSize        =   0
1291         Top             =   218
1292         Underline       =   ""
1293         Visible         =   True
1294         Width           =   144
1295      End
1296      Begin StaticText StaticText_Dump
1297         AutoDeactivate  =   True
1298         Bold            =   ""
1299         DataField       =   ""
1300         DataSource      =   ""
1301         Enabled         =   True
1302         Height          =   20
1303         HelpTag         =   ""
1304         Index           =   -2147483648
1305         InitialParent   =   "TabPanel1"
1306         Italic          =   ""
1307         Left            =   365
1308         LockBottom      =   ""
1309         LockedInPosition=   False
1310         LockLeft        =   ""
1311         LockRight       =   ""
1312         LockTop         =   ""
1313         Multiline       =   ""
1314         Scope           =   0
1315         TabIndex        =   15
1316         TabPanelIndex   =   1
1317         Text            =   "Dump"
1318         TextAlign       =   0
1319         TextColor       =   "&cB8B8B8"
1320         TextFont        =   "System"
1321         TextSize        =   0
1322         Top             =   218
1323         Underline       =   ""
1324         Visible         =   True
1325         Width           =   128
1326      End
1327      Begin PopupMenu PopupMenu_DBand
1328         AutoDeactivate  =   True
1329         Bold            =   ""
1330         DataField       =   ""
1331         DataSource      =   ""
1332         Enabled         =   True
1333         Height          =   20
1334         HelpTag         =   ""
1335         Index           =   -2147483648
1336         InitialParent   =   "TabPanel1"
1337         InitialValue    =   "Narrow\rMid\rWide\rCustom"
1338         Italic          =   ""
1339         Left            =   209
1340         ListIndex       =   0
1341         LockBottom      =   ""
1342         LockedInPosition=   False
1343         LockLeft        =   ""
1344         LockRight       =   ""
1345         LockTop         =   ""
1346         Scope           =   0
1347         TabIndex        =   16
1348         TabPanelIndex   =   1
1349         TabStop         =   True
1350         TextFont        =   "System"
1351         TextSize        =   0
1352         Top             =   186
1353         Underline       =   ""
1354         Visible         =   True
1355         Width           =   144
1356      End
1357      Begin StaticText StaticText_DBand
1358         AutoDeactivate  =   True
1359         Bold            =   ""
1360         DataField       =   ""
1361         DataSource      =   ""
1362         Enabled         =   True
1363         Height          =   20
1364         HelpTag         =   ""
1365         Index           =   -2147483648
1366         InitialParent   =   "TabPanel1"
1367         Italic          =   ""
1368         Left            =   365
1369         LockBottom      =   ""
1370         LockedInPosition=   False
1371         LockLeft        =   ""
1372         LockRight       =   ""
1373         LockTop         =   ""
1374         Multiline       =   ""
1375         Scope           =   0
1376         TabIndex        =   17
1377         TabPanelIndex   =   1
1378         Text            =   "Drive Band"
1379         TextAlign       =   0
1380         TextColor       =   "&cB8B8B8"
1381         TextFont        =   "System"
1382         TextSize        =   0
1383         Top             =   182
1384         Underline       =   ""
1385         Visible         =   True
1386         Width           =   128
1387      End
1388      Begin Slider Slider_Punch
1389         AutoDeactivate  =   True
1390         Enabled         =   True
1391         Height          =   16
1392         HelpTag         =   ""
1393         Index           =   -2147483648
1394         InitialParent   =   "TabPanel1"
1395         Left            =   209
1396         LineStep        =   1
1397         LiveScroll      =   ""
1398         LockBottom      =   ""
1399         LockedInPosition=   False
1400         LockLeft        =   ""
1401         LockRight       =   ""
1402         LockTop         =   ""
1403         Maximum         =   10
1404         Minimum         =   1
1405         PageStep        =   20
1406         Scope           =   0
1407         TabIndex        =   18
1408         TabPanelIndex   =   1
1409         TabStop         =   True
1410         Top             =   154
1411         Value           =   0
1412         Visible         =   True
1413         Width           =   100
1414      End
1415      Begin EditField EditField_Punch
1416         AcceptTabs      =   ""
1417         Alignment       =   0
1418         AutoDeactivate  =   True
1419         BackColor       =   &hFFFFFF
1420         Bold            =   ""
1421         Border          =   True
1422         DataField       =   ""
1423         DataSource      =   ""
1424         Enabled         =   True
1425         Format          =   ""
1426         Height          =   22
1427         HelpTag         =   ""
1428         Index           =   -2147483648
1429         InitialParent   =   "TabPanel1"
1430         Italic          =   ""
1431         Left            =   321
1432         LimitText       =   0
1433         LockBottom      =   ""
1434         LockedInPosition=   False
1435         LockLeft        =   ""
1436         LockRight       =   ""
1437         LockTop         =   ""
1438         Mask            =   "###"
1439         Multiline       =   ""
1440         Password        =   ""
1441         ReadOnly        =   ""
1442         Scope           =   0
1443         ScrollbarHorizontal=   ""
1444         ScrollbarVertical=   True
1445         Styled          =   ""
1446         TabIndex        =   19
1447         TabPanelIndex   =   1
1448         TabStop         =   True
1449         Text            =   ""
1450         TextColor       =   &h000000
1451         TextFont        =   "System"
1452         TextSize        =   0
1453         Top             =   153
1454         Underline       =   ""
1455         UseFocusRing    =   True
1456         Visible         =   True
1457         Width           =   32
1458      End
1459      Begin StaticText StaticText_Punch
1460         AutoDeactivate  =   True
1461         Bold            =   ""
1462         DataField       =   ""
1463         DataSource      =   ""
1464         Enabled         =   True
1465         Height          =   20
1466         HelpTag         =   ""
1467         Index           =   -2147483648
1468         InitialParent   =   "TabPanel1"
1469         Italic          =   ""
1470         Left            =   365
1471         LockBottom      =   ""
1472         LockedInPosition=   False
1473         LockLeft        =   ""
1474         LockRight       =   ""
1475         LockTop         =   ""
1476         Multiline       =   ""
1477         Scope           =   0
1478         TabIndex        =   20
1479         TabPanelIndex   =   1
1480         Text            =   "Punch"
1481         TextAlign       =   0
1482         TextColor       =   "&cB8B8B8"
1483         TextFont        =   "System"
1484         TextSize        =   0
1485         Top             =   153
1486         Underline       =   ""
1487         Visible         =   True
1488         Width           =   81
1489      End
1490      Begin PopupMenu PopupMenu_Speed
1491         AutoDeactivate  =   True
1492         Bold            =   ""
1493         DataField       =   ""
1494         DataSource      =   ""
1495         Enabled         =   True
1496         Height          =   20
1497         HelpTag         =   ""
1498         Index           =   -2147483648
1499         InitialParent   =   "TabPanel1"
1500         InitialValue    =   "Slow\r2\r3\r4\rFast\rCustom"
1501         Italic          =   ""
1502         Left            =   209
1503         ListIndex       =   0
1504         LockBottom      =   ""
1505         LockedInPosition=   False
1506         LockLeft        =   ""
1507         LockRight       =   ""
1508         LockTop         =   ""
1509         Scope           =   0
1510         TabIndex        =   21
1511         TabPanelIndex   =   1
1512         TabStop         =   True
1513         TextFont        =   "System"
1514         TextSize        =   0
1515         Top             =   122
1516         Underline       =   ""
1517         Visible         =   True
1518         Width           =   144
1519      End
1520      Begin StaticText StaticText_Speed
1521         AutoDeactivate  =   True
1522         Bold            =   ""
1523         DataField       =   ""
1524         DataSource      =   ""
1525         Enabled         =   True
1526         Height          =   20
1527         HelpTag         =   ""
1528         Index           =   -2147483648
1529         InitialParent   =   "TabPanel1"
1530         Italic          =   ""
1531         Left            =   365
1532         LockBottom      =   ""
1533         LockedInPosition=   False
1534         LockLeft        =   ""
1535         LockRight       =   ""
1536         LockTop         =   ""
1537         Multiline       =   ""
1538         Scope           =   0
1539         TabIndex        =   22
1540         TabPanelIndex   =   1
1541         Text            =   "Speed"
1542         TextAlign       =   0
1543         TextColor       =   "&cB8B8B8"
1544         TextFont        =   "System"
1545         TextSize        =   0
1546         Top             =   122
1547         Underline       =   ""
1548         Visible         =   True
1549         Width           =   100
1550      End
1551      Begin PopupMenu PopupMenu_Gain
1552         AutoDeactivate  =   True
1553         Bold            =   ""
1554         DataField       =   ""
1555         DataSource      =   ""
1556         Enabled         =   True
1557         Height          =   20
1558         HelpTag         =   ""
1559         Index           =   -2147483648
1560         InitialParent   =   "TabPanel1"
1561         InitialValue    =   "Min\rMid\rStrong\rCustom"
1562         Italic          =   ""
1563         Left            =   209
1564         ListIndex       =   0
1565         LockBottom      =   ""
1566         LockedInPosition=   False
1567         LockLeft        =   ""
1568         LockRight       =   ""
1569         LockTop         =   ""
1570         Scope           =   0
1571         TabIndex        =   23
1572         TabPanelIndex   =   1
1573         TabStop         =   True
1574         TextFont        =   "System"
1575         TextSize        =   0
1576         Top             =   90
1577         Underline       =   ""
1578         Visible         =   True
1579         Width           =   144
1580      End
1581      Begin StaticText StaticText_Gain
1582         AutoDeactivate  =   True
1583         Bold            =   ""
1584         DataField       =   ""
1585         DataSource      =   ""
1586         Enabled         =   True
1587         Height          =   20
1588         HelpTag         =   ""
1589         Index           =   -2147483648
1590         InitialParent   =   "TabPanel1"
1591         Italic          =   ""
1592         Left            =   365
1593         LockBottom      =   ""
1594         LockedInPosition=   False
1595         LockLeft        =   ""
1596         LockRight       =   ""
1597         LockTop         =   ""
1598         Multiline       =   ""
1599         Scope           =   0
1600         TabIndex        =   24
1601         TabPanelIndex   =   1
1602         Text            =   "Gain"
1603         TextAlign       =   0
1604         TextColor       =   "&cB8B8B8"
1605         TextFont        =   "System"
1606         TextSize        =   0
1607         Top             =   91
1608         Underline       =   ""
1609         Visible         =   True
1610         Width           =   100
1611      End
1612      Begin StaticText StaticText_CarType
1613         AutoDeactivate  =   True
1614         Bold            =   ""
1615         DataField       =   ""
1616         DataSource      =   ""
1617         Enabled         =   True
1618         Height          =   20
1619         HelpTag         =   ""
1620         Index           =   -2147483648
1621         InitialParent   =   "TabPanel1"
1622         Italic          =   ""
1623         Left            =   365
1624         LockBottom      =   ""
1625         LockedInPosition=   False
1626         LockLeft        =   ""
1627         LockRight       =   ""
1628         LockTop         =   ""
1629         Multiline       =   ""
1630         Scope           =   0
1631         TabIndex        =   25
1632         TabPanelIndex   =   1
1633         Text            =   "Car Type"
1634         TextAlign       =   0
1635         TextColor       =   "&cB8B8B8"
1636         TextFont        =   "System"
1637         TextSize        =   0
1638         Top             =   58
1639         Underline       =   ""
1640         Visible         =   True
1641         Width           =   100
1642      End
1643      Begin PopupMenu PopupMenu_CarType
1644         AutoDeactivate  =   True
1645         Bold            =   ""
1646         DataField       =   ""
1647         DataSource      =   ""
1648         Enabled         =   True
1649         Height          =   20
1650         HelpTag         =   ""
1651         Index           =   -2147483648
1652         InitialParent   =   "TabPanel1"
1653         InitialValue    =   "MR-03\rdNaNo\rASF"
1654         Italic          =   ""
1655         Left            =   209
1656         ListIndex       =   0
1657         LockBottom      =   ""
1658         LockedInPosition=   False
1659         LockLeft        =   ""
1660         LockRight       =   ""
1661         LockTop         =   ""
1662         Scope           =   0
1663         TabIndex        =   26
1664         TabPanelIndex   =   1
1665         TabStop         =   True
1666         TextFont        =   "System"
1667         TextSize        =   0
1668         Top             =   58
1669         Underline       =   ""
1670         Visible         =   True
1671         Width           =   144
1672      End
1673      Begin EditField EditField_Byte12
1674         AcceptTabs      =   ""
1675         Alignment       =   0
1676         AutoDeactivate  =   True
1677         BackColor       =   &hFFFFFF
1678         Bold            =   ""
1679         Border          =   True
1680         DataField       =   ""
1681         DataSource      =   ""
1682         Enabled         =   True
1683         Format          =   ""
1684         Height          =   22
1685         HelpTag         =   ""
1686         Index           =   -2147483648
1687         InitialParent   =   "TabPanel1"
1688         Italic          =   ""
1689         Left            =   380
1690         LimitText       =   0
1691         LockBottom      =   ""
1692         LockedInPosition=   False
1693         LockLeft        =   ""
1694         LockRight       =   ""
1695         LockTop         =   ""
1696         Mask            =   "###"
1697         Multiline       =   ""
1698         Password        =   ""
1699         ReadOnly        =   ""
1700         Scope           =   0
1701         ScrollbarHorizontal=   ""
1702         ScrollbarVertical=   True
1703         Styled          =   ""
1704         TabIndex        =   41
1705         TabPanelIndex   =   2
1706         TabStop         =   True
1707         Text            =   ""
1708         TextColor       =   &h000000
1709         TextFont        =   "System"
1710         TextSize        =   0
1711         Top             =   126
1712         Underline       =   ""
1713         UseFocusRing    =   True
1714         Visible         =   True
1715         Width           =   32
1716      End
1717      Begin EditField EditField_Byte11
1718         AcceptTabs      =   ""
1719         Alignment       =   0
1720         AutoDeactivate  =   True
1721         BackColor       =   &hFFFFFF
1722         Bold            =   ""
1723         Border          =   True
1724         DataField       =   ""
1725         DataSource      =   ""
1726         Enabled         =   True
1727         Format          =   ""
1728         Height          =   22
1729         HelpTag         =   ""
1730         Index           =   -2147483648
1731         InitialParent   =   "TabPanel1"
1732         Italic          =   ""
1733         Left            =   380
1734         LimitText       =   0
1735         LockBottom      =   ""
1736         LockedInPosition=   False
1737         LockLeft        =   ""
1738         LockRight       =   ""
1739         LockTop         =   ""
1740         Mask            =   "###"
1741         Multiline       =   ""
1742         Password        =   ""
1743         ReadOnly        =   ""
1744         Scope           =   0
1745         ScrollbarHorizontal=   ""
1746         ScrollbarVertical=   True
1747         Styled          =   ""
1748         TabIndex        =   42
1749         TabPanelIndex   =   2
1750         TabStop         =   True
1751         Text            =   ""
1752         TextColor       =   &h000000
1753         TextFont        =   "System"
1754         TextSize        =   0
1755         Top             =   92
1756         Underline       =   ""
1757         UseFocusRing    =   True
1758         Visible         =   True
1759         Width           =   32
1760      End
1761      Begin EditField EditField_Byte10
1762         AcceptTabs      =   ""
1763         Alignment       =   0
1764         AutoDeactivate  =   True
1765         BackColor       =   &hFFFFFF
1766         Bold            =   ""
1767         Border          =   True
1768         DataField       =   ""
1769         DataSource      =   ""
1770         Enabled         =   True
1771         Format          =   ""
1772         Height          =   22
1773         HelpTag         =   ""
1774         Index           =   -2147483648
1775         InitialParent   =   "TabPanel1"
1776         Italic          =   ""
1777         Left            =   380
1778         LimitText       =   0
1779         LockBottom      =   ""
1780         LockedInPosition=   False
1781         LockLeft        =   ""
1782         LockRight       =   ""
1783         LockTop         =   ""
1784         Mask            =   "###"
1785         Multiline       =   ""
1786         Password        =   ""
1787         ReadOnly        =   ""
1788         Scope           =   0
1789         ScrollbarHorizontal=   ""
1790         ScrollbarVertical=   True
1791         Styled          =   ""
1792         TabIndex        =   43
1793         TabPanelIndex   =   2
1794         TabStop         =   True
1795         Text            =   ""
1796         TextColor       =   &h000000
1797         TextFont        =   "System"
1798         TextSize        =   0
1799         Top             =   58
1800         Underline       =   ""
1801         UseFocusRing    =   True
1802         Visible         =   True
1803         Width           =   32
1804      End
1805      Begin StaticText StaticText_Byte10
1806         AutoDeactivate  =   True
1807         Bold            =   ""
1808         DataField       =   ""
1809         DataSource      =   ""
1810         Enabled         =   True
1811         Height          =   20
1812         HelpTag         =   ""
1813         Index           =   -2147483648
1814         InitialParent   =   "TabPanel1"
1815         Italic          =   ""
1816         Left            =   426
1817         LockBottom      =   ""
1818         LockedInPosition=   False
1819         LockLeft        =   ""
1820         LockRight       =   ""
1821         LockTop         =   ""
1822         Multiline       =   ""
1823         Scope           =   0
1824         TabIndex        =   44
1825         TabPanelIndex   =   2
1826         Text            =   "Unknown"
1827         TextAlign       =   0
1828         TextColor       =   "&cB8B8B8"
1829         TextFont        =   "System"
1830         TextSize        =   0
1831         Top             =   60
1832         Underline       =   ""
1833         Visible         =   True
1834         Width           =   106
1835      End
1836      Begin StaticText StaticText_Byte11
1837         AutoDeactivate  =   True
1838         Bold            =   ""
1839         DataField       =   ""
1840         DataSource      =   ""
1841         Enabled         =   True
1842         Height          =   20
1843         HelpTag         =   ""
1844         Index           =   -2147483648
1845         InitialParent   =   "TabPanel1"
1846         Italic          =   ""
1847         Left            =   424
1848         LockBottom      =   ""
1849         LockedInPosition=   False
1850         LockLeft        =   ""
1851         LockRight       =   ""
1852         LockTop         =   ""
1853         Multiline       =   ""
1854         Scope           =   0
1855         TabIndex        =   45
1856         TabPanelIndex   =   2
1857         Text            =   "Neutral High"
1858         TextAlign       =   0
1859         TextColor       =   "&cB8B8B8"
1860         TextFont        =   "System"
1861         TextSize        =   0
1862         Top             =   93
1863         Underline       =   ""
1864         Visible         =   True
1865         Width           =   106
1866      End
1867      Begin StaticText StaticText_Byte12
1868         AutoDeactivate  =   True
1869         Bold            =   ""
1870         DataField       =   ""
1871         DataSource      =   ""
1872         Enabled         =   True
1873         Height          =   20
1874         HelpTag         =   ""
1875         Index           =   -2147483648
1876         InitialParent   =   "TabPanel1"
1877         Italic          =   ""
1878         Left            =   424
1879         LockBottom      =   ""
1880         LockedInPosition=   False
1881         LockLeft        =   ""
1882         LockRight       =   ""
1883         LockTop         =   ""
1884         Multiline       =   ""
1885         Scope           =   0
1886         TabIndex        =   46
1887         TabPanelIndex   =   2
1888         Text            =   "Neutral Low"
1889         TextAlign       =   0
1890         TextColor       =   "&cB8B8B8"
1891         TextFont        =   "System"
1892         TextSize        =   0
1893         Top             =   126
1894         Underline       =   ""
1895         Visible         =   True
1896         Width           =   106
1897      End
1898      Begin EditField EditField_Byte18
1899         AcceptTabs      =   ""
1900         Alignment       =   0
1901         AutoDeactivate  =   True
1902         BackColor       =   &hFFFFFF
1903         Bold            =   ""
1904         Border          =   True
1905         DataField       =   ""
1906         DataSource      =   ""
1907         Enabled         =   False
1908         Format          =   ""
1909         Height          =   22
1910         HelpTag         =   ""
1911         Index           =   -2147483648
1912         InitialParent   =   "TabPanel1"
1913         Italic          =   ""
1914         Left            =   380
1915         LimitText       =   0
1916         LockBottom      =   ""
1917         LockedInPosition=   False
1918         LockLeft        =   ""
1919         LockRight       =   ""
1920         LockTop         =   ""
1921         Mask            =   "###"
1922         Multiline       =   ""
1923         Password        =   ""
1924         ReadOnly        =   ""
1925         Scope           =   0
1926         ScrollbarHorizontal=   ""
1927         ScrollbarVertical=   True
1928         Styled          =   ""
1929         TabIndex        =   47
1930         TabPanelIndex   =   2
1931         TabStop         =   True
1932         Text            =   ""
1933         TextColor       =   &h000000
1934         TextFont        =   "System"
1935         TextSize        =   0
1936         Top             =   329
1937         Underline       =   ""
1938         UseFocusRing    =   True
1939         Visible         =   False
1940         Width           =   32
1941      End
1942      Begin EditField EditField_Byte17
1943         AcceptTabs      =   ""
1944         Alignment       =   0
1945         AutoDeactivate  =   True
1946         BackColor       =   &hFFFFFF
1947         Bold            =   ""
1948         Border          =   True
1949         DataField       =   ""
1950         DataSource      =   ""
1951         Enabled         =   True
1952         Format          =   ""
1953         Height          =   22
1954         HelpTag         =   ""
1955         Index           =   -2147483648
1956         InitialParent   =   "TabPanel1"
1957         Italic          =   ""
1958         Left            =   380
1959         LimitText       =   0
1960         LockBottom      =   ""
1961         LockedInPosition=   False
1962         LockLeft        =   ""
1963         LockRight       =   ""
1964         LockTop         =   ""
1965         Mask            =   "###"
1966         Multiline       =   ""
1967         Password        =   ""
1968         ReadOnly        =   ""
1969         Scope           =   0
1970         ScrollbarHorizontal=   ""
1971         ScrollbarVertical=   True
1972         Styled          =   ""
1973         TabIndex        =   48
1974         TabPanelIndex   =   2
1975         TabStop         =   True
1976         Text            =   ""
1977         TextColor       =   &h000000
1978         TextFont        =   "System"
1979         TextSize        =   0
1980         Top             =   295
1981         Underline       =   ""
1982         UseFocusRing    =   True
1983         Visible         =   True
1984         Width           =   32
1985      End
1986      Begin EditField EditField_Byte16
1987         AcceptTabs      =   ""
1988         Alignment       =   0
1989         AutoDeactivate  =   True
1990         BackColor       =   &hFFFFFF
1991         Bold            =   ""
1992         Border          =   True
1993         DataField       =   ""
1994         DataSource      =   ""
1995         Enabled         =   True
1996         Format          =   ""
1997         Height          =   22
1998         HelpTag         =   ""
1999         Index           =   -2147483648
2000         InitialParent   =   "TabPanel1"
2001         Italic          =   ""
2002         Left            =   380
2003         LimitText       =   0
2004         LockBottom      =   ""
2005         LockedInPosition=   False
2006         LockLeft        =   ""
2007         LockRight       =   ""
2008         LockTop         =   ""
2009         Mask            =   "###"
2010         Multiline       =   ""
2011         Password        =   ""
2012         ReadOnly        =   ""
2013         Scope           =   0
2014         ScrollbarHorizontal=   ""
2015         ScrollbarVertical=   True
2016         Styled          =   ""
2017         TabIndex        =   49
2018         TabPanelIndex   =   2
2019         TabStop         =   True
2020         Text            =   ""
2021         TextColor       =   &h000000
2022         TextFont        =   "System"
2023         TextSize        =   0
2024         Top             =   261
2025         Underline       =   ""
2026         UseFocusRing    =   True
2027         Visible         =   True
2028         Width           =   32
2029      End
2030      Begin EditField EditField_Byte15
2031         AcceptTabs      =   ""
2032         Alignment       =   0
2033         AutoDeactivate  =   True
2034         BackColor       =   &hFFFFFF
2035         Bold            =   ""
2036         Border          =   True
2037         DataField       =   ""
2038         DataSource      =   ""
2039         Enabled         =   True
2040         Format          =   ""
2041         Height          =   22
2042         HelpTag         =   ""
2043         Index           =   -2147483648
2044         InitialParent   =   "TabPanel1"
2045         Italic          =   ""
2046         Left            =   380
2047         LimitText       =   0
2048         LockBottom      =   ""
2049         LockedInPosition=   False
2050         LockLeft        =   ""
2051         LockRight       =   ""
2052         LockTop         =   ""
2053         Mask            =   "###"
2054         Multiline       =   ""
2055         Password        =   ""
2056         ReadOnly        =   ""
2057         Scope           =   0
2058         ScrollbarHorizontal=   ""
2059         ScrollbarVertical=   True
2060         Styled          =   ""
2061         TabIndex        =   50
2062         TabPanelIndex   =   2
2063         TabStop         =   True
2064         Text            =   ""
2065         TextColor       =   &h000000
2066         TextFont        =   "System"
2067         TextSize        =   0
2068         Top             =   227
2069         Underline       =   ""
2070         UseFocusRing    =   True
2071         Visible         =   True
2072         Width           =   32
2073      End
2074      Begin EditField EditField_Byte14
2075         AcceptTabs      =   ""
2076         Alignment       =   0
2077         AutoDeactivate  =   True
2078         BackColor       =   &hFFFFFF
2079         Bold            =   ""
2080         Border          =   True
2081         DataField       =   ""
2082         DataSource      =   ""
2083         Enabled         =   True
2084         Format          =   ""
2085         Height          =   22
2086         HelpTag         =   ""
2087         Index           =   -2147483648
2088         InitialParent   =   "TabPanel1"
2089         Italic          =   ""
2090         Left            =   380
2091         LimitText       =   0
2092         LockBottom      =   ""
2093         LockedInPosition=   False
2094         LockLeft        =   ""
2095         LockRight       =   ""
2096         LockTop         =   ""
2097         Mask            =   "###"
2098         Multiline       =   ""
2099         Password        =   ""
2100         ReadOnly        =   ""
2101         Scope           =   0
2102         ScrollbarHorizontal=   ""
2103         ScrollbarVertical=   True
2104         Styled          =   ""
2105         TabIndex        =   51
2106         TabPanelIndex   =   2
2107         TabStop         =   True
2108         Text            =   ""
2109         TextColor       =   &h000000
2110         TextFont        =   "System"
2111         TextSize        =   0
2112         Top             =   193
2113         Underline       =   ""
2114         UseFocusRing    =   True
2115         Visible         =   True
2116         Width           =   32
2117      End
2118      Begin EditField EditField_Byte13
2119         AcceptTabs      =   ""
2120         Alignment       =   0
2121         AutoDeactivate  =   True
2122         BackColor       =   &hFFFFFF
2123         Bold            =   ""
2124         Border          =   True
2125         DataField       =   ""
2126         DataSource      =   ""
2127         Enabled         =   True
2128         Format          =   ""
2129         Height          =   22
2130         HelpTag         =   ""
2131         Index           =   -2147483648
2132         InitialParent   =   "TabPanel1"
2133         Italic          =   ""
2134         Left            =   380
2135         LimitText       =   0
2136         LockBottom      =   ""
2137         LockedInPosition=   False
2138         LockLeft        =   ""
2139         LockRight       =   ""
2140         LockTop         =   ""
2141         Mask            =   "###"
2142         Multiline       =   ""
2143         Password        =   ""
2144         ReadOnly        =   ""
2145         Scope           =   0
2146         ScrollbarHorizontal=   ""
2147         ScrollbarVertical=   True
2148         Styled          =   ""
2149         TabIndex        =   52
2150         TabPanelIndex   =   2
2151         TabStop         =   True
2152         Text            =   ""
2153         TextColor       =   &h000000
2154         TextFont        =   "System"
2155         TextSize        =   0
2156         Top             =   158
2157         Underline       =   ""
2158         UseFocusRing    =   True
2159         Visible         =   True
2160         Width           =   32
2161      End
2162      Begin StaticText StaticText_Byte13
2163         AutoDeactivate  =   True
2164         Bold            =   ""
2165         DataField       =   ""
2166         DataSource      =   ""
2167         Enabled         =   True
2168         Height          =   20
2169         HelpTag         =   ""
2170         Index           =   -2147483648
2171         InitialParent   =   "TabPanel1"
2172         Italic          =   ""
2173         Left            =   424
2174         LockBottom      =   ""
2175         LockedInPosition=   False
2176         LockLeft        =   ""
2177         LockRight       =   ""
2178         LockTop         =   ""
2179         Multiline       =   ""
2180         Scope           =   0
2181         TabIndex        =   53
2182         TabPanelIndex   =   2
2183         Text            =   "Vertical Inertia"
2184         TextAlign       =   0
2185         TextColor       =   "&cB8B8B8"
2186         TextFont        =   "System"
2187         TextSize        =   0
2188         Top             =   160
2189         Underline       =   ""
2190         Visible         =   True
2191         Width           =   106
2192      End
2193      Begin StaticText StaticText_Byte14
2194         AutoDeactivate  =   True
2195         Bold            =   ""
2196         DataField       =   ""
2197         DataSource      =   ""
2198         Enabled         =   True
2199         Height          =   20
2200         HelpTag         =   ""
2201         Index           =   -2147483648
2202         InitialParent   =   "TabPanel1"
2203         Italic          =   ""
2204         Left            =   424
2205         LockBottom      =   ""
2206         LockedInPosition=   False
2207         LockLeft        =   ""
2208         LockRight       =   ""
2209         LockTop         =   ""
2210         Multiline       =   False
2211         Scope           =   0
2212         TabIndex        =   54
2213         TabPanelIndex   =   2
2214         Text            =   "Unknown"
2215         TextAlign       =   0
2216         TextColor       =   "&cB8B8B8"
2217         TextFont        =   "System"
2218         TextSize        =   0
2219         Top             =   194
2220         Underline       =   ""
2221         Visible         =   True
2222         Width           =   106
2223      End
2224      Begin StaticText StaticText_Byte15
2225         AutoDeactivate  =   True
2226         Bold            =   ""
2227         DataField       =   ""
2228         DataSource      =   ""
2229         Enabled         =   True
2230         Height          =   20
2231         HelpTag         =   ""
2232         Index           =   -2147483648
2233         InitialParent   =   "TabPanel1"
2234         Italic          =   ""
2235         Left            =   424
2236         LockBottom      =   ""
2237         LockedInPosition=   False
2238         LockLeft        =   ""
2239         LockRight       =   ""
2240         LockTop         =   ""
2241         Multiline       =   ""
2242         Scope           =   0
2243         TabIndex        =   55
2244         TabPanelIndex   =   2
2245         Text            =   "Back Timing"
2246         TextAlign       =   0
2247         TextColor       =   "&cB8B8B8"
2248         TextFont        =   "System"
2249         TextSize        =   0
2250         Top             =   228
2251         Underline       =   ""
2252         Visible         =   True
2253         Width           =   106
2254      End
2255      Begin StaticText StaticText_Byte16
2256         AutoDeactivate  =   True
2257         Bold            =   ""
2258         DataField       =   ""
2259         DataSource      =   ""
2260         Enabled         =   True
2261         Height          =   20
2262         HelpTag         =   ""
2263         Index           =   -2147483648
2264         InitialParent   =   "TabPanel1"
2265         Italic          =   ""
2266         Left            =   424
2267         LockBottom      =   ""
2268         LockedInPosition=   False
2269         LockLeft        =   ""
2270         LockRight       =   ""
2271         LockTop         =   ""
2272         Multiline       =   ""
2273         Scope           =   0
2274         TabIndex        =   56
2275         TabPanelIndex   =   2
2276         Text            =   "Steering Gain"
2277         TextAlign       =   0
2278         TextColor       =   "&cB8B8B8"
2279         TextFont        =   "System"
2280         TextSize        =   0
2281         Top             =   262
2282         Underline       =   ""
2283         Visible         =   True
2284         Width           =   106
2285      End
2286      Begin StaticText StaticText_Byte17
2287         AutoDeactivate  =   True
2288         Bold            =   ""
2289         DataField       =   ""
2290         DataSource      =   ""
2291         Enabled         =   True
2292         Height          =   20
2293         HelpTag         =   ""
2294         Index           =   -2147483648
2295         InitialParent   =   "TabPanel1"
2296         Italic          =   ""
2297         Left            =   424
2298         LockBottom      =   ""
2299         LockedInPosition=   False
2300         LockLeft        =   ""
2301         LockRight       =   ""
2302         LockTop         =   ""
2303         Multiline       =   ""
2304         Scope           =   0
2305         TabIndex        =   57
2306         TabPanelIndex   =   2
2307         Text            =   "Throttle Gain"
2308         TextAlign       =   0
2309         TextColor       =   "&cB8B8B8"
2310         TextFont        =   "System"
2311         TextSize        =   0
2312         Top             =   296
2313         Underline       =   ""
2314         Visible         =   True
2315         Width           =   106
2316      End
2317      Begin StaticText StaticText_Byte18
2318         AutoDeactivate  =   True
2319         Bold            =   ""
2320         DataField       =   ""
2321         DataSource      =   ""
2322         Enabled         =   True
2323         Height          =   20
2324         HelpTag         =   ""
2325         Index           =   -2147483648
2326         InitialParent   =   "TabPanel1"
2327         Italic          =   ""
2328         Left            =   424
2329         LockBottom      =   ""
2330         LockedInPosition=   False
2331         LockLeft        =   ""
2332         LockRight       =   ""
2333         LockTop         =   ""
2334         Multiline       =   ""
2335         Scope           =   0
2336         TabIndex        =   58
2337         TabPanelIndex   =   2
2338         Text            =   "Checksum"
2339         TextAlign       =   0
2340         TextColor       =   "&cB8B8B8"
2341         TextFont        =   "System"
2342         TextSize        =   0
2343         Top             =   330
2344         Underline       =   ""
2345         Visible         =   False
2346         Width           =   106
2347      End
2348      Begin StaticText StaticText_Warning
2349         AutoDeactivate  =   True
2350         Bold            =   True
2351         DataField       =   ""
2352         DataSource      =   ""
2353         Enabled         =   True
2354         Height          =   36
2355         HelpTag         =   ""
2356         Index           =   -2147483648
2357         InitialParent   =   "TabPanel1"
2358         Italic          =   ""
2359         Left            =   542
2360         LockBottom      =   ""
2361         LockedInPosition=   False
2362         LockLeft        =   ""
2363         LockRight       =   ""
2364         LockTop         =   ""
2365         Multiline       =   ""
2366         Scope           =   0
2367         TabIndex        =   59
2368         TabPanelIndex   =   2
2369         Text            =   "WARNING:"
2370         TextAlign       =   0
2371         TextColor       =   &hFF0000
2372         TextFont        =   "System"
2373         TextSize        =   22
2374         Top             =   57
2375         Underline       =   True
2376         Visible         =   True
2377         Width           =   142
2378      End
2379      Begin StaticText StaticText_WarningMessage
2380         AutoDeactivate  =   True
2381         Bold            =   ""
2382         DataField       =   ""
2383         DataSource      =   ""
2384         Enabled         =   True
2385         Height          =   155
2386         HelpTag         =   ""
2387         Index           =   -2147483648
2388         InitialParent   =   "TabPanel1"
2389         Italic          =   ""
2390         Left            =   542
2391         LockBottom      =   ""
2392         LockedInPosition=   False
2393         LockLeft        =   ""
2394         LockRight       =   ""
2395         LockTop         =   ""
2396         Multiline       =   True
2397         Scope           =   0
2398         TabIndex        =   60
2399         TabPanelIndex   =   2
2400         Text            =   "Each register can have a value between 0 and 255.  Modifying values on this screen can have unpredictable results, do so at your own risk.  "
2401         TextAlign       =   0
2402         TextColor       =   &hFF0000
2403         TextFont        =   "System"
2404         TextSize        =   0
2405         Top             =   93
2406         Underline       =   ""
2407         Visible         =   True
2408         Width           =   150
2409      End
2410   End
2411   Begin ICSSerialPort ICSSerialPort1
2412      Baud            =   8
2413      Bits            =   3
2414      byte01          =   &hFF
2415      carType         =   "MR-03"
2416      CTS             =   ""
2417      DTR             =   ""
2418      Height          =   32
2419      Index           =   -2147483648
2420      Left            =   786
2421      LockedInPosition=   False
2422      mode            =   "read"
2423      Parity          =   0
2424      Scope           =   0
2425      Stop            =   0
2426      TabPanelIndex   =   0
2427      Top             =   -16
2428      Width           =   32
2429      XON             =   ""
2430   End
2431   Begin PushButton PushButton_Default
2432      AutoDeactivate  =   True
2433      Bold            =   ""
2434      Cancel          =   ""
2435      Caption         =   "Default"
2436      Default         =   ""
2437      Enabled         =   True
2438      Height          =   20
2439      HelpTag         =   ""
2440      Index           =   -2147483648
2441      InitialParent   =   ""
2442      Italic          =   ""
2443      Left            =   612
2444      LockBottom      =   True
2445      LockedInPosition=   False
2446      LockLeft        =   ""
2447      LockRight       =   ""
2448      LockTop         =   ""
2449      Scope           =   0
2450      TabIndex        =   44
2451      TabPanelIndex   =   0
2452      TabStop         =   True
2453      TextFont        =   "System"
2454      TextSize        =   0
2455      Top             =   388
2456      Underline       =   ""
2457      Visible         =   True
2458      Width           =   88
2459   End
2460   Begin StaticText StaticText_SerialPort
2461      AutoDeactivate  =   True
2462      Bold            =   ""
2463      DataField       =   ""
2464      DataSource      =   ""
2465      Enabled         =   True
2466      Height          =   20
2467      HelpTag         =   ""
2468      Index           =   -2147483648
2469      InitialParent   =   ""
2470      Italic          =   ""
2471      Left            =   20
2472      LockBottom      =   ""
2473      LockedInPosition=   False
2474      LockLeft        =   ""
2475      LockRight       =   ""
2476      LockTop         =   ""
2477      Multiline       =   ""
2478      Scope           =   0
2479      TabIndex        =   46
2480      TabPanelIndex   =   0
2481      Text            =   "COM Port"
2482      TextAlign       =   0
2483      TextColor       =   "&cB8B8B8"
2484      TextFont        =   "System"
2485      TextSize        =   0
2486      Top             =   58
2487      Underline       =   ""
2488      Visible         =   True
2489      Width           =   100
2490   End
2491   Begin PopupMenu PopupMenu_SerialPort
2492      AutoDeactivate  =   True
2493      Bold            =   ""
2494      DataField       =   ""
2495      DataSource      =   ""
2496      Enabled         =   True
2497      Height          =   20
2498      HelpTag         =   ""
2499      Index           =   -2147483648
2500      InitialParent   =   ""
2501      InitialValue    =   ""
2502      Italic          =   ""
2503      Left            =   20
2504      ListIndex       =   0
2505      LockBottom      =   ""
2506      LockedInPosition=   False
2507      LockLeft        =   ""
2508      LockRight       =   ""
2509      LockTop         =   ""
2510      Scope           =   0
2511      TabIndex        =   47
2512      TabPanelIndex   =   0
2513      TabStop         =   True
2514      TextFont        =   "System"
2515      TextSize        =   0
2516      Top             =   90
2517      Underline       =   ""
2518      Visible         =   True
2519      Width           =   128
2520   End
2521   Begin StaticText StaticText_Version
2522      AutoDeactivate  =   True
2523      Bold            =   ""
2524      DataField       =   ""
2525      DataSource      =   ""
2526      Enabled         =   True
2527      Height          =   20
2528      HelpTag         =   ""
2529      Index           =   -2147483648
2530      InitialParent   =   ""
2531      Italic          =   ""
2532      Left            =   20
2533      LockBottom      =   True
2534      LockedInPosition=   False
2535      LockLeft        =   ""
2536      LockRight       =   ""
2537      LockTop         =   ""
2538      Multiline       =   ""
2539      Scope           =   0
2540      TabIndex        =   48
2541      TabPanelIndex   =   0
2542      Text            =   "Version "
2543      TextAlign       =   0
2544      TextColor       =   "&cB8B8B8"
2545      TextFont        =   "System"
2546      TextSize        =   0
2547      Top             =   388
2548      Underline       =   ""
2549      Visible         =   True
2550      Width           =   100
2551   End
2552   Begin StaticText StaticText_Profiles
2553      AutoDeactivate  =   True
2554      Bold            =   ""
2555      DataField       =   ""
2556      DataSource      =   ""
2557      Enabled         =   True
2558      Height          =   20
2559      HelpTag         =   ""
2560      Index           =   -2147483648
2561      InitialParent   =   ""
2562      Italic          =   ""
2563      Left            =   20
2564      LockBottom      =   ""
2565      LockedInPosition=   False
2566      LockLeft        =   ""
2567      LockRight       =   ""
2568      LockTop         =   ""
2569      Multiline       =   ""
2570      Scope           =   0
2571      TabIndex        =   51
2572      TabPanelIndex   =   0
2573      Text            =   "Profiles"
2574      TextAlign       =   0
2575      TextColor       =   "&cB8B8B8"
2576      TextFont        =   "System"
2577      TextSize        =   0
2578      Top             =   122
2579      Underline       =   ""
2580      Visible         =   True
2581      Width           =   100
2582   End
2583   Begin PopupMenu PopupMenu_Profile
2584      AutoDeactivate  =   True
2585      Bold            =   ""
2586      DataField       =   ""
2587      DataSource      =   ""
2588      Enabled         =   True
2589      Height          =   20
2590      HelpTag         =   ""
2591      Index           =   -2147483648
2592      InitialParent   =   ""
2593      InitialValue    =   ""
2594      Italic          =   ""
2595      Left            =   20
2596      ListIndex       =   0
2597      LockBottom      =   ""
2598      LockedInPosition=   False
2599      LockLeft        =   ""
2600      LockRight       =   ""
2601      LockTop         =   ""
2602      Scope           =   0
2603      TabIndex        =   54
2604      TabPanelIndex   =   0
2605      TabStop         =   True
2606      TextFont        =   "System"
2607      TextSize        =   0
2608      Top             =   154
2609      Underline       =   ""
2610      Visible         =   True
2611      Width           =   128
2612   End
2613   Begin PushButton PushButton_SaveProfile
2614      AutoDeactivate  =   True
2615      Bold            =   ""
2616      Cancel          =   ""
2617      Caption         =   "Save"
2618      Default         =   ""
2619      Enabled         =   False
2620      Height          =   20
2621      HelpTag         =   ""
2622      Index           =   -2147483648
2623      InitialParent   =   ""
2624      Italic          =   ""
2625      Left            =   20
2626      LockBottom      =   ""
2627      LockedInPosition=   False
2628      LockLeft        =   ""
2629      LockRight       =   ""
2630      LockTop         =   ""
2631      Scope           =   0
2632      TabIndex        =   55
2633      TabPanelIndex   =   0
2634      TabStop         =   True
2635      TextFont        =   "System"
2636      TextSize        =   0
2637      Top             =   250
2638      Underline       =   ""
2639      Visible         =   True
2640      Width           =   88
2641   End
2642   Begin PushButton PushButton_Delete
2643      AutoDeactivate  =   True
2644      Bold            =   ""
2645      Cancel          =   ""
2646      Caption         =   "Delete"
2647      Default         =   ""
2648      Enabled         =   False
2649      Height          =   20
2650      HelpTag         =   ""
2651      Index           =   -2147483648
2652      InitialParent   =   ""
2653      Italic          =   ""
2654      Left            =   20
2655      LockBottom      =   ""
2656      LockedInPosition=   False
2657      LockLeft        =   ""
2658      LockRight       =   ""
2659      LockTop         =   ""
2660      Scope           =   0
2661      TabIndex        =   56
2662      TabPanelIndex   =   0
2663      TabStop         =   True
2664      TextFont        =   "System"
2665      TextSize        =   0
2666      Top             =   282
2667      Underline       =   ""
2668      Visible         =   True
2669      Width           =   88
2670   End
2671   Begin PushButton PushButton_Create
2672      AutoDeactivate  =   True
2673      Bold            =   ""
2674      Cancel          =   ""
2675      Caption         =   "Create"
2676      Default         =   ""
2677      Enabled         =   True
2678      Height          =   20
2679      HelpTag         =   ""
2680      Index           =   -2147483648
2681      InitialParent   =   ""
2682      Italic          =   ""
2683      Left            =   20
2684      LockBottom      =   ""
2685      LockedInPosition=   False
2686      LockLeft        =   ""
2687      LockRight       =   ""
2688      LockTop         =   ""
2689      Scope           =   0
2690      TabIndex        =   57
2691      TabPanelIndex   =   0
2692      TabStop         =   True
2693      TextFont        =   "System"
2694      TextSize        =   0
2695      Top             =   186
2696      Underline       =   ""
2697      Visible         =   True
2698      Width           =   88
2699   End
2700   Begin PushButton PushButton_Import
2701      AutoDeactivate  =   True
2702      Bold            =   ""
2703      Cancel          =   ""
2704      Caption         =   "Import"
2705      Default         =   ""
2706      Enabled         =   True
2707      Height          =   20
2708      HelpTag         =   ""
2709      Index           =   -2147483648
2710      InitialParent   =   ""
2711      Italic          =   ""
2712      Left            =   20
2713      LockBottom      =   ""
2714      LockedInPosition=   False
2715      LockLeft        =   ""
2716      LockRight       =   ""
2717      LockTop         =   ""
2718      Scope           =   0
2719      TabIndex        =   58
2720      TabPanelIndex   =   0
2721      TabStop         =   True
2722      TextFont        =   "System"
2723      TextSize        =   0
2724      Top             =   218
2725      Underline       =   ""
2726      Visible         =   True
2727      Width           =   88
2728   End
2729   Begin PushButton PushButton_Export
2730      AutoDeactivate  =   True
2731      Bold            =   ""
2732      Cancel          =   ""
2733      Caption         =   "Export"
2734      Default         =   ""
2735      Enabled         =   False
2736      Height          =   20
2737      HelpTag         =   ""
2738      Index           =   -2147483648
2739      InitialParent   =   ""
2740      Italic          =   ""
2741      Left            =   20
2742      LockBottom      =   ""
2743      LockedInPosition=   False
2744      LockLeft        =   ""
2745      LockRight       =   ""
2746      LockTop         =   ""
2747      Scope           =   0
2748      TabIndex        =   59
2749      TabPanelIndex   =   0
2750      TabStop         =   True
2751      TextFont        =   "System"
2752      TextSize        =   0
2753      Top             =   314
2754      Underline       =   ""
2755      Visible         =   True
2756      Width           =   88
2757   End
2758End
2759#tag EndWindow
2760
2761#tag WindowCode
2762        #tag Event
2763                Sub Open()
2764                  StaticText_Version.Text = "Version " + str(app.NonReleaseVersion/100)
2765                 
2766                  //Set the default car type
2767                  ICSSerialPort1.setCarType("MR-03")
2768                 
2769                  readPreferences()
2770                 
2771                  //Set and open the COM Port
2772                  dim i, count as integer
2773                  count = System.SerialPortCount
2774                 
2775                  for i = 0 to count - 1
2776                    PopupMenu_SerialPort.AddRow( System.SerialPort(i).Name )
2777                  next
2778                 
2779                  if comPort <> "" then
2780                    //We can try opening the com port and set the popup menu to that port
2781                   
2782                    for i = 0 to PopupMenu_SerialPort.ListCount - 1
2783                     
2784                      if PopupMenu_SerialPort.list(i) = comPort then
2785                        //Found a match, set and open
2786                        PopupMenu_SerialPort.ListIndex = i
2787                        ICSSerialPort1.SerialPort = System.SerialPort(i)
2788                       
2789                        if not ICSSerialPort1.Open then
2790                          //Could not open
2791                          MsgBox "Error opening defined com port"
2792                        else
2793                          //Enable buttons
2794                          PushButton_Read.Enabled = True
2795                          PushButton_Write.Enabled = True
2796                          PushButton_Reset.Enabled = True
2797                        end if
2798                        //No need to continue loop
2799                        exit
2800                      end if
2801                     
2802                    next
2803                   
2804                  end if
2805                 
2806                  #if TargetWin32
2807                    //Have to change text colors since Windows does not allow for transparancy of the tab panel
2808                    StaticText_BackTiming.TextColor = &c000000
2809                    StaticText_Byte1.TextColor = &c000000
2810                    StaticText_Byte10.TextColor = &c000000
2811                    StaticText_Byte11.TextColor = &c000000
2812                    StaticText_Byte12.TextColor = &c000000
2813                    StaticText_Byte13.TextColor = &c000000
2814                    StaticText_Byte14.TextColor = &c000000
2815                    StaticText_Byte15.TextColor = &c000000
2816                    StaticText_Byte16.TextColor = &c000000
2817                    StaticText_Byte17.TextColor = &c000000
2818                    StaticText_Byte18.TextColor = &c000000
2819                    StaticText_Byte2.TextColor = &c000000
2820                    StaticText_Byte3.TextColor = &c000000
2821                    StaticText_Byte4.TextColor = &c000000
2822                    StaticText_Byte5.TextColor = &c000000
2823                    StaticText_Byte6.TextColor = &c000000
2824                    StaticText_Byte7.TextColor = &c000000
2825                    StaticText_Byte8.TextColor = &c000000
2826                    StaticText_Byte9.TextColor = &c000000
2827                    StaticText_CarType.TextColor = &c000000
2828                    StaticText_DBand.TextColor = &c000000
2829                    StaticText_DFreq.TextColor = &c000000
2830                    StaticText_Dump.TextColor = &c000000
2831                    StaticText_Gain.TextColor = &c000000
2832                    StaticText_Nuetral.TextColor = &c000000
2833                    //StaticText_Profiles.TextColor = &c000000
2834                    StaticText_Punch.TextColor = &c000000
2835                    //StaticText_SerialPort.TextColor = &c000000
2836                    StaticText_Speed.TextColor = &c000000
2837                    StaticText_STGain.TextColor = &c000000
2838                    StaticText_THGain.TextColor = &c000000
2839                    //StaticText_Version.TextColor = &c000000
2840                    StaticText_VerticalIntertia.TextColor = &c000000
2841                   
2842                  #endif
2843                 
2844                End Sub
2845        #tag EndEvent
2846
2847
2848        #tag Method, Flags = &h21
2849                Private Sub disableControls()
2850                  select case ICSSerialPort1.carType
2851                   
2852                  Case "MR-03"
2853                    //Enable any controls that may have been disabled
2854                    PopupMenu_BackTiming.Enabled = True
2855                    StaticText_BackTiming.Enabled = True
2856                   
2857                    Slider_STGain.Enabled = True
2858                    StaticText_STGain.Enabled = True
2859                    EditField_STGain.Enabled = True
2860                   
2861                    Slider_THGain.Enabled = True
2862                    StaticText_THGain.Enabled = True
2863                    EditField_THGain.Enabled = True
2864                   
2865                  Case "dNaNo"
2866                    //Disable unused controls and set them to custom
2867                    PopupMenu_BackTiming.Enabled = False
2868                    StaticText_BackTiming.Enabled = False
2869                    PopupMenu_BackTiming.ListIndex = PopupMenu_BackTiming.ListCount
2870                   
2871                    //Enable any controls that may have been disabled
2872                    Slider_STGain.Enabled = True
2873                    StaticText_STGain.Enabled = True
2874                    EditField_STGain.Enabled = True
2875                   
2876                    Slider_THGain.Enabled = True
2877                    StaticText_THGain.Enabled = True
2878                    EditField_THGain.Enabled = True
2879                   
2880                  Case "ASF"
2881                    //Disable unused controls and set them to custom
2882                    PopupMenu_BackTiming.Enabled = False
2883                    StaticText_BackTiming.Enabled = False
2884                    PopupMenu_BackTiming.ListIndex = PopupMenu_BackTiming.ListCount
2885                   
2886                    Slider_STGain.Enabled = False
2887                    StaticText_STGain.Enabled = False
2888                    Slider_STGain.Value = 255
2889                    EditField_STGain.Enabled = False
2890                   
2891                    Slider_THGain.Enabled = False
2892                    StaticText_THGain.Enabled = False
2893                    Slider_THGain.Value = 255
2894                    EditField_THGain.Enabled = False
2895                   
2896                  end select
2897                End Sub
2898        #tag EndMethod
2899
2900        #tag Method, Flags = &h21
2901                Private Sub updateCarScreen()
2902                  //Use this method to update the car screen
2903                 
2904                  //Update Gain
2905                  Select Case ICSSerialPort1.byte03
2906                   
2907                  Case chrb(&h32)
2908                    PopupMenu_Gain.ListIndex = 0
2909                   
2910                  Case chrb(&h64)
2911                    PopupMenu_Gain.ListIndex = 1
2912                   
2913                  Case chrb(&hFF)
2914                    PopupMenu_Gain.ListIndex = 2
2915                   
2916                  Else
2917                    PopupMenu_Gain.ListIndex = 3
2918                   
2919                  End Select
2920                 
2921                  //Update Speed
2922                  Select Case ICSSerialPort1.Byte04
2923                   
2924                  Case chrb(&h0A)
2925                    PopupMenu_Speed.ListIndex = 0
2926                   
2927                  Case chrb(&h14)
2928                    PopupMenu_Speed.ListIndex = 1
2929                   
2930                  Case chrb(&h1E)
2931                    PopupMenu_Speed.ListIndex = 2
2932                   
2933                  Case chrb(&h28)
2934                    PopupMenu_Speed.ListIndex = 3
2935                   
2936                  Case chrb(&hFF)
2937                    PopupMenu_Speed.ListIndex = 4
2938                   
2939                  Else
2940                    PopupMenu_Speed.ListIndex = 5
2941                   
2942                  End Select
2943                 
2944                  //Update punch
2945                  Slider_Punch.Value = asc(ICSSerialPort1.Byte05)
2946                  EditField_Punch.Text = str(asc(ICSSerialPort1.Byte05))
2947                 
2948                  //Update DBAND
2949                  Select Case ICSSerialPort1.Byte06
2950                   
2951                  Case chrb(&h01)
2952                    PopupMenu_DBand.ListIndex = 0
2953                   
2954                  Case chrb(&h02)
2955                    PopupMenu_DBand.ListIndex = 1
2956                   
2957                  Case chrb(&h03)
2958                    PopupMenu_DBand.ListIndex = 2
2959                   
2960                  Else
2961                    PopupMenu_DBand.ListIndex = 3
2962                   
2963                  End Select
2964                 
2965                  //Update Dump
2966                  Select Case ICSSerialPort1.Byte07
2967                   
2968                  Case chrb(&h01)
2969                    PopupMenu_Dump.ListIndex = 0
2970                   
2971                  Case chrb(&h02)
2972                    PopupMenu_Dump.ListIndex = 1
2973                   
2974                  Else
2975                    PopupMenu_Dump.ListIndex = 2
2976                   
2977                  End Select
2978                 
2979                  //Update DFREQ
2980                  Select Case ICSSerialPort1.Byte08
2981                   
2982                  Case chrb(&h40)
2983                    PopupMenu_DFreq.ListIndex = 0
2984                   
2985                  Case chrb(&h78)
2986                    PopupMenu_DFreq.ListIndex = 1
2987                   
2988                  Case chrb(&hFF)
2989                    PopupMenu_DFreq.ListIndex = 2
2990                   
2991                  Else
2992                    PopupMenu_DFreq.ListIndex = 3
2993                   
2994                  End Select
2995                 
2996                  //Update Nuetral
2997                  //Nuetral is defined by 2 bytes
2998                  Select Case ICSSerialPort1.Byte11
2999                   
3000                  Case chrb(&h82)
3001                    if ICSSerialPort1.Byte12 = chrb(&h7C) then
3002                      PopupMenu_Nuetral.ListIndex = 0
3003                    else
3004                      PopupMenu_Nuetral.ListIndex = 3
3005                    end if
3006                   
3007                  Case chrb(&h88)
3008                    if ICSSerialPort1.Byte12 = chrb(&h78) then
3009                      PopupMenu_Nuetral.ListIndex = 1
3010                    else
3011                      PopupMenu_Nuetral.ListIndex = 3
3012                    end if
3013                   
3014                  Case chrb(&h94)
3015                    if ICSSerialPort1.Byte12 = chrb(&h6C) then
3016                      PopupMenu_Nuetral.ListIndex = 2
3017                    else
3018                      PopupMenu_Nuetral.ListIndex = 3
3019                    end if
3020                   
3021                  Else
3022                    PopupMenu_Nuetral.ListIndex = 3
3023                   
3024                  End Select
3025                 
3026                  //Update Vertial Intertia
3027                  Select Case ICSSerialPort1.Byte13
3028                   
3029                  Case chrb(&h01)
3030                    PopupMenu_VerticalInteria.ListIndex = 0
3031                   
3032                  Case chrb(&h02)
3033                    PopupMenu_VerticalInteria.ListIndex = 1
3034                   
3035                  Case chrb(&h03)
3036                    PopupMenu_VerticalInteria.ListIndex = 2
3037                   
3038                  Case chrb(&h04)
3039                    PopupMenu_VerticalInteria.ListIndex = 3
3040                   
3041                  Case chrb(&hFF)
3042                    PopupMenu_VerticalInteria.ListIndex = 4
3043                   
3044                  Else
3045                    PopupMenu_VerticalInteria.ListIndex = 5
3046                   
3047                  End Select
3048                 
3049                  //Update Back Timing
3050                  Select Case ICSSerialPort1.Byte15
3051                   
3052                  Case chrb(&h01)
3053                    PopupMenu_BackTiming.ListIndex = 0
3054                   
3055                  Case chrb(&h05)
3056                    PopupMenu_BackTiming.ListIndex = 1
3057                   
3058                  Case chrb(&h0A)
3059                    PopupMenu_BackTiming.ListIndex = 2
3060                   
3061                  Case chrb(&h14)
3062                    PopupMenu_BackTiming.ListIndex = 3
3063                   
3064                  Case chrb(&h28)
3065                    PopupMenu_BackTiming.ListIndex = 4
3066                   
3067                  Else
3068                    PopupMenu_BackTiming.ListIndex = 5
3069                   
3070                  End Select
3071                 
3072                  //Update Steering Gain
3073                  Slider_STGain.Value = asc(ICSSerialPort1.Byte16)
3074                  EditField_STGain.Text = str(asc(ICSSerialPort1.Byte16))
3075                 
3076                  //Update Throttle Gain
3077                  Slider_THGain.Value = asc(ICSSerialPort1.Byte17)
3078                  EditField_THGain.Text = str(asc(ICSSerialPort1.Byte17))
3079                End Sub
3080        #tag EndMethod
3081
3082        #tag Method, Flags = &h21
3083                Private Sub updateAdvancedScreen()
3084                  //Update the fields on the advanced screen to match current values
3085                  EditField_Byte1.Text = str(asc(ICSSerialPort1.byte01))
3086                  EditField_Byte2.Text = str(asc(ICSSerialPort1.byte02))
3087                  EditField_Byte3.Text = str(asc(ICSSerialPort1.byte03))
3088                  EditField_Byte4.Text = str(asc(ICSSerialPort1.byte04))
3089                  EditField_Byte5.Text = str(asc(ICSSerialPort1.byte05))
3090                  EditField_Byte6.Text = str(asc(ICSSerialPort1.byte06))
3091                  EditField_Byte7.Text = str(asc(ICSSerialPort1.byte07))
3092                  EditField_Byte8.Text = str(asc(ICSSerialPort1.byte08))
3093                  EditField_Byte9.Text = str(asc(ICSSerialPort1.byte09))
3094                  EditField_Byte10.Text = str(asc(ICSSerialPort1.byte10))
3095                  EditField_Byte11.Text = str(asc(ICSSerialPort1.byte11))
3096                  EditField_Byte12.Text = str(asc(ICSSerialPort1.byte12))
3097                  EditField_Byte13.Text = str(asc(ICSSerialPort1.byte13))
3098                  EditField_Byte14.Text = str(asc(ICSSerialPort1.byte14))
3099                  EditField_Byte15.Text = str(asc(ICSSerialPort1.byte15))
3100                  EditField_Byte16.Text = str(asc(ICSSerialPort1.byte16))
3101                  EditField_Byte17.Text = str(asc(ICSSerialPort1.byte17))
3102                  EditField_Byte18.Text = str(asc(ICSSerialPort1.byte18))
3103                End Sub
3104        #tag EndMethod
3105
3106        #tag Method, Flags = &h21
3107                Private Sub readPreferences()
3108                  dim filePreference as FolderItem = GetFolderItem("icspref.xml")
3109                  dim xdoc as XmlDocument
3110                  dim root as XmlNode
3111                  dim i as Integer
3112                  dim count as integer
3113                  dim item as string
3114                 
3115                  //Read the settings from the preferences file
3116                  if filePreference <> Nil then
3117                    if filePreference.Exists then
3118                      xdoc = New XmlDocument(filePreference)
3119                     
3120                      count = xdoc.DocumentElement.ChildCount
3121                     
3122                      for i = 0 to count - 1
3123                        root = xdoc.DocumentElement.Child(i)
3124                       
3125                        item = root.FirstChild.Value
3126                       
3127                        select case root.Name
3128                        case "comPort"
3129                          comPort = item
3130                        end select
3131                      next
3132                    end if
3133                  end if
3134                 
3135                 
3136                End Sub
3137        #tag EndMethod
3138
3139        #tag Method, Flags = &h21
3140                Private Sub savePreferences()
3141                  dim xml as XmlDocument
3142                  dim root as XMLNode
3143                  dim comPortXML as XmlNode
3144                  dim f as FolderItem
3145                 
3146                  //Save the preferences
3147                 
3148                  f = GetFolderItem("icspref.xml")
3149                 
3150                  if f <> Nil then
3151                    //Create a new XML document
3152                    xml = New XmlDocument
3153                    root = xml.AppendChild(xml.CreateElement("icspref"))
3154                   
3155                    //Add elements
3156                    comPortXML = root.AppendChild(xml.CreateElement("comPort"))
3157                    comPortXML.AppendChild(xml.CreateTextNode(comPort))
3158                   
3159                    //Save the output
3160                    xml.SaveXml(f)
3161                  end if
3162                 
3163                End Sub
3164        #tag EndMethod
3165
3166
3167        #tag Property, Flags = &h0
3168                comPort As string
3169        #tag EndProperty
3170
3171
3172        #tag Constant, Name = defaultControlHeight, Type = Double, Dynamic = False, Default = \"20", Scope = Public
3173                #Tag Instance, Platform = Mac OS, Language = Default, Definition  = \"20"
3174                #Tag Instance, Platform = Windows, Language = Default, Definition  = \"22"
3175                #Tag Instance, Platform = Linux, Language = Default, Definition  = \"24"
3176        #tag EndConstant
3177
3178
3179#tag EndWindowCode
3180
3181#tag Events PushButton_Read
3182        #tag Event
3183                Sub Action()
3184                  ICSSerialPort1.readCar
3185                End Sub
3186        #tag EndEvent
3187#tag EndEvents
3188#tag Events PushButton_Write
3189        #tag Event
3190                Sub Action()
3191                  ICSSerialPort1.writeCar
3192                End Sub
3193        #tag EndEvent
3194#tag EndEvents
3195#tag Events PushButton_Reset
3196        #tag Event
3197                Sub Action()
3198                  ICSSerialPort1.resetCar
3199                End Sub
3200        #tag EndEvent
3201#tag EndEvents
3202#tag Events TabPanel1
3203        #tag Event
3204                Sub Change()
3205                  updateAdvancedScreen
3206                  updateCarScreen
3207                End Sub
3208        #tag EndEvent
3209#tag EndEvents
3210#tag Events EditField_Byte9
3211        #tag Event
3212                Sub TextChange()
3213                  //Make sure we have a valid value if not then set it to something
3214                  if me.Text <> "" then
3215                    if val(me.Text) > 255 or val(me.Text) < 0 then
3216                      me.Text = "255"
3217                    end if
3218                  end if
3219                 
3220                  dim d as double
3221                  dim i as integer
3222                  d = val(me.Text)
3223                  i = d
3224                  ICSSerialPort1.Byte09 = chrb(i)
3225                End Sub
3226        #tag EndEvent
3227#tag EndEvents
3228#tag Events EditField_Byte8
3229        #tag Event
3230                Sub TextChange()
3231                  //Make sure we have a valid value if not then set it to something
3232                  if me.Text <> "" then
3233                    if val(me.Text) > 255 or val(me.Text) < 0 then
3234                      me.Text = "255"
3235                    end if
3236                  end if
3237                 
3238                  dim d as double
3239                  dim i as integer
3240                  d = val(me.Text)
3241                  i = d
3242                  ICSSerialPort1.Byte08 = chrb(i)
3243                End Sub
3244        #tag EndEvent
3245#tag EndEvents
3246#tag Events EditField_Byte7
3247        #tag Event
3248                Sub TextChange()
3249                  //Make sure we have a valid value if not then set it to something
3250                  if me.Text <> "" then
3251                    if val(me.Text) > 255 or val(me.Text) < 0 then
3252                      me.Text = "255"
3253                    end if
3254                  end if
3255                 
3256                  dim d as double
3257                  dim i as integer
3258                  d = val(me.Text)
3259                  i = d
3260                  ICSSerialPort1.Byte07 = chrb(i)
3261                End Sub
3262        #tag EndEvent
3263#tag EndEvents
3264#tag Events EditField_Byte6
3265        #tag Event
3266                Sub TextChange()
3267                  //Make sure we have a valid value if not then set it to something
3268                  if me.Text <> "" then
3269                    if val(me.Text) > 255 or val(me.Text) < 0 then
3270                      me.Text = "255"
3271                    end if
3272                  end if
3273                 
3274                  dim d as double
3275                  dim i as integer
3276                  d = val(me.Text)
3277                  i = d
3278                  ICSSerialPort1.Byte06 = chrb(i)
3279                End Sub
3280        #tag EndEvent
3281#tag EndEvents
3282#tag Events EditField_Byte5
3283        #tag Event
3284                Sub TextChange()
3285                  //Make sure we have a valid value if not then set it to something
3286                  if me.Text <> "" then
3287                    if val(me.Text) > 255 or val(me.Text) < 0 then
3288                      me.Text = "255"
3289                    end if
3290                  end if
3291                 
3292                  dim d as double
3293                  dim i as integer
3294                  d = val(me.Text)
3295                  i = d
3296                  ICSSerialPort1.Byte05 = chrb(i)
3297                End Sub
3298        #tag EndEvent
3299#tag EndEvents
3300#tag Events EditField_Byte4
3301        #tag Event
3302                Sub TextChange()
3303                  //Make sure we have a valid value if not then set it to something
3304                  if me.Text <> "" then
3305                    if val(me.Text) > 255 or val(me.Text) < 0 then
3306                      me.Text = "255"
3307                    end if
3308                  end if
3309                 
3310                  dim d as double
3311                  dim i as integer
3312                  d = val(me.Text)
3313                  i = d
3314                  ICSSerialPort1.Byte04 = chrb(i)
3315                End Sub
3316        #tag EndEvent
3317#tag EndEvents
3318#tag Events EditField_Byte3
3319        #tag Event
3320                Sub TextChange()
3321                  //Make sure we have a valid value if not then set it to something
3322                  if me.Text <> "" then
3323                    if val(me.Text) > 255 or val(me.Text) < 0 then
3324                      me.Text = "255"
3325                    end if
3326                  end if
3327                 
3328                  dim d as double
3329                  dim i as integer
3330                  d = val(me.Text)
3331                  i = d
3332                  ICSSerialPort1.Byte03 = chrb(i)
3333                End Sub
3334        #tag EndEvent
3335#tag EndEvents
3336#tag Events Slider_THGain
3337        #tag Event
3338                Sub ValueChanged()
3339                  ICSSerialPort1.Byte17 = chrb(me.Value)
3340                  //Check to see if we need to update the edit field
3341                  //This prevents the edit field from triggering this event that then updates the edit field again
3342                  //Causing the cursor to move to the begginning of the editfield
3343                  if EditField_THGain.Text <> str(me.Value) then
3344                    EditField_THGain.Text = str(me.Value)
3345                  end if
3346                 
3347                 
3348                End Sub
3349        #tag EndEvent
3350#tag EndEvents
3351#tag Events EditField_THGain
3352        #tag Event
3353                Sub TextChange()
3354                  //Make sure we have a valid value if not then set it to something
3355                  if me.Text <> "" then
3356                    if val(me.Text) > 255 or val(me.Text) < 1 then
3357                      me.Text = "255"
3358                    end if
3359                  end if
3360                 
3361                  dim d as double
3362                  dim i as integer
3363                  d = val(me.Text)
3364                  i = d
3365                  ICSSerialPort1.Byte17 = chrb(i)
3366                 
3367                  Slider_THGain.Value = val(me.Text)
3368                End Sub
3369        #tag EndEvent
3370#tag EndEvents
3371#tag Events Slider_STGain
3372        #tag Event
3373                Sub ValueChanged()
3374                  ICSSerialPort1.Byte16 = chrb(me.Value)
3375                  //Check to see if we need to update the edit field
3376                  //This prevents the edit field from triggering this event that then updates the edit field again
3377                  //Causing the cursor to move to the begginning of the editfield
3378                  if EditField_STGain.Text <> str(me.Value) then
3379                    EditField_STGain.Text = str(me.Value)
3380                  end if
3381                End Sub
3382        #tag EndEvent
3383#tag EndEvents
3384#tag Events EditField_STGain
3385        #tag Event
3386                Sub TextChange()
3387                  //Make sure we have a valid value if not then set it to something
3388                  if me.Text <> "" then
3389                    if val(me.Text) > 255 or val(me.Text) < 1 then
3390                      me.Text = "255"
3391                    end if
3392                  end if
3393                 
3394                  dim d as double
3395                  dim i as integer
3396                  d = val(me.Text)
3397                  i = d
3398                  ICSSerialPort1.Byte16 = chrb(i)
3399                 
3400                  Slider_STGain.Value = val(me.Text)
3401                 
3402                 
3403                End Sub
3404        #tag EndEvent
3405#tag EndEvents
3406#tag Events PopupMenu_BackTiming
3407        #tag Event
3408                Sub Change()
3409                  Select Case me.ListIndex
3410                   
3411                  Case 0
3412                    ICSSerialPort1.Byte15 = chrb(&h01)
3413                  Case 1
3414                    ICSSerialPort1.Byte15 = chrb(&h05)
3415                  Case 2
3416                    ICSSerialPort1.Byte15 = chrb(&h0A)
3417                  Case 3
3418                    ICSSerialPort1.Byte15 = chrb(&h14)
3419                  Case 4
3420                    ICSSerialPort1.Byte15 = chrb(&h28)
3421                  Case 5
3422                   
3423                  End Select
3424                End Sub
3425        #tag EndEvent
3426#tag EndEvents
3427#tag Events PopupMenu_VerticalInteria
3428        #tag Event
3429                Sub Change()
3430                  Select Case me.ListIndex
3431                   
3432                  Case 0
3433                    ICSSerialPort1.Byte13 = chrb(&h01)
3434                  Case 1
3435                    ICSSerialPort1.Byte13 = chrb(&h02)
3436                  Case 2
3437                    ICSSerialPort1.Byte13 = chrb(&h03)
3438                  Case 3
3439                    ICSSerialPort1.Byte13 = chrb(&h04)
3440                  Case 4
3441                    ICSSerialPort1.Byte13 = chrb(&hFF)
3442                  Case 5
3443                   
3444                  End Select
3445                End Sub
3446        #tag EndEvent
3447#tag EndEvents
3448#tag Events PopupMenu_Nuetral
3449        #tag Event
3450                Sub Change()
3451                  Select Case me.ListIndex
3452                   
3453                  Case 0
3454                    ICSSerialPort1.Byte11 = chrb(&h82)
3455                    ICSSerialPort1.Byte12 = chrb(&h7C)
3456                   
3457                  Case 1
3458                    ICSSerialPort1.Byte11 = chrb(&h88)
3459                    ICSSerialPort1.Byte12 = chrb(&h78)
3460                   
3461                  Case 2
3462                    ICSSerialPort1.Byte11 = chrb(&h94)
3463                    ICSSerialPort1.Byte12 = chrb(&h6C)
3464                   
3465                  Case 3
3466                   
3467                  End Select
3468                End Sub
3469        #tag EndEvent
3470#tag EndEvents
3471#tag Events PopupMenu_DFreq
3472        #tag Event
3473                Sub Change()
3474                  Select Case me.ListIndex
3475                   
3476                  Case 0
3477                    ICSSerialPort1.Byte08 = chrb(&h40)
3478                  Case 1
3479                    ICSSerialPort1.Byte08 = chrb(&h78)
3480                  Case 2
3481                    ICSSerialPort1.Byte08 = chrb(&hFF)
3482                  Case 3
3483                   
3484                  End Select
3485                End Sub
3486        #tag EndEvent
3487#tag EndEvents
3488#tag Events PopupMenu_Dump
3489        #tag Event
3490                Sub Change()
3491                  Select Case me.ListIndex
3492                   
3493                  Case 0
3494                    ICSSerialPort1.Byte07 = chrb(&h01)
3495                  Case 1
3496                    ICSSerialPort1.Byte07 = chrb(&h02)
3497                  Case 2
3498                   
3499                  End Select
3500                End Sub
3501        #tag EndEvent
3502#tag EndEvents
3503#tag Events PopupMenu_DBand
3504        #tag Event
3505                Sub Change()
3506                  Select Case me.ListIndex
3507                   
3508                  Case 0
3509                    ICSSerialPort1.Byte06 = chrb(&h01)
3510                  Case 1
3511                    ICSSerialPort1.Byte06 = chrb(&h02)
3512                  Case 2
3513                    ICSSerialPort1.Byte06 = chrb(&h03)
3514                  Case 3
3515                   
3516                  End Select
3517                End Sub
3518        #tag EndEvent
3519#tag EndEvents
3520#tag Events Slider_Punch
3521        #tag Event
3522                Sub ValueChanged()
3523                  ICSSerialPort1.Byte05 = chrb(me.Value)
3524                  //Check to see if we need to update the edit field
3525                  //This prevents the edit field from triggering this event that then updates the edit field again
3526                  //Causing the cursor to move to the begginning of the editfield
3527                  if EditField_Punch.Text <> str(me.Value) then
3528                    EditField_Punch.Text = str(me.Value)
3529                  end if
3530                 
3531                 
3532                End Sub
3533        #tag EndEvent
3534#tag EndEvents
3535#tag Events EditField_Punch
3536        #tag Event
3537                Sub TextChange()
3538                  //Make sure we have a valid value if not then set it to something
3539                  if me.Text <> "" then
3540                    if val(me.Text) > 255 or val(me.Text) < 1 then
3541                      me.Text = "255"
3542                    end if
3543                  end if
3544                 
3545                  dim d as double
3546                  dim i as integer
3547                  d = val(me.Text)
3548                  i = d
3549                  ICSSerialPort1.Byte05 = chrb(i)
3550                 
3551                  Slider_Punch.Value = val(me.Text)
3552                End Sub
3553        #tag EndEvent
3554#tag EndEvents
3555#tag Events PopupMenu_Speed
3556        #tag Event
3557                Sub Change()
3558                  Select Case me.ListIndex
3559                   
3560                  Case 0
3561                    ICSSerialPort1.Byte04 = chrb(&h0A)
3562                  Case 1
3563                    ICSSerialPort1.Byte04 = chrb(&h14)
3564                  Case 2
3565                    ICSSerialPort1.Byte04 = chrb(&h1E)
3566                  Case 3
3567                    ICSSerialPort1.Byte04 = chrb(&h28)
3568                  Case 4
3569                    ICSSerialPort1.Byte04 = chrb(&hFF)
3570                  Case 5
3571                   
3572                  End Select
3573                End Sub
3574        #tag EndEvent
3575#tag EndEvents
3576#tag Events PopupMenu_Gain
3577        #tag Event
3578                Sub Change()
3579                  Select Case me.ListIndex
3580                   
3581                  case 0
3582                    ICSSerialPort1.Byte03 = chrb(&h32)
3583                   
3584                  case 1
3585                    ICSSerialPort1.Byte03 = chrb(&h64)
3586                   
3587                  case 2
3588                    ICSSerialPort1.Byte03 = chrb(&hFF)
3589                   
3590                  case 3
3591                   
3592                  End Select
3593                 
3594                End Sub
3595        #tag EndEvent
3596#tag EndEvents
3597#tag Events PopupMenu_CarType
3598        #tag Event
3599                Sub Change()
3600                  ICSSerialPort1.setCarType(me.Text)
3601                  ICSSerialPort1.setDefaultValues
3602                  disableControls
3603                 
3604                End Sub
3605        #tag EndEvent
3606#tag EndEvents
3607#tag Events EditField_Byte12
3608        #tag Event
3609                Sub TextChange()
3610                  //Make sure we have a valid value if not then set it to something
3611                  if me.Text <> "" then
3612                    if val(me.Text) > 255 or val(me.Text) < 0 then
3613                      me.Text = "255"
3614                    end if
3615                  end if
3616                 
3617                  dim d as double
3618                  dim i as integer
3619                  d = val(me.Text)
3620                  i = d
3621                  ICSSerialPort1.Byte12 = chrb(i)
3622                End Sub
3623        #tag EndEvent
3624#tag EndEvents
3625#tag Events EditField_Byte11
3626        #tag Event
3627                Sub TextChange()
3628                  //Make sure we have a valid value if not then set it to something
3629                  if me.Text <> "" then
3630                    if val(me.Text) > 255 or val(me.Text) < 0 then
3631                      me.Text = "255"
3632                    end if
3633                  end if
3634                 
3635                  dim d as double
3636                  dim i as integer
3637                  d = val(me.Text)
3638                  i = d
3639                  ICSSerialPort1.Byte11 = chrb(i)
3640                End Sub
3641        #tag EndEvent
3642#tag EndEvents
3643#tag Events EditField_Byte10
3644        #tag Event
3645                Sub TextChange()
3646                  //Make sure we have a valid value if not then set it to something
3647                  if me.Text <> "" then
3648                    if val(me.Text) > 255 or val(me.Text) < 0 then
3649                      me.Text = "255"
3650                    end if
3651                  end if
3652                 
3653                  dim d as double
3654                  dim i as integer
3655                  d = val(me.Text)
3656                  i = d
3657                  ICSSerialPort1.Byte10 = chrb(i)
3658                End Sub
3659        #tag EndEvent
3660#tag EndEvents
3661#tag Events EditField_Byte17
3662        #tag Event
3663                Sub TextChange()
3664                  //Make sure we have a valid value if not then set it to something
3665                  if me.Text <> "" then
3666                    if val(me.Text) > 255 or val(me.Text) < 0 then
3667                      me.Text = "255"
3668                    end if
3669                  end if
3670                 
3671                  dim d as double
3672                  dim i as integer
3673                  d = val(me.Text)
3674                  i = d
3675                  ICSSerialPort1.Byte17 = chrb(i)
3676                End Sub
3677        #tag EndEvent
3678#tag EndEvents
3679#tag Events EditField_Byte16
3680        #tag Event
3681                Sub TextChange()
3682                  //Make sure we have a valid value if not then set it to something
3683                  if me.Text <> "" then
3684                    if val(me.Text) > 255 or val(me.Text) < 0 then
3685                      me.Text = "255"
3686                    end if
3687                  end if
3688                 
3689                  dim d as double
3690                  dim i as integer
3691                  d = val(me.Text)
3692                  i = d
3693                  ICSSerialPort1.Byte16 = chrb(i)
3694                End Sub
3695        #tag EndEvent
3696#tag EndEvents
3697#tag Events EditField_Byte15
3698        #tag Event
3699                Sub TextChange()
3700                  //Make sure we have a valid value if not then set it to something
3701                  if me.Text <> "" then
3702                    if val(me.Text) > 255 or val(me.Text) < 0 then
3703                      me.Text = "255"
3704                    end if
3705                  end if
3706                 
3707                  dim d as double
3708                  dim i as integer
3709                  d = val(me.Text)
3710                  i = d
3711                  ICSSerialPort1.Byte15 = chrb(i)
3712                End Sub
3713        #tag EndEvent
3714#tag EndEvents
3715#tag Events EditField_Byte14
3716        #tag Event
3717                Sub TextChange()
3718                  //Make sure we have a valid value if not then set it to something
3719                  if me.Text <> "" then
3720                    if val(me.Text) > 255 or val(me.Text) < 0 then
3721                      me.Text = "255"
3722                    end if
3723                  end if
3724                 
3725                  dim d as double
3726                  dim i as integer
3727                  d = val(me.Text)
3728                  i = d
3729                  ICSSerialPort1.Byte14 = chrb(i)
3730                End Sub
3731        #tag EndEvent
3732#tag EndEvents
3733#tag Events EditField_Byte13
3734        #tag Event
3735                Sub TextChange()
3736                  //Make sure we have a valid value if not then set it to something
3737                  if me.Text <> "" then
3738                    if val(me.Text) > 255 or val(me.Text) < 0 then
3739                      me.Text = "255"
3740                    end if
3741                  end if
3742                 
3743                  dim d as double
3744                  dim i as integer
3745                  d = val(me.Text)
3746                  i = d
3747                  ICSSerialPort1.Byte13 = chrb(i)
3748                End Sub
3749        #tag EndEvent
3750#tag EndEvents
3751#tag Events ICSSerialPort1
3752        #tag Event
3753                Sub valuesChanged()
3754                  //Update the screens with the new values
3755                  updateAdvancedScreen
3756                  updateCarScreen
3757                End Sub
3758        #tag EndEvent
3759        #tag Event
3760                Sub profileImported(profileName as string)
3761                  PopupMenu_Profile.AddRow(profileName)
3762                 
3763                  //Make sure to switch to the new profile
3764                  PopupMenu_Profile.ListIndex = PopupMenu_Profile.ListCount
3765                 
3766                  //Update the screens with the new values
3767                  updateAdvancedScreen
3768                  updateCarScreen
3769                End Sub
3770        #tag EndEvent
3771#tag EndEvents
3772#tag Events PushButton_Default
3773        #tag Event
3774                Sub Action()
3775                  ICSSerialPort1.setDefaultValues
3776                End Sub
3777        #tag EndEvent
3778#tag EndEvents
3779#tag Events PopupMenu_SerialPort
3780        #tag Event
3781                Sub Change()
3782                  //Set and open the COM Port
3783                  dim i, count as integer
3784                  count = System.SerialPortCount
3785                 
3786                  if comPort <> "" then
3787                    //We can try opening the com port and set the popup menu to that port
3788                   
3789                    for i = 0 to PopupMenu_SerialPort.ListCount - 1
3790                     
3791                      if PopupMenu_SerialPort.list(i) = me.Text then
3792                        //Found a match, set and open
3793                        ICSSerialPort1.SerialPort = System.SerialPort(i)
3794                        ICSSerialPort1.Close
3795                       
3796                       
3797                        if not ICSSerialPort1.Open then
3798                          //Could not open
3799                          MsgBox "Error opening defined com port"
3800                          //Disable buttons
3801                          PushButton_Read.Enabled = False
3802                          PushButton_Write.Enabled = False
3803                          PushButton_Reset.Enabled = False
3804                        else
3805                          //Enable buttons
3806                          PushButton_Read.Enabled = True
3807                          PushButton_Write.Enabled = True
3808                          PushButton_Reset.Enabled = True
3809                         
3810                        end if
3811                        //Save and exit
3812                        comPort = me.Text
3813                        savePreferences
3814                        exit
3815                      end if
3816                     
3817                    next
3818                   
3819                  end if
3820                End Sub
3821        #tag EndEvent
3822#tag EndEvents
3823#tag Events PopupMenu_Profile
3824        #tag Event
3825                Sub Change()
3826                  if me.Text <> "" then
3827                    PushButton_SaveProfile.Enabled = true
3828                    PushButton_Delete.Enabled = true
3829                    PushButton_Export.Enabled = true
3830                    ICSSerialPort1.loadProfile(me.Text)
3831                  end if
3832                End Sub
3833        #tag EndEvent
3834        #tag Event
3835                Sub Open()
3836                  dim s() as string
3837                 
3838                  s = ICSSerialPort1.listProfiles
3839                 
3840                  if UBound(s) > -1 then
3841                    for each element as string in s
3842                      me.AddRow(element)
3843                    next
3844                  end if
3845                End Sub
3846        #tag EndEvent
3847#tag EndEvents
3848#tag Events PushButton_SaveProfile
3849        #tag Event
3850                Sub Action()
3851                  if PopupMenu_Profile.Text <> "" then
3852                    ICSSerialPort1.saveProfile(PopupMenu_Profile.Text)
3853                  end if
3854                End Sub
3855        #tag EndEvent
3856#tag EndEvents
3857#tag Events PushButton_Delete
3858        #tag Event
3859                Sub Action()
3860                  if PopupMenu_Profile.Text <> "" then
3861                    ICSSerialPort1.deleteProfile(PopupMenu_Profile.Text)
3862                   
3863                    PopupMenu_Profile.RemoveRow(PopupMenu_Profile.ListIndex)
3864                   
3865                    //Make sure to hide the save and delete profile buttons since no profile will be selected after this has been deleted
3866                    PushButton_SaveProfile.Enabled = False
3867                    PushButton_Delete.Enabled = False
3868                    PushButton_Export.Enabled = False
3869                   
3870                  end if
3871                End Sub
3872        #tag EndEvent
3873#tag EndEvents
3874#tag Events PushButton_Create
3875        #tag Event
3876                Sub Action()
3877                  dim tempProfWindow as new createProfile
3878                  tempProfWindow.Show
3879                End Sub
3880        #tag EndEvent
3881#tag EndEvents
3882#tag Events PushButton_Import
3883        #tag Event
3884                Sub Action()
3885                  dim success as Boolean
3886                 
3887                  success = ICSSerialPort1.importProfile
3888                 
3889                  if success = false then
3890                    MsgBox "Error importing profile"
3891                  end if
3892                End Sub
3893        #tag EndEvent
3894#tag EndEvents
3895#tag Events PushButton_Export
3896        #tag Event
3897                Sub Action()
3898                  if PopupMenu_Profile.Text <> "" then
3899                    ICSSerialPort1.exportProfile(PopupMenu_Profile.Text)
3900                  end if
3901                End Sub
3902        #tag EndEvent
3903#tag EndEvents
Note: See TracBrowser for help on using the repository browser.