*--------------------------------------------------------------------------------------------------------------------------------------------------------
* (EN) AUTOGENERATED - ATTENTION!! - NOT INTENDED FOR EXECUTION!! USE ONLY FOR MERGING CHANGES AND STORING WITH SCM TOOLS!!
*--------------------------------------------------------------------------------------------------------------------------------------------------------
*< FOXBIN2PRG: Version="1.21" SourceFile="roaauto.mnx" CPID="1252" /> (Solo para binarios VFP 9 / Only for VFP 9 binaries)
*
*<MenuType>1</MenuType>
*<MenuLocation>REPLACE</MenuLocation>

*<MenuCode>
DEFINE MENU _MSYSMENU BAR
DEFINE PAD _000000001 OF _MSYSMENU PROMPT "\<Utile" COLOR SCHEME 3

ON PAD _000000001 OF _MSYSMENU ACTIVATE POPUP Utile

	*----------------------------------
	DEFINE POPUP Utile MARGIN RELATIVE SHADOW COLOR SCHEME 4
	DEFINE BAR 1 OF Utile PROMPT "\<Calculator"
	ON SELECTION BAR 1 OF Utile DO BAR_1_OF_Utile_FB2P

	DEFINE BAR 2 OF Utile PROMPT "\<Notepad"
	ON SELECTION BAR 2 OF Utile DO BAR_2_OF_Utile_FB2P

	DEFINE BAR 3 OF Utile PROMPT "\-"
	ON BAR 3 OF Utile ACTIVATE POPUP _3vq0lspgc

		*----------------------------------
		DEFINE POPUP _3vq0lspgc MARGIN RELATIVE SHADOW COLOR SCHEME 4
	DEFINE BAR 4 OF Utile PROMPT "\<Iesire" ;
		KEY F2, "F2" ;
		MESSAGE 'Iesire din program'
	ON SELECTION BAR 4 OF Utile DO BAR_4_OF_Utile_FB2P

DEFINE PAD _000000002 OF _MSYSMENU PROMPT "\<Editare" COLOR SCHEME 3

ON PAD _000000002 OF _MSYSMENU ACTIVATE POPUP Editare

	*----------------------------------
	DEFINE POPUP Editare MARGIN RELATIVE SHADOW COLOR SCHEME 4
	DEFINE BAR _med_undo OF Editare PROMPT "\<Anuleaza" ;
		KEY CTRL+Z, "CTRL+Z" ;
		MESSAGE 'Anuleaza ultima comanda de editare.'

	DEFINE BAR _med_redo OF Editare PROMPT "\<Refa" ;
		KEY CTRL+R, "CTRL+R" ;
		MESSAGE 'Repeta ultima comanda anulata.'

	DEFINE BAR 3 OF Editare PROMPT "\-"
	ON BAR 3 OF Editare ACTIVATE POPUP _3vq0m1ceq

		*----------------------------------
		DEFINE POPUP _3vq0m1ceq MARGIN RELATIVE SHADOW COLOR SCHEME 4
	DEFINE BAR _med_cut OF Editare PROMPT "\<Taie si retine" ;
		KEY CTRL+X, "CTRL+X"

	DEFINE BAR _med_copy OF Editare PROMPT "\<Copiaza" ;
		KEY CTRL+C, "CTRL+C" ;
		MESSAGE 'Copiaza in memorie textul  selectat.'

	DEFINE BAR _med_paste OF Editare PROMPT "Re\<da" ;
		KEY CTRL+V, "CTRL+V" ;
		MESSAGE 'Reda din memorie textul retinut cu comanda <Copiaza>.'

DEFINE PAD _000000003 OF _MSYSMENU PROMPT "\<Configurare" COLOR SCHEME 3

