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

📄 gbaryaxis_98.idlg

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 IDLG
📖 第 1 页 / 共 3 页
字号:

/*
  gbaryaxis_98.idlg Include for graphics y-axis
  **Special version for Windows95/98

*!  VERSION 1.0.2  31mar2005

  Note: This include file is closely related to gxaxis_98, gyaxis_98, and
  graxis_98. Any changes should likly be reflected in those files.

  This idlg assumes you are using _graph.idlg include and _std_graph.idlg
  include to set the proper lengths, widths and heights.
*/

/*
  gbaryaxis.idlg is the same as gyaxis except for the following changes:
  1. replace all occurances of gy with gbary
  2. range option is removed
  3. log option is removed
  4. yscale(reverse) is changned to yreverse
  5. options for yalternate and exclude0 have been added
  6. Major tick grid lines are by default on.  The check box for grid lines
     now outputs the nogrid option
*/


DIALOG gbaryaxis, label("Y-Axis") tabtitle("Y-Axis")
BEGIN

  /* LEFT SIDE-- Title */
  GROUPBOX gb_title    _lft        _top      _gwd1       _ht7h,		/*
		*/ label("Title ")
  EDIT     ed_title    _lft1g      _ss       _cwd1gb     .,		/*
		*/ label("Title")					/*
		*/ option(ytitle)
  /* LEFT SIDE-- Title col(1) */
  TEXT     tx_size     _igft       _ms       _txwd       .,		/*
		*/ label("Size:") 					/*
		*/ right
  DEFINE   y @y
  COMBOBOX cb_size     _txsep      @         _txr2b4g    .,		/*
		*/ dropdownlist contents(textsizes) option(size)
  CHECKBOX ck_tclr     _igft       _ms       _txwd       .,		/*
		*/ label("Color")					/*
		*/ clickon(gaction gbaryaxis.cl_tclr.show)		/*
		*/ clickoff(gaction gbaryaxis.cl_tclr.hide)
  COLOR    cl_tclr     _txsep      @         _txr2b4g    .,		/*
		*/ option(color)
  TEXT     tx_mark     @           _xls      0           0,
  DEFINE y2 @y

  /* LEFT SIDE-- Title upper col(2)*/

  TEXT     tx_ttlgp    _gft4_2     y         _txwd       .,		/*
		*/ label("Title gap:")					/*
		*/ right
  EDIT     ed_ttlgp    _txsep      @         _txr2b4g    .,		/*
  		*/ label("Title gap")					/*
  		*/ option(titlegap)

  /* LEFT SIDE-- Options */
  GROUPBOX gb_option   _lft        y2        _gwd1       _ht7h,		/*
		*/ label("Scale options ")
  /* LEFT SIDE-- Options col(1) */
  /* !- range ckeckbox label and edit boxes were removed */
  CHECKBOX ck_lclr     _igft       _ms       _txwd       .,		/*
  		*/ label("Color")					/*
		*/ clickon(gaction gbaryaxis.cl_lclr.show)		/*
		*/ clickoff(gaction gbaryaxis.cl_lclr.hide)
  COLOR    cl_lclr     _txsep      @         _txr2b4g    .,		/*
		*/ option(lcolor)
  DEFINE   y @y  /* !- moved from infront of ck_lclr */
  TEXT     tx_outergp  _igft       _ms       _txwd       .,		/*
  		*/ label("Outer gap:")					/*
  		*/ right
  EDIT     ed_outergp  _txsep      @         _txr2b4g    .,		/*
		*/ label("Outer gap")					/*
		*/ option(outergap)
  /* !- added components and option for exclude0 */
  CHECKBOX ck_exclude  @           _ms       _txr2b4g    .,		/*
  		*/ label("Exclude zero")				/*
  		*/ option(exclude0)
  /* LEFT SIDE-- Options col(2) */
  TEXT     tx_scfake   _gft4_2     y         0           0,		/*
  		*/ label("")
  /* !- replace _txsep with _gft4_2 */
  CHECKBOX ck_scaleoff _gft4_2	   @	     _gwd4_2     .,		/*
  		*/ label("Hide Y-axis")					/*
  		*/ clickon(program gbaryaxis_hide_scale_check)		/*
  		*/ clickoff(program gbaryaxis_hide_scale_check)		/*
  		*/ option(off)
  /* !- Change ck_log to ck_yalt */
  CHECKBOX ck_yalt     @           _ms       @           .,		/*
		*/ label("Y-Axis swaps sides")				/*
		*/ option(yalternate)
  CHECKBOX ck_rev      @           _ms       @           .,		/*
		*/ label("Reverse")					/*
		*/ option(yreverse) /* !- reverse to yreverse */

  /**************************************************************/

  /* RIGHT SIDE-- Ticks / Lines */
  GROUPBOX gb_mode     _lft2g      _top      _gwd1       _ht28,		/*
		*/ label("Ticks / Lines ")
  COMBOBOX cb_tkmode   _igft2      _ss       _cwd4_6     .,		/*
  		*/ label("Tick mode")					/*
  		*/ dropdownlist						/*
  		*/ contents(gbarytick_opt)				/*
  		*/ onselchangelist(gbarymode_change)
  TEXT     tx_tkmode   +150        @         _cwd4_6     .,		/*
  		*/ label("")
  TEXT     tx_mark2    _igft2      _ms       0           0,
  DEFINE   rty @y
  /**************************************************************/
  /* RIGHT SIDE-- Major Ticks */
  TEXT     tx_rule     _igft2      rty       _txwd	 .,		/*
  		*/ label("Rule:")					/*
  		*/ right
  EDIT     ed_rule     _txsep      @         _tcr2gi     .,		/*
  		*/ label("Rule")
  BUTTON   bt_rule     _tcr2gisep  @         _btwd       .,		/*
  		*/ label("?")						/*
  		*/ onpush(view help major_tick_rule##|_new)
  TEXT     tx_cstm     _igft2      _ms       _txwd	 .,		/*
  		*/ label("Custom:")					/*
  		*/ right
  EDIT     ed_cstm     _txsep      @         _tcr2gi     .,		/*
  		*/ label("Custom")
  BUTTON   bt_cstm     _tcr2gisep  @         _btwd       .,		/*
  		*/ label("?")						/*
  		*/ onpush(view help custom_tick_labels##|_new)

  /* RIGHT SIDE-- Major Ticks upper col(1) */
  TEXT     tx_tpos     _igft2      _ms       _txwd       .,		/*
  		*/ label("Position:")					/*
  		*/ right
  COMBOBOX cb_tpos     _txsep      @         _txr2b4g    .,		/*
  		*/ dropdownlist	contents(tickpos) option(tposition)
  DEFINE   y @y
  TEXT     tx_tlng     _igft2      _ms       _txwd       .,		/*
  		*/ label("Length:")					/*
  		*/ right
  EDIT     ed_tlng     _txsep      @         _txr2b4g    .,		/*
  		*/ label("Length")					/*
  		*/ option(tlength)
  TEXT     tx_notk     _igft2      _ms       _txwd       .,		/*
  		*/ label("Hide tick:")					/*
  		*/ right
  COMBOBOX cb_notk     _txsep      @         _txr2b4g    .,		/*
  		*/ dropdownlist						/*
		*/ label("Hide tick")					/*
		*/ contents(yesno) 					/*
		*/ values(gbaryaxis_cb_tick)
  TEXT     tx_nolab    _igft2      _ms       _txwd       .,		/*
  		*/ label("Hide label:")					/*
  		*/ right
  COMBOBOX cb_nolab    _txsep      @         _txr2b4g    .,		/*
    		*/ dropdownlist						/*
		*/ label("Hide label")					/*
		*/ contents(yesno) 					/*
		*/ values(gbaryaxis_cb_label)
  CHECKBOX ck_vlab     @           _ms       _txr2b4g    .,		/*
		*/ label("Value labels")				/*
		*/ option(valuelabel)
  CHECKBOX ck_altr     @           _ss       _txr2b4g    .,		/*
		*/ label("Alt. labels")					/*
		*/ option(alternate)
  TEXT     tx_tmark    _igft2      _ss       _txr2b4g    0,
  DEFINE   y2 @y

  /* RIGHT SIDE-- Major Ticks upper col(2) */
  CHECKBOX ck_tlclr    _gft4_4     y         _txwd       .,		/*
		*/ label("Color")					/*
		*/ clickon(gaction gbaryaxis.cl_tlclr.show)		/*
		*/ clickoff(gaction gbaryaxis.cl_tlclr.hide)
  COLOR    cl_tlclr    _txsep      @         _txr2b4g    .,		/*
		*/ default(255 0 0)
  TEXT     tx_ang      _gft4_4     _ms       _txwd       .,		/*
		*/ label("Angle:")					/*
		*/ right
  COMBOBOX cb_ang      _txsep      @         _txr2b4g    .,	   	/*
		*/ dropdownlist contents(angles) option(angle)
  TEXT     tx_fmt      _gft4_4     _ms       _txwd       .,		/*
  		*/ label("Format:")					/*
  		*/ right
  EDIT     ed_fmt      _txsep      @         _tcr2b4g    .,		/*
		*/ label("Format")					/*
		*/ option(format)
  BUTTON   bt_fmt      _tcr2b4gsep @         _btwd       .,		/*
  		*/ label("?")						/*
  		*/ onpush(view help format##|_new)
  TEXT     tx_lgap     _gft4_4     _ms       _txwd       .,		/*
		*/ label("Label gap:")			 		/*
		*/ right
  EDIT     ed_lgap     _txsep      @         _txr2b4g    .,		/*
		*/ label("Label gap") 					/*
		*/ option(labgap)
  TEXT     tx_lsize    _gft4_4     _ms       _txwd       .,		/*
		*/ label("Label size:")					/*
		*/ right
  COMBOBOX cb_lsize    _txsep      @         _txr2b4g    .,		/*
		*/ dropdownlist contents(textsizes) option(labsize)

  /* RIGHT SIDE-- Major Ticks lower*/
  /* !- modified for gbaryaxis */
  CHECKBOX ck_grid     _igft2      y2        _gwd2       _ht4,		/*
		*/ groupbox						/*
		*/ clickon(program gbaryaxis_grid_check)		/*
		*/ clickoff(program gbaryaxis_grid_check)		/*
		*/ label ("Grid ") 					/*
		*/ option(grid)
  /* RIGHT SIDE-- Major Ticks lower col(1)*/
  CHECKBOX ck_gclr     _iigft2     _ls       _txswd      .,		/*
		*/ label("Color")					/*
		*/ clickon(gaction gbaryaxis.cl_gclr.show)		/*
		*/ clickoff(gaction gbaryaxis.cl_gclr.hide)
  COLOR    cl_gclr     _txssep     @         _txr2b4g    .,		/*
		*/ option(glcolor)

  /* RIGHT SIDE-- Major Ticks lower col(2)*/
  TEXT     tx_pat      _gft4_4     @         _txswd      .,		/*
		*/ label("Pattern:")					/*
		*/ right
  COMBOBOX cb_pat      _txssep     @         _txr2b4g    .,		/*
		*/ dropdownlist	contents(linepatterns) option(glpattern)

  /**************************************************************/
  /* RIGHT SIDE-- Minor Ticks */
  TEXT     tx_mrule    _igft2      rty       _txwd       .,		/*
  		*/ label("Rule:")					/*
  		*/ right
  EDIT     ed_mrule    _txsep      @         _tcr2gi     .,		/*
  		*/ label("Rule")
  BUTTON   bt_mrule    _tcr2gisep  @         _btwd       .,		/*
  		*/ label("?")						/*
  		*/ onpush(view help minor_tick_rule##|_new)
  TEXT     tx_mcstm    _igft2      _ms       _txwd	 .,		/*
  		*/ label("Custom:")					/*
  		*/ right
  EDIT     ed_mcstm    _txsep      @         _tcr2gi     .,		/*
  		*/ label("Custom")
  BUTTON   bt_mcstm    _tcr2gisep  @         _btwd       .,		/*
  		*/ label("?")						/*
  		*/ onpush(view help custom_tick_labels##|_new)

  /* RIGHT SIDE-- Minor Ticks upper col(1) */
  TEXT     tx_mtpos    _igft2      _ms       _txwd       .,  	  	/*
  		*/ label("Position:")					/*
  		*/ right
  COMBOBOX cb_mtpos    _txsep      @         _txr2b4g    .,		/*
  		*/ dropdownlist contents(tickpos) option(tposition)
  DEFINE   y @y
  TEXT     tx_mtlng    _igft2      _ms       _txwd       .,		/*
  		*/ label("Length:")					/*
  		*/ right
  EDIT     ed_mtlng    _txsep      @         _txr2b4g    .,		/*
  		*/ label("Length") 					/*
  		*/ option(tlength)
  TEXT     tx_mnotk    _igft2      _ms       _txwd       .,		/*
  		*/ label("Hide tick:")					/*
  		*/ right
  COMBOBOX cb_mnotk    _txsep      @         _txr2b4g    .,		/*
  		*/ dropdownlist						/*
		*/ label("Hide tick")					/*
		*/ contents(yesno) 					/*
		*/ values(gbaryaxis_cb_tick)
  TEXT     tx_mnolab   _igft2      _ms       _txwd       .,		/*
  		*/ label("Hide label:")					/*
  		*/ right
  COMBOBOX cb_mnolab   _txsep      @         _txr2b4g    .,		/*
    		*/ dropdownlist						/*
		*/ label("Hide label")					/*
		*/ contents(yesno)	  				/*
		*/ values(gbaryaxis_cb_label)
  CHECKBOX ck_mvlab    @           _ms       _txr2b4g    .,		/*
		*/ label("Value labels")				/*
		*/ option(valuelabel)
  CHECKBOX ck_maltr    @           _ss       _txr2b4g    .,		/*
		*/ label("Alt. labels")					/*
		*/ option(alternate)
  TEXT     tx_mtmark   _igft2      _ss       0           0,
  DEFINE   y2 @y

  /* RIGHT SIDE-- Minor Ticks upper col(2) */

  CHECKBOX ck_mtlclr   _gft4_4     y         _txwd       .,		/*
		*/ label("Color")					/*
		*/ clickon(gaction gbaryaxis.cl_mtlclr.show)		/*
		*/ clickoff(gaction gbaryaxis.cl_mtlclr.hide)
  COLOR    cl_mtlclr   _txsep      @         _txr2b4g    .,		/*
		*/ default(255 0 0)
  TEXT     tx_mang     _gft4_4     _ms       _txwd       .,		/*
		*/ label("Angle:")					/*
		*/ right
  COMBOBOX cb_mang     _txsep      @         _txr2b4g    .,		/*
		*/ dropdownlist contents(angles) option(angle)
  TEXT     tx_mfmt     _gft4_4     _ms       _txwd       .,		/*
  		*/ label("Format:")					/*
  		*/ right
  EDIT     ed_mfmt     _txsep      @         _tcr2b4g    .,		/*
		*/ label("Format")					/*
		*/ option(format)
  BUTTON   bt_mfmt     _tcr2b4gsep @         _btwd       .,		/*
  		*/ label("?")						/*
  		*/ onpush(view help format##|_new)
  TEXT     tx_mlgap    _gft4_4     _ms       _txwd       .,		/*
		*/ label("Label gap:")					/*
		*/ right
  EDIT     ed_mlgap    _txsep      @         _txr2b4g    .,		/*
		*/ label("Label gap")  					/*
		*/ option(labgap)
  TEXT     tx_mlsize   _gft4_4     _ms       _txwd       .,		/*
		*/ label("Label size:")					/*
		*/ right
  COMBOBOX cb_mlsize   _txsep      @         _txr2b4g    .,		/*
		*/ dropdownlist contents(textsizes) option(labsize)

  /* RIGHT SIDE-- Minor Ticks lower*/
  CHECKBOX ck_mgrid    _igft2      y2        _cwd1gb     _ht4,		/*
		*/ groupbox						/*
		*/ clickon(program gbaryaxis_mgrid_check)		/*
		*/ clickoff(program gbaryaxis_mgrid_check)		/*
		*/ label ("Grid ") 					/*
		*/ option(grid)
  /* RIGHT SIDE-- Minor Ticks lower col(1)*/
  CHECKBOX ck_mgclr    _iigft2     _ls       _txswd        .,		/*
		*/ label("Color")					/*
		*/ clickon(gaction gbaryaxis.cl_mgclr.show)		/*
		*/ clickoff(gaction gbaryaxis.cl_mgclr.hide)
  COLOR    cl_mgclr    _txssep     @         _txr2b4g    .,		/*
		*/ option(glcolor)

  /* RIGHT SIDE-- Minor Ticks lower col(2)*/
  TEXT     tx_mpat     _gft4_4     @         _txswd      .,		/*
		*/ label("Pattern:")					/*
		*/ right
  COMBOBOX cb_mpat     _txssep     @         _txr2b4g    .,		/*
		*/ dropdownlist contents(linepatterns) option(glpattern)

  /**************************************************************/
  /* Line options */
  TEXT     tx_lline    _igft2      rty       _txwd       .,		/*
    		*/ label("Values:")					/*
    		*/ right
  EDIT     ed_lline    _txsep      @         _txr2gi     .,		/*
  		*/ label("Values")
  /* Line options col(1) */
  CHECKBOX ck_llclr    _iigft2     _ms       _txwd       .,		/*
		*/ label("Color")					/*
		*/ clickon(gaction gbaryaxis.cl_llclr.show)		/*
		*/ clickoff(gaction gbaryaxis.cl_llclr.hide)
  COLOR    cl_llclr    _txsep      @         _txr2b4g    .,		/*
		*/ option(lcolor)

  /* Line options col(2) */
  TEXT     tx_llpat    _gft4_4     @         _txwd       .,		/*
		*/ label("Pattern:")					/*
		*/ right
  COMBOBOX cb_llpat    _txsep      @         _txr2b4g    .,	   	/*
		*/ dropdownlist contents(linepatterns) option(lpattern)
END

LIST gbarytick_opt
BEGIN
	"Major ticks"
	"Minor ticks"
	"Additional lines"
END

LIST gbarymode_change
BEGIN
	script gbarymajor_on
	script gbaryminor_on
	script gbarylines_on
END

LIST gbaryaxis_cb_tick
BEGIN
	""
	"noticks"
	"ticks"
END

⌨️ 快捷键说明

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