123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- $PBExportHeader$w_col_choose.srw
- forward
- global type w_col_choose from window
- end type
- type cb_1 from commandbutton within w_col_choose
- end type
- type rb_3 from radiobutton within w_col_choose
- end type
- type rb_2 from radiobutton within w_col_choose
- end type
- type rb_1 from radiobutton within w_col_choose
- end type
- end forward
- global type w_col_choose from window
- integer width = 686
- integer height = 424
- boolean titlebar = true
- string title = "选择列"
- boolean controlmenu = true
- windowtype windowtype = response!
- long backcolor = 67108864
- string icon = "AppIcon!"
- boolean center = true
- cb_1 cb_1
- rb_3 rb_3
- rb_2 rb_2
- rb_1 rb_1
- end type
- global w_col_choose w_col_choose
- on w_col_choose.create
- this.cb_1=create cb_1
- this.rb_3=create rb_3
- this.rb_2=create rb_2
- this.rb_1=create rb_1
- this.Control[]={this.cb_1,&
- this.rb_3,&
- this.rb_2,&
- this.rb_1}
- end on
- on w_col_choose.destroy
- destroy(this.cb_1)
- destroy(this.rb_3)
- destroy(this.rb_2)
- destroy(this.rb_1)
- end on
- type cb_1 from commandbutton within w_col_choose
- integer x = 261
- integer y = 20
- integer width = 402
- integer height = 116
- integer taborder = 10
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- string text = "确定"
- end type
- event clicked;String ls_new_string
- IF rb_1.Checked = True THEN
- ls_new_string = "left"
- ELSEIF rb_2.Checked = True THEN
- ls_new_string = "right"
- ELSEIF rb_3.Checked = True THEN
- ls_new_string = "whole"
- END IF
- CloseWithReturn(Parent,ls_new_string )
- end event
- type rb_3 from radiobutton within w_col_choose
- integer x = 32
- integer y = 208
- integer width = 238
- integer height = 84
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "全列"
- boolean checked = true
- end type
- type rb_2 from radiobutton within w_col_choose
- integer x = 32
- integer y = 108
- integer width = 238
- integer height = 84
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "右列"
- end type
- type rb_1 from radiobutton within w_col_choose
- integer x = 32
- integer y = 20
- integer width = 238
- integer height = 84
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- long textcolor = 33554432
- long backcolor = 67108864
- string text = "左列"
- end type
|