|
|
|
|
Functions Quit และ Draw By Mr.Kissada Phomin 44074714 Quit(option) Quit immediately exits the file. What happens next depends on the option you select. 0 = (Default) Quits Authorware and displays the Program Manager (Windows 3.1), Desktop (Windows 95, 98, NT 4.0, and Windows 2000), or Finder (Macintosh). If the Authorware file that quits was called by a jump from another Authorware file, Authorware now returns to the other file. 1 = Quits Authorware and displays the Program Manager (Windows 3.1), Desktop (Windows 95, 98, NT 4.0, and Windows 2000), or Finder (Macintosh). 2 = Restarts Windows (Windows 95, 98, NT 4.0 and Windows 2000) exits to DOS (Windows 3.1), or restarts the computer (Macintosh). 3 = Shuts down Windows (Windows 95, 98, NT 4.0, and Windows 2000), quits Authorware and displays the Program Manager (Windows 3.1), or shuts down the computer (Macintosh). Use Quit only in calculation icons. Note: When the Authorware Web Player is running a piece in nontrusting mode, it disables Quit(2), Quit(3), QuitRestart(2), and QuitRestart(3). การทำงานของคำสั่ง Quit Quit (ตัวเลือก) Quit เป็นคำสั่งที่ออกจากไฟล์โดยทันที สิ่งที่จะเกิดขึ้นอยู่ที่การเลือก ดังนี้ 0 = (การเพิกเฉย) หยุดการทำงานของ Authorware และไปสู่ Program Manager (ใน Windows 3.1) Desktop (Windows 95, 98, NT 4.0, and Windows 2000), หรือ Finder (ใน Macintosh) ถ้า โปรแกรม Authorware ที่หยุดการทำงานแล้ว ถูกเรียกมาอีก โดยปุ่มลัดจาก โปรแกรม Authorware ใหม่ ก็จะกลับไปยังไฟล์เดิม 1 = หยุดการทำงานของ Authorware และแสดง Program Manager (ใน Windows 3.1) Desktop (Windows 95, 98, NT 4.0, and Windows 2000), หรือ Finder (ใน Macintosh) 2 = เริ่มการทำงานของ Windows อีกครั้ง (Windows 95, 98, NT 4.0 and Windows 2000) ออกจาก DOS (Windows 3.1) หรือเริ่มการทำงานของคอมพิวเตอร์ใหม่ (ใน Macintosh) 3 = ปิด Windows (ใน Windows 95, 98, NT 4.0 and Windows 2000) หยุดการทำงานของ Authorware และแสดง Program Manager (ใน Windows 3.1) หรือ ปิดคอมพิวเตอร์ (ใน Macintosh) ใช้คำสั่ง Quit ในไอคอน การคำนวณ ข้อสังเกต เมื่อ Authorware Web Player กำลังทำงานใน nontrusting mode มันไม่สามารถจะเข้าคำสั่ง Quit (2) , Quit(3), QuitRestart(2), and QuitRestart(3) ได้ ฟังก์ชั่น Quit ( ) เป็นฟังก์ชั่นสำหรับกำหนดให้โปรแกรม Authorware หยุดการทำงาน คำสั่ง Quit ( ) จะเป็นคำสั่งที่เป็นประโยชน์อย่างมาก เนื่องจากเป็นคำสั่งที่สามารถให้โปรแกรม Authorware ยุติการทำงาน คือปิดวินโดวส์การใช้งานเหมือนโปรแกรมอื่นๆทั่วไป โดยคุณสามารถเลือกให้ทำงานแตกต่างกันได้ดังนี้Quit ( 0 ) - Quit to Program Manager or return to file if jumped Quit ( 1 ) - Quit to Program Manager Quit ( 2 ) - Quit to DOS ตัวเลขที่ให้ไว้ในวงเล็บเป็นตัวบอกกรรมวิธีของการออกจากโปรแกรม โดยให้ 0 ออกไปสู่สภาพความพร้อมของคอมพิวเตอร์ หรือให้กลับไปยังไฟล์เดิม และ 1 เป็นการออกโดยกลับไป ออกไปทำงานต่อใน Program Manager และสุดท้ายคือ 2 ให้ออกไปสู่ระบบการทำงานของ DOSFunctions DrawBox หน้าที่การทำงานของเครื่องมือ
DrawBox ( pensize [ x1, y2 ,x2 , y2 ] ) DrawBox allows the user to draw a box ( with frame width specified by pensize ) by clicking and dragging. Include values for x1 , y2 , x2 , y2 if you want to constrain the users drawing area in the presentation window. The frame is black and the fill transparent unless you change them with the Set Frame and Set Fill functions. Setting pensize to -1 draws a solid black box. Use DrawBox only in calculation icons.Note : This function works only while the user holds the mouse button down. DrawBox ( pensize [ x1, y2 ,x2 , y2 ] ) DrawBox ช่วยให้ผู้ใช้ วาดภาพกล่อง (มีกรอบขนาดกว้างตามขนาดกำหนดของปากกา) ใช้โดยการคลิกและลาก มีขนาดตั้งแต่ x1, y2 ,x2 ,y2 ถ้าต้องการกำหนดบริเวณพื้นที่ของการวาดในหน้าต่างการนำเสนอ กรอบจะดำและพื้นที่จะโปร่งใส ถ้าไม่เปลี่ยนที่ Set Frame และ Set Fill การกำหนดขนาดปากกาไปที่ 1 จะเกิดภาพกล่องสีดำเข้มหนา DrawBox ใช้ใน icon การคำนวณเท่านั้น ข้อสังเกต : Function จะทำงานเมื่อผู้ใช้ mouse เลื่อนปุ่มลงเท่านั้น
DrawCircle (pensize [, x1 , y1 , x2 , y2 ] ) DrawCircle allows the user to draw an oval ( with a frame width specified by pensize ) by clicking and dragging. Include x1 , x2 , y1 , y2 coordinates if you want to contain the users drawing area. The frame is black and the fill transparent unless you change them with the Set Frame and Set Fill functions. Setting pensize to 1 draws a solid black circle. Use DrawCircle only in calculation icons. Note : This function works only while the user holds the mouse button down. Functions DrawCircle หน้าที่การทำงานของเครื่องมือ
DrawCircle (pensize [, x1 , y1 , x2 , y2 ] ) DrawCircle allows the user to draw an oval ( with a frame width specified by pensize ) by clicking and dragging. Include x1 , x2 , y1 , y2 coordinates if you want to contain the users drawing area. The frame is black and the fill transparent unless you change them with the Set Frame and Set Fill functions. Setting pensize to 1 draws a solid black circle. Use DrawCircle only in calculation icons. Note : This function works only while the user holds the mouse button down. DrawCircle (pensize [, x1 , y1 , x2 , y2 ] ) DrawCircle ช่วยให้ผู้ใช้วาดภาพวงรี ( กรอบมีขนาดตามปากกา ) โดยการคลิกและลากขนาดวงรีมีตั้งแต่ x1, y2 , x2 , y2 ถ้าต้องการกำหนดบริเวณพื้นที่ในการวาดภาพ กรอบของภาพจะดำและเนื้อที่จะโปร่งใส ถ้าคุณไม่เปลี่ยนที่ Set Frame และ Set Fill การกำหนดขนาด ปากกาไปที่ 1 จะเกิดวงดำหนา ใช้ Draw Circle ในเนื้อที่การคำนวณเท่านั้น ข้อสังเกต : ระบบจะทำงานเมื่อผู้ใช้จับปุ่ม mouse เลื่อนลงเท่านั้น DrawLine (pensize [, x1 , y1 , x2 , y2 ] ) DrawLine allows the user to draw a line (with line width specified by pensize ) by clicking and dragging. Include x1 , y1 , x2 , y2 coordinates if you want to constrain the users drawing area. The line is black unless you change the color with the SetFame function. Use DrawLine only in calculation icons.Note : This function works only while the user holds the mouse button down.
Functions DrawLine หน้าที่การทำงานของเครื่องมือ DrawLine (pensize [, x1 , y1 , x2 , y2 ] ) DrawLine allows the user to draw a line (with line width specified by pensize ) by clicking and dragging. Include x1 , y1 , x2 , y2 coordinates if you want to constrain the users drawing area. The line is black unless you change the color with the SetFame function. Use DrawLine only in calculation icons.Note : This function works only while the user holds the mouse button down. DrawLine (pensize [, x1 , y1 , x2 , y2 ] ) ช่วยให้ผู้ใช้วาดเส้น ( ขนาดกว้างตามปากกากำหนด ) โดยคลิกและลาก mouse ขนาดคือ x1, y2 ,x2 , y2 ถ้าคุณต้องการกำหนดบริเวณเนื้อที่เส้นจะดำ ถ้าคุณไม่เปลี่ยนสีที่ Set Frame การกำหนดปากกาไปที่ 1 จะเกิดเส้นสีดำโดยไม่เกี่ยวข้องกับ SetFrame : ใช้ DrawLine เฉพาะพื้นที่การคำนวณ ข้อสังเกต : ระบบจะทำงานเมื่อผู้ใช้จับปุ่ม mouse เลื่อนลง โดย นายกฤษฎา พรหมอินทร์ รหัส 44074714
|
|
|