⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gyaxis_98.idlg

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 IDLG
📖 第 1 页 / 共 3 页
字号:
	}
	call gaction gyaxis.tx_tlng.show
	call gaction gyaxis.ed_tlng.show
	call gaction gyaxis.tx_tpos.show
	call gaction gyaxis.cb_tpos.show
	call gaction gyaxis.ck_grid.show
	call gaction gyaxis.ck_gclr.show
	if gyaxis.ck_gclr {
		call gaction gyaxis.cl_gclr.show
	}
	call gaction gyaxis.tx_pat.show
	call gaction gyaxis.cb_pat.show
	call gaction gyaxis.tx_tkmode.setlabel "Major tick options"
END

SCRIPT gymajor_hide
BEGIN
	gyaxis.tx_rule.hide
	gyaxis.ed_rule.hide
	gyaxis.bt_rule.hide
	gyaxis.tx_cstm.hide
	gyaxis.ed_cstm.hide
	gyaxis.bt_cstm.hide
	gyaxis.tx_notk.hide
	gyaxis.cb_notk.hide
	gyaxis.tx_nolab.hide
	gyaxis.cb_nolab.hide
	gyaxis.ck_vlab.hide
	gyaxis.ck_altr.hide
	gyaxis.tx_fmt.hide
	gyaxis.ed_fmt.hide
	gyaxis.bt_fmt.hide
	gyaxis.tx_ang.hide
	gyaxis.cb_ang.hide
	gyaxis.tx_lgap.hide
	gyaxis.ed_lgap.hide
	gyaxis.tx_lsize.hide
	gyaxis.cb_lsize.hide
	gyaxis.ck_tlclr.hide
	gyaxis.cl_tlclr.hide
	gyaxis.tx_tlng.hide
	gyaxis.ed_tlng.hide
	gyaxis.tx_tpos.hide
	gyaxis.cb_tpos.hide
	gyaxis.ck_grid.hide
	gyaxis.ck_gclr.hide
	gyaxis.cl_gclr.hide
	gyaxis.tx_pat.hide
	gyaxis.cb_pat.hide
END

PROGRAM gyminor_show
BEGIN
	call gaction gyaxis.tx_mrule.show
	call gaction gyaxis.ed_mrule.show
	call gaction gyaxis.bt_mrule.show
	call gaction gyaxis.tx_mcstm.show
	call gaction gyaxis.ed_mcstm.show
	call gaction gyaxis.bt_mcstm.show
	call gaction gyaxis.tx_mnotk.show
	call gaction gyaxis.cb_mnotk.show
	call gaction gyaxis.tx_mnolab.show
	call gaction gyaxis.cb_mnolab.show
	call gaction gyaxis.ck_mvlab.show
	call gaction gyaxis.ck_maltr.show
	call gaction gyaxis.tx_mfmt.show
	call gaction gyaxis.ed_mfmt.show
	call gaction gyaxis.bt_mfmt.show
	call gaction gyaxis.tx_mang.show
	call gaction gyaxis.cb_mang.show
	call gaction gyaxis.tx_mlgap.show
	call gaction gyaxis.ed_mlgap.show
	call gaction gyaxis.tx_mlsize.show
	call gaction gyaxis.cb_mlsize.show
	call gaction gyaxis.ck_mtlclr.show
	if gyaxis.ck_mtlclr {
		call gaction gyaxis.cl_mtlclr.show
	}
	call gaction gyaxis.tx_mtlng.show
	call gaction gyaxis.ed_mtlng.show
	call gaction gyaxis.tx_mtpos.show
	call gaction gyaxis.cb_mtpos.show
	call gaction gyaxis.ck_mgrid.show
	call gaction gyaxis.ck_mgclr.show
	if gyaxis.ck_mgclr {
		call gaction gyaxis.cl_mgclr.show
	}
	call gaction gyaxis.tx_mpat.show
	call gaction gyaxis.cb_mpat.show
	call gaction gyaxis.tx_tkmode.setlabel "Minor tick options"
END

SCRIPT gyminor_hide
BEGIN
	gyaxis.tx_mrule.hide
	gyaxis.ed_mrule.hide
	gyaxis.bt_mrule.hide
	gyaxis.tx_mcstm.hide
	gyaxis.ed_mcstm.hide
	gyaxis.bt_mcstm.hide
	gyaxis.tx_mnotk.hide
	gyaxis.cb_mnotk.hide
	gyaxis.tx_mnolab.hide
	gyaxis.cb_mnolab.hide
	gyaxis.ck_mvlab.hide
	gyaxis.ck_maltr.hide
	gyaxis.tx_mfmt.hide
	gyaxis.ed_mfmt.hide
	gyaxis.bt_mfmt.hide
	gyaxis.tx_mang.hide
	gyaxis.cb_mang.hide
	gyaxis.tx_mlgap.hide
	gyaxis.ed_mlgap.hide
	gyaxis.tx_mlsize.hide
	gyaxis.cb_mlsize.hide
	gyaxis.ck_mtlclr.hide
	gyaxis.cl_mtlclr.hide
	gyaxis.tx_mtlng.hide
	gyaxis.ed_mtlng.hide
	gyaxis.tx_mtpos.hide
	gyaxis.cb_mtpos.hide
	gyaxis.ck_mgrid.hide
	gyaxis.ck_mgclr.hide
	gyaxis.cl_mgclr.hide
	gyaxis.tx_mpat.hide
	gyaxis.cb_mpat.hide
