*       *********************************************************
*       *                                                         
*       * 17/02/2020              HO.MPR                08:30:51  
*       *                                                         
*       *********************************************************
*       *                                                         
*       * Author's Name                                           
*       *                                                         
*       * Copyright (c) 2020 Company Name                         
*       * Address                                                 
*       * City,     Zip                                           
*       *                                                         
*       * Description:                                            
*       * This program was automatically generated by GENMENU.    
*       *                                                         
*       *********************************************************


*       *********************************************************
*       *                                                         
*       *                      Menu Definition                    
*       *                                                         
*       *********************************************************
*

SET SYSMENU TO

SET SYSMENU AUTOMATIC

DEFINE PAD _5p80i8yqf OF _MSYSMENU PROMPT "\<1. ข้อมูล" COLOR SCHEME 3 ;
	SKIP FOR Wborder() .Or.  !FrmMaster  .Or. !CfRepExpD2
DEFINE PAD _5p80i8yqg OF _MSYSMENU PROMPT "\<2. เครื่องมือ" COLOR SCHEME 3
DEFINE PAD _5p80i8yqh OF _MSYSMENU PROMPT "\<3. ระบบ SC." COLOR SCHEME 3 ;
	SKIP FOR Wborder() .Or. !FrmRoomSc
DEFINE PAD _5p80i8yqi OF _MSYSMENU PROMPT "\<4. ออก" COLOR SCHEME 3
ON PAD _5p80i8yqf OF _MSYSMENU ACTIVATE POPUP _5o90spzsm
ON PAD _5p80i8yqg OF _MSYSMENU ACTIVATE POPUP _5o70nkml6
ON PAD _5p80i8yqh OF _MSYSMENU ACTIVATE POPUP _5o70nkml7
ON SELECTION PAD _5p80i8yqi OF _MSYSMENU ;
	DO _5p80i8yqj ;
	IN LOCFILE("BDPOS\HO" ,"MPX;MPR|FXP;PRG" ,"Where is HO?")

DEFINE POPUP _5o90spzsm MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF _5o90spzsm PROMPT "1.\<1 ปรับปรุงแบบด่วน"
DEFINE BAR 2 OF _5o90spzsm PROMPT "\-"
DEFINE BAR 3 OF _5o90spzsm PROMPT "1.\<2 พิมพ์ใบเสร็จซ้ำ"
DEFINE BAR 4 OF _5o90spzsm PROMPT "1.\<3 พิมพ์ใบปิดกะซ้ำ"
DEFINE BAR 5 OF _5o90spzsm PROMPT "\-"
DEFINE BAR 6 OF _5o90spzsm PROMPT "1.\<4 ออก"
ON SELECTION BAR 1 OF _5o90spzsm Do HoEasyDT In Ho2Prg2
ON SELECTION BAR 3 OF _5o90spzsm Do HoPrnDup In HoPrn.Prg
ON SELECTION BAR 4 OF _5o90spzsm Do HoEodDup In UtilHo3
ON SELECTION BAR 6 OF _5o90spzsm ;
	DO _5p80i8yqk ;
	IN LOCFILE("BDPOS\HO" ,"MPX;MPR|FXP;PRG" ,"Where is HO?")

DEFINE POPUP _5o70nkml6 MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF _5o70nkml6 PROMPT "2.\<1 เลขที่เอกสาร"
DEFINE BAR 2 OF _5o70nkml6 PROMPT "2.\<2 ลบบิลบางบิล"
DEFINE BAR 3 OF _5o70nkml6 PROMPT "2.\<3 ล้างรายการทั้งหมด"
ON SELECTION BAR 1 OF _5o70nkml6 Do HoDocno In Ho2Prg
ON SELECTION BAR 2 OF _5o70nkml6 Do DelHoBL In Ho4EOT
ON SELECTION BAR 3 OF _5o70nkml6 Do HoClear In Ho4EOT

DEFINE POPUP _5o70nkml7 MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF _5o70nkml7 PROMPT "3.\<1 กำหนด-กลุ่มผู้ใช้งาน"
DEFINE BAR 2 OF _5o70nkml7 PROMPT "3.\<2 กำหนด-ผู้ใช้งาน"
DEFINE BAR 3 OF _5o70nkml7 PROMPT "3.\<3 รหัสผ่าน-เข้าหัวข้อ"
DEFINE BAR 4 OF _5o70nkml7 PROMPT "3.\<4 ติดตั้ง ระบบ SC."
ON SELECTION BAR 1 OF _5o70nkml7 Do HscuSpec In HoScuPrg.Prg
ON SELECTION BAR 2 OF _5o70nkml7 Do HScuProg In HoScuPrg.Prg
ON SELECTION BAR 3 OF _5o70nkml7 Do CrSc4menu With HoDataDir,'B'  In \Pos\Security\Prog\Sc4Menu
ON SELECTION BAR 4 OF _5o70nkml7 Do HscuInit In Ho2Prg2.Prg


*       *********************************************************
*       *                                                         
*       * _5P80I8YQJ  ON SELECTION PAD                            
*       *                                                         
*       * Procedure Origin:                                       
*       *                                                         
*       * From Menu:  HO.MPR,            Record:   22             
*       * Called By:  ON SELECTION PAD                            
*       * Prompt:     4. ออก                                      
*       * Snippet:    1                                           
*       *                                                         
*       *********************************************************
*
PROCEDURE _5p80i8yqj
Close Data
m.PExitProgHotel=.F.



*       *********************************************************
*       *                                                         
*       * _5P80I8YQK  ON SELECTION BAR 6 OF POPUP _5o90spzsm      
*       *                                                         
*       * Procedure Origin:                                       
*       *                                                         
*       * From Menu:  HO.MPR,            Record:   10             
*       * Called By:  ON SELECTION BAR 6 OF POPUP _5o90spzsm      
*       * Prompt:     1.4 ออก                                     
*       * Snippet:    2                                           
*       *                                                         
*       *********************************************************
*
PROCEDURE _5p80i8yqk
Close Data
m.PExitProgHotel=.F.

