Hello,
I'm working on my First Dialog Box and want to make sure I'm headed in the right direction. From the Documentation I have read, the ID Numbers are numbered 0-999 and so I numbered mine in order. Is this correct and also is there a good Style Number to begin playing with. I want all my Test selections to run in the Background and keep the Dialog Box on the Screen. One last thing. I want a small Box to store a Count of say the number of Lines in a File. Any suggestions are welcome.
Heres what I have so far.
Thanks
dialogbox 0 8 20 656 359 3 "VERSION 1.0"
groupbox 1 12 28 260 308 "TOOL SELECTION"
radiogroup 2 Var
radiobutton 3 19 55 96 12 "&OPEN TIP AND RINGS"
radiobutton 4 19 70 89 12 "&BUSY LINES"
radiobutton 5 19 85 102 12 "&LINE BUSY REVERSALS"
radiobutton 6 19 100 106 12 "&TIP AND/OR RING SHORTS"
radiobutton 7 19 115 100 12 "&HIGH VOLTAGE"
radiobutton 8 19 130 102 12 "&REVERSALS"
radiobutton 9 19 145 98 12 "&CROSSED TIP AND/OR RINGS"
radiobutton 10 19 160 122 12 "&GROUND START MISMATCHES"
radiobutton 11 19 175 158 12 "&ACCESS ( NO TEST TRUNK OLD / NEW )"
radiobutton 12 19 190 120 12 "&NEVER BEEN TESTED"
radiobutton 13 19 205 122 12 "&SOFTWARE TRANSLATIONS"
radiobutton 14 19 220 146 12 "&KNOWN TROUBLES ( EXCLUDE LIST )"
radiobutton 15 19 235 116 12 "&INTEGRATED SLC-96 FAMILY"
radiobutton 16 19 250 118 12 "&FILE BACKUP GENERATOR"
radiobutton 17 19 265 112 12 "&PURGE FILE HEADER"
radiobutton 18 19 280 113 12 "&MAKE FOMS TN INPUT FILE"
radiobutton 19 19 295 108 12 "&VIEW A FILE"
endgroup
dirlistbox 20 282 50 190 59 FnameVar1 SINGLE SelectVar1
text 21 282 34 186 11 "SOURCE FILE SELECTION" center
pushbutton 22 332 325 82 14 "START" OK
pushbutton 23 587 325 40 13 "EXIT" OK
pushbutton 24 579 4 58 13 "HELP"
text 25 288 191 49 9 "COUNT" center
enddialog
I'm working on my First Dialog Box and want to make sure I'm headed in the right direction. From the Documentation I have read, the ID Numbers are numbered 0-999 and so I numbered mine in order. Is this correct and also is there a good Style Number to begin playing with. I want all my Test selections to run in the Background and keep the Dialog Box on the Screen. One last thing. I want a small Box to store a Count of say the number of Lines in a File. Any suggestions are welcome.
Heres what I have so far.
Thanks
dialogbox 0 8 20 656 359 3 "VERSION 1.0"
groupbox 1 12 28 260 308 "TOOL SELECTION"
radiogroup 2 Var
radiobutton 3 19 55 96 12 "&OPEN TIP AND RINGS"
radiobutton 4 19 70 89 12 "&BUSY LINES"
radiobutton 5 19 85 102 12 "&LINE BUSY REVERSALS"
radiobutton 6 19 100 106 12 "&TIP AND/OR RING SHORTS"
radiobutton 7 19 115 100 12 "&HIGH VOLTAGE"
radiobutton 8 19 130 102 12 "&REVERSALS"
radiobutton 9 19 145 98 12 "&CROSSED TIP AND/OR RINGS"
radiobutton 10 19 160 122 12 "&GROUND START MISMATCHES"
radiobutton 11 19 175 158 12 "&ACCESS ( NO TEST TRUNK OLD / NEW )"
radiobutton 12 19 190 120 12 "&NEVER BEEN TESTED"
radiobutton 13 19 205 122 12 "&SOFTWARE TRANSLATIONS"
radiobutton 14 19 220 146 12 "&KNOWN TROUBLES ( EXCLUDE LIST )"
radiobutton 15 19 235 116 12 "&INTEGRATED SLC-96 FAMILY"
radiobutton 16 19 250 118 12 "&FILE BACKUP GENERATOR"
radiobutton 17 19 265 112 12 "&PURGE FILE HEADER"
radiobutton 18 19 280 113 12 "&MAKE FOMS TN INPUT FILE"
radiobutton 19 19 295 108 12 "&VIEW A FILE"
endgroup
dirlistbox 20 282 50 190 59 FnameVar1 SINGLE SelectVar1
text 21 282 34 186 11 "SOURCE FILE SELECTION" center
pushbutton 22 332 325 82 14 "START" OK
pushbutton 23 587 325 40 13 "EXIT" OK
pushbutton 24 579 4 58 13 "HELP"
text 25 288 191 49 9 "COUNT" center
enddialog