END

PROGRAM gylines_show
BEGIN
	call gaction gyaxis.tx_lline.show
	call gaction gyaxis.ed_lline.show
	call gaction gyaxis.ck_llclr.show
	if gyaxis.ck_llclr {
		call gaction gyaxis.cl_llclr.show
	}
	call gaction gyaxis.tx_llpat.show
	call gaction gyaxis.cb_llpat.show
	call gaction gyaxis.tx_tkmode.setlabel "Additional lines options"
END

SCRIPT gylines_hide
BEGIN
	gyaxis.tx_lline.hide
	gyaxis.ed_lline.hide
	gyaxis.ck_llclr.hide
	gyaxis.cl_llclr.hide
	gyaxis.tx_llpat.hide
	gyaxis.cb_llpat.hide
END

SCRIPT gymajor_on
BEGIN
	script gyminor_hide
	script gylines_hide
	program gymajor_show
END

SCRIPT gyminor_on
BEGIN
	script gymajor_hide
	script gylines_hide
	program gyminor_show
END

SCRIPT gylines_on
BEGIN
	script gymajor_hide
	script gyminor_hide
	program gylines_show
END

PROGRAM gyaxis_title_pr
BEGIN
   if !H(gyaxis.gb_title) {
     if gyaxis.ed_title  | gyaxis.cb_size | !H(gyaxis.cl_tclr)  {
	put "ytitle("
	if gyaxis.ed_title {
		put gyaxis.ed_title
	}
	put /program gyaxis_title_opt_pr
	put ") "
     }
   }
END

PROGRAM gyaxis_title_opt_pr
BEGIN
	beginoptions
		optionarg /hidedefault gyaxis.cb_size
		if !H(gyaxis.cl_tclr) {
			optionarg /quoted gyaxis.cl_tclr
		}
	endoptions
END

PROGRAM gyaxis_scale_pr
BEGIN
/* yaxis scale options */
  if !D(gyaxis.gb_option) { /* If scale options are disabled then do nothing */
     if gyaxis.ck_range | gyaxis.ed_outergp | !H(gyaxis.cl_lclr) 	/*
     */ | gyaxis.ck_log | gyaxis.ck_rev | gyaxis.ed_ttlgp  | 		/*
     */ gyaxis.ck_scaleoff {

	put "yscale("
	put /program gyaxis_scale_opt_pr
	put ") "
     }
  }
END

PROGRAM gyaxis_scale_opt_pr
BEGIN
	optionarg gyaxis.ed_ttlgp
	if gyaxis.ck_range {
		require gyaxis.ed_rangefm
		require gyaxis.ed_rangeto
		put " " "range(" gyaxis.ed_rangefm " " gyaxis.ed_rangeto ")"
	}
	if !H(gyaxis.cl_lclr) {
		optionarg /quoted gyaxis.cl_lclr
	}
	optionarg gyaxis.ed_outergp
	option gyaxis.ck_log
	option gyaxis.ck_rev
	option gyaxis.ck_scaleoff
END

PROGRAM gyaxis_major_tick_pr
BEGIN

   /* Programming for major ticks */
   /* if any ylabel options put out "ylabel(" */
   if !D(gyaxis.ed_rule) { /* if ed_rule is disabled then do nothing */
     if gyaxis.ed_rule | gyaxis.ed_cstm | gyaxis.cb_tpos | 		/*
	*/ gyaxis.ed_tlng | gyaxis.cb_notk | gyaxis.cb_nolab | 		/*
	*/ gyaxis.ck_vlab |  gyaxis.ck_tlclr | gyaxis.cb_ang |	/*
	*/ gyaxis.ed_fmt | gyaxis.ed_lgap | gyaxis.cb_lsize | 		/*
	*/ gyaxis.ck_grid | gyaxis.ck_altr {
	put "ylabel("
	if gyaxis.ed_rule | gyaxis.ed_cstm {
		put /hidden gyaxis.ed_rule
		if gyaxis.ed_cstm {
			put " "
			put /hidden gyaxis.ed_cstm
		}
	}
	put /program gyaxis_major_tick_opt_pr
	put ")"
     }
   }
