nomainwin
WindowWidth = DisplayWidth : WindowHeight = DisplayHeight
BackgroundColor$ = "cyan"
Button #student.btn6, "Get Student", [getStudentFile], UL, 100,50
Button #student.btn7, "Save Student", [saveStudent], UL, 220,50
Button #student.btn8, "Delete Student", [studentDelete], UL, 350,50
statictext #student.statictext1, "Last Name", 30, 120, 85, 20
textbox #student.lname, 20, 140, 140, 25
statictext #student.statictext2, "First Name", 180, 120, 99, 20
textbox #student.fname, 180, 140, 140, 25
statictext #student.statictext4, "Initial", 345, 120, 70, 20
textbox #student.initial, 340, 140, 40, 25
Stylebits #student.initial, _ES_UPPERCASE, 0, 0, 0
statictext #student.statictext5, "Gender", 395, 120, 60, 20
textbox #student.gender, 400, 140, 30, 25
Stylebits #student.gender, _ES_UPPERCASE, 0, 0, 0
statictext #student.statictext6, "Date of Birth", 470, 100, 60, 40
textbox #student.dob, 460, 140, 60, 25
Stylebits #student.dob, _ES_NUMBER, 0, 0, 0
statictext #student.statictext7, "Spec Needs", 555, 100, 60, 40
textbox #student.special, 550, 140, 70, 25
statictext #student.statictext1, "Address", 30, 190, 85, 20
textbox #student.address, 20, 210, 220, 25
statictext #student.statictext2, "City", 270, 190, 99, 20
textbox #student.city, 260, 210, 140, 25
statictext #student.statictext2, "State", 420, 190, 50, 20
textbox #student.state, 420, 210, 30, 25
Stylebits #student.state, _ES_UPPERCASE, 0, 0, 0
statictext #student.statictext3, "Zip Code", 470, 190, 95, 20
textbox #student.zip, 470, 210, 60, 25
Stylebits #student.zip, _ES_NUMBER, 0, 0, 0
statictext #student.statictext7, "Phone", 560, 190, 60, 20
textbox #student.phone, 550, 210, 90, 25
Stylebits #student.phone, _ES_NUMBER, 0, 0, 0
open "Student File Maintenance" for window as #student
#student, "font ms_sans_serif 10"
#student, "trapclose [studentEnd]"
wait
[studentEnd]
close #student
end