ON PAD _000000003 OF _MSYSMENU ACTIVATE POPUP Configurar

	*----------------------------------
	DEFINE POPUP Configurar MARGIN RELATIVE SHADOW COLOR SCHEME 4
	DEFINE BAR 1 OF Configurar PROMPT "\<Rapoarte utilizator"
	ON BAR 1 OF Configurar ACTIVATE POPUP Rapoarteut

		*----------------------------------
		DEFINE POPUP Rapoarteut MARGIN RELATIVE SHADOW COLOR SCHEME 4
		DEFINE BAR 1 OF Rapoarteut PROMPT "\<Generare raport"
		ON SELECTION BAR 1 OF Rapoarteut DO BAR_1_OF_Rapoarteut_FB2P

		DEFINE BAR 2 OF Rapoarteut PROMPT "\<Modificare raport"
		ON SELECTION BAR 2 OF Rapoarteut DO BAR_2_OF_Rapoarteut_FB2P

		DEFINE BAR 3 OF Rapoarteut PROMPT "\<Setari imprimanta"
		ON SELECTION BAR 3 OF Rapoarteut DO BAR_3_OF_Rapoarteut_FB2P

DEFINE PAD _000000004 OF _MSYSMENU PROMPT "A\<jutor" COLOR SCHEME 3

ON PAD _000000004 OF _MSYSMENU ACTIVATE POPUP Ajutor

	*----------------------------------
	DEFINE POPUP Ajutor MARGIN RELATIVE SHADOW COLOR SCHEME 4
	DEFINE BAR 1 OF Ajutor PROMPT "\<Instructiuni de utilizare"
	ON SELECTION BAR 1 OF Ajutor DO BAR_1_OF_Ajutor_FB2P

	DEFINE BAR 2 OF Ajutor PROMPT "\-"
	ON BAR 2 OF Ajutor ACTIVATE POPUP _3vq0m4jf5

		*----------------------------------
		DEFINE POPUP _3vq0m4jf5 MARGIN RELATIVE SHADOW COLOR SCHEME 4
	DEFINE BAR 3 OF Ajutor PROMPT "\<Jurnal modificari"
	ON SELECTION BAR 3 OF Ajutor DO BAR_3_OF_Ajutor_FB2P

	DEFINE BAR 4 OF Ajutor PROMPT "\<Despre program"
	ON SELECTION BAR 4 OF Ajutor DO BAR_4_OF_Ajutor_FB2P

*</MenuCode>

*<Procedures>
PROCEDURE BAR_1_OF_Utile_FB2P
	Do apeleaza_calc In oproceduri_comune.prg
ENDPROC && BAR_1_OF_Utile_FB2P

PROCEDURE BAR_2_OF_Utile_FB2P
	Do apeleaza_notepad In oproceduri_comune.prg
ENDPROC && BAR_2_OF_Utile_FB2P

PROCEDURE BAR_4_OF_Utile_FB2P
	Quit
ENDPROC && BAR_4_OF_Utile_FB2P

PROCEDURE BAR_1_OF_Rapoarteut_FB2P
	do UserReport2File IN PROCEDURI_RAPOARTE.PRG
ENDPROC && BAR_1_OF_Rapoarteut_FB2P

PROCEDURE BAR_2_OF_Rapoarteut_FB2P
	DO MODIFICA_RAPORT_UTILIZATOR IN PROCEDURI_RAPOARTE.PRG
ENDPROC && BAR_2_OF_Rapoarteut_FB2P

PROCEDURE BAR_3_OF_Rapoarteut_FB2P
	sys(1037)
ENDPROC && BAR_3_OF_Rapoarteut_FB2P

PROCEDURE BAR_1_OF_Ajutor_FB2P
	Do arata_manual In oproceduri_comune.prg
ENDPROC && BAR_1_OF_Ajutor_FB2P

PROCEDURE BAR_3_OF_Ajutor_FB2P
	DO arata_modificari IN oproceduri_comune.prg
ENDPROC && BAR_3_OF_Ajutor_FB2P

PROCEDURE BAR_4_OF_Ajutor_FB2P
	DO arata_versiune IN oproceduri_comune.prg
ENDPROC && BAR_4_OF_Ajutor_FB2P

*</Procedures>