END
PROGRAM gyaxis_major_tick_opt_pr
BEGIN
	beginoptions
		hoptionarg /hidedefault gyaxis.cb_tpos
		hoptionarg /hidedefault gyaxis.ed_tlng
		if gyaxis.cb_notk {
			put " "
			put /hidden gyaxis.cb_notk
		}
		if gyaxis.cb_nolab {
			put " "
			put /hidden gyaxis.cb_nolab
		}
		hoption gyaxis.ck_vlab
		hoption gyaxis.ck_altr
		if gyaxis.ck_tlclr {
			put " " `"tlcolor(""'
			put /hidden gyaxis.cl_tlclr
			put `"")"'
			put " " `"labcolor(""'
			put /hidden gyaxis.cl_tlclr
			put `"")"'
		}
		hoptionarg /hidedefault gyaxis.cb_ang
		hoptionarg /hidedefault gyaxis.ed_fmt
		hoptionarg /hidedefault gyaxis.ed_lgap
		hoptionarg /hidedefault gyaxis.cb_lsize
		hoption gyaxis.ck_grid
		if gyaxis.ck_gclr {
			hoptionarg /quoted gyaxis.cl_gclr
		}
		hoptionarg /hidedefault gyaxis.cb_pat
	endoptions
END

PROGRAM gyaxis_minor_tick_pr
BEGIN

   /* Programming for minor ticks */

   /* if any ylabel options put out "ylabel(" */
   if !D(gyaxis.ed_mrule) { /* if ed_mrule is disabled then do nothing */
     if gyaxis.ed_mrule | gyaxis.ed_mcstm | gyaxis.cb_mtpos |     	/*
	*/ gyaxis.ed_mtlng | gyaxis.cb_mnotk | gyaxis.cb_mnolab | 	/*
	*/ gyaxis.ck_mvlab |  gyaxis.ck_mtlclr | gyaxis.cb_mang |	/*
	*/ gyaxis.ed_mfmt | gyaxis.ed_mlgap | gyaxis.cb_mlsize | 	/*
	*/ gyaxis.ck_mgrid | gyaxis.ck_maltr {
	put "ymlabel("
	if gyaxis.ed_mrule | gyaxis.ed_mcstm {
		put /hidden gyaxis.ed_mrule
		if gyaxis.ed_mcstm {
			put " "
			put /hidden gyaxis.ed_mcstm
		}
	}
	put /program gyaxis_minor_tick_opt_pr
	put ")"
     }
   }
END
PROGRAM gyaxis_minor_tick_opt_pr
BEGIN
	beginoptions
		hoptionarg /hidedefault gyaxis.cb_mtpos
		hoptionarg /hidedefault gyaxis.ed_mtlng
		if gyaxis.cb_mnotk {
			put " "
			put /hidden gyaxis.cb_mnotk
		}
		if gyaxis.cb_mnolab {
			put " "
			put /hidden gyaxis.cb_mnolab
		}
		hoption gyaxis.ck_mvlab
		hoption gyaxis.ck_maltr
		if gyaxis.ck_mtlclr {
			put " " `"tlcolor(""'
			put /hidden gyaxis.cl_mtlclr
			put `"")"'
			put " " `"labcolor(""'
			put /hidden gyaxis.cl_mtlclr
			put `"")"'
		}
		hoptionarg /hidedefault gyaxis.cb_mang
		hoptionarg /hidedefault gyaxis.ed_mfmt
		hoptionarg /hidedefault gyaxis.ed_mlgap
		hoptionarg /hidedefault gyaxis.cb_mlsize
		hoption gyaxis.ck_mgrid
		if gyaxis.ck_mgclr {
			hoptionarg /quoted gyaxis.cl_mgclr
		}
		hoptionarg /hidedefault gyaxis.cb_mpat
	endoptions
END

PROGRAM gyaxis_lines_pr
BEGIN
/* yaxis line options */
  if !D(gyaxis.ed_lline) { /* if ed_lline is disabled then do nothing */
     if gyaxis.ed_lline  {
	put "yline("
	put /hidden gyaxis.ed_lline
	put /program gyaxis_lines_opt_pr
	put ")"
     }
   }
END
PROGRAM gyaxis_lines_opt_pr
BEGIN
	beginoptions
		if gyaxis.ck_llclr {
			hoptionarg /quoted gyaxis.cl_llclr
		}
		hoptionarg /hidedefault gyaxis.cb_llpat
	endoptions
END

PROGRAM gyaxis_output
BEGIN
	put " " /program gyaxis_title_pr
	put " " /program gyaxis_scale_pr
	put " " /program gyaxis_major_tick_pr
	put " " /program gyaxis_minor_tick_pr
	put " " /program gyaxis_lines_pr
END

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -