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

📄 gxaxis_98.idlg

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

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

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

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

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

SCRIPT gxlines_hide
BEGIN
	gxaxis.tx_lline.hide
	gxaxis.ed_lline.hide
	gxaxis.ck_llclr.hide
	gxaxis.cl_llclr.hide
	gxaxis.tx_llpat.hide
	gxaxis.cb_llpat.hide
END

SCRIPT gxmajor_on
BEGIN
	script gxminor_hide
	script gxlines_hide
	program gxmajor_show
END

SCRIPT gxminor_on
BEGIN
	script gxmajor_hide
	script gxlines_hide
	program gxminor_show
END

SCRIPT gxlines_on
BEGIN
	script gxmajor_hide
	script gxminor_hide
	program gxlines_show
END

PROGRAM gxaxis_title_pr
BEGIN
   if !H(gxaxis.gb_title) {
     if gxaxis.ed_title  | gxaxis.cb_size | !H(gxaxis.cl_tclr)  {
	put "xtitle("
	if gxaxis.ed_title {
		put gxaxis.ed_title
	}
	put /program gxaxis_title_opt_pr
	put ") "
     }
   }
END

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

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

	put "xscale("
	put /program gxaxis_scale_opt_pr
	put ") "
     }
  }
END

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

PROGRAM gxaxis_major_tick_pr
BEGIN

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

PROGRAM gxaxis_minor_tick_pr
BEGIN

   /* Programming for minor ticks */

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

PROGRAM gxaxis_lines_pr
BEGIN
/* xaxis line options */
  if !D(gxaxis.ed_lline) { /* if ed_lline is disabled then do nothing */
     if gxaxis.ed_lline  {
	put "xline("
	put /hidden gxaxis.ed_lline
	put /program gxaxis_lines_opt_pr
	put ")"
     }
   }
END
PROGRAM gxaxis_lines_opt_pr
BEGIN
	beginoptions
		if gxaxis.ck_llclr {
			hoptionarg /quoted gxaxis.cl_llclr
		}
		hoptionarg /hidedefault gxaxis.cb_llpat
	endoptions
END

PROGRAM gxaxis_output
BEGIN
	put " " /program gxaxis_title_pr
	put " " /program gxaxis_scale_pr
	put " " /program gxaxis_major_tick_pr
	put " " /program gxaxis_minor_tick_pr
	put " " /program gxaxis_lines_pr
END

⌨️ 快捷键说明

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