当前位置: 代码迷 >> PB >> 怎么实现 医院系统床位图形化管理
  详细解决方案

怎么实现 医院系统床位图形化管理

热度:400   发布时间:2016-04-29 10:40:55.0
如何实现 医院系统床位图形化管理
请各位大虾提供思路,谢谢,有代码更好!

------解决方案--------------------
用标签风格的DW

------解决方案--------------------
用N_up类型的数据窗口来实现,或者用label类型的数据窗口,直接就可以检索出来,调整一下位置即可实现你的效果,但点击后选择效果不太容易实现

或者你可以创建一个定制的可视对象,把你需要显示的信息放在里面,然后动态建创这个可视对象,也可以实现
------解决方案--------------------
探讨
用标签风格的DW

------解决方案--------------------

这是PB9的datawindow, 采用N-UP类型数据窗口,将以下内容保存为d_test.srd后导入即可
C/C++ code
$PBExportHeader$d_test.srdrelease 9;datawindow(units=0 timer_interval=0 color=1073741824 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 110 print.margin.right = 110 print.margin.top = 96 print.margin.bottom = 96 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no rows_per_detail = 4 )summary(height=0 color="536870912" )footer(height=0 color="536870912" )detail(height=292 color="536870912" )table(column=(type=number updatewhereclause=yes name=xh dbname="xh" ) column=(type=number updatewhereclause=yes name=is_has dbname="is_has" ) )data( 1, 0, 2, 0, 3, 1, 4, 1, 5, 0, 6, 1, 7, 0,) column(band=detail id=2 alignment="1" tabsequence=32766 border="2" color="33554432~tif(is_has = 1, rgb(0,0,255), rgb(255,255,255))" x="1207" y="4" height="212" width="293" format="[general]" html.valueishtml="0" row_in_detail=4  name=is_has_4 visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="0" background.color="536870912~tif(is_has = 1, rgb(0,0,255), rgb(255,255,255))" )column(band=detail id=2 alignment="1" tabsequence=32766 border="2" color="33554432~tif(is_has = 1, rgb(0,0,255), rgb(255,255,255))" x="814" y="4" height="212" width="293" format="[general]" html.valueishtml="0" row_in_detail=3  name=is_has_3 visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="0" background.color="536870912~tif(is_has = 1, rgb(0,0,255), rgb(255,255,255))" )column(band=detail id=2 alignment="1" tabsequence=32766 border="2" color="33554432~tif(is_has = 1, rgb(0,0,255), rgb(255,255,255))" x="421" y="4" height="212" width="293" format="[general]" html.valueishtml="0" row_in_detail=2  name=is_has_2 visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="0" background.color="536870912~tif(is_has = 1, rgb(0,0,255), rgb(255,255,255))" )column(band=detail id=2 alignment="1" tabsequence=32766 border="2" color="33554432~tif(is_has = 1, rgb(0,0,255), rgb(255,255,255))" x="23" y="4" height="212" width="293" format="[general]" html.valueishtml="0" row_in_detail=1  name=is_has_1 visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="0" background.color="536870912~tif(is_has = 1, rgb(0,0,255), rgb(255,255,255))" )text(band=header alignment="2" text="Xh" border="0" color="33554432" x="5" y="4" height="76" width="256" html.valueishtml="0"  name=xh_t_1 visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )text(band=header alignment="2" text="Is Has" border="0" color="33554432" x="265" y="4" height="76" width="256" html.valueishtml="0"  name=is_has_t_1 visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )text(band=header alignment="2" text="Xh" border="0" color="33554432" x="530" y="4" height="76" width="256" html.valueishtml="0"  name=xh_t_2 visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )text(band=header alignment="2" text="Is Has" border="0" color="33554432" x="791" y="4" height="76" width="256" html.valueishtml="0"  name=is_has_t_2 visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )text(band=header alignment="2" text="Xh" border="0" color="33554432" x="1061" y="4" height="76" width="256" html.valueishtml="0"  name=xh_t_3 visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )text(band=header alignment="2" text="Is Has" border="0" color="33554432" x="1321" y="4" height="76" width="256" html.valueishtml="0"  name=is_has_t_3 visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )text(band=header alignment="2" text="Xh" border="0" color="33554432" x="1586" y="4" height="76" width="256" html.valueishtml="0"  name=xh_t_4 visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )text(band=header alignment="2" text="Is Has" border="0" color="33554432" x="1847" y="4" height="76" width="256" html.valueishtml="0"  name=is_has_t_4 visible="1"  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )column(band=detail id=1 alignment="2" tabsequence=32766 border="0" color="33554432~tif(is_has = 1, rgb(255,255,255), 0)" x="41" y="64" height="88" width="256" format="[general]" html.valueishtml="0" row_in_detail=1  name=xh_1 visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )column(band=detail id=1 alignment="2" tabsequence=32766 border="0" color="33554432~tif(is_has = 1, rgb(255,255,255), 0)" x="439" y="64" height="88" width="256" format="[general]" html.valueishtml="0" row_in_detail=2  name=xh_2 visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )column(band=detail id=1 alignment="2" tabsequence=32766 border="0" color="33554432~tif(is_has = 1, rgb(255,255,255), 0)" x="832" y="64" height="88" width="256" format="[general]" html.valueishtml="0" row_in_detail=3  name=xh_3 visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )column(band=detail id=1 alignment="2" tabsequence=32766 border="0" color="33554432~tif(is_has = 1, rgb(255,255,255), 0)" x="1225" y="64" height="88" width="256" format="[general]" html.valueishtml="0" row_in_detail=4  name=xh_4 visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-12" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )htmltable(border="1" )htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )import.xml()export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
  相关解决方案