当前位置: 代码迷 >> PB >> dw加按钮有关问题
  详细解决方案

dw加按钮有关问题

热度:94   发布时间:2016-04-29 10:14:02.0
dw加按钮问题
在grid风格中的dw中,在detail的某一列上创建一button,运行后,可以看到这个button,但无法进行点击.且如果该列的taborder>0,那么点击后该button会被该列覆盖掉,如何解决这个问题?PB9.0

------解决方案--------------------
d_test.srd
自己导入看看
C/C++ code
$PBExportHeader$d_test.srdrelease 9;datawindow(units=0 timer_interval=0 color=1073741824 processing=1 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 grid.lines=0 )header(height=92 color="536870912" )summary(height=0 color="536870912" )footer(height=0 color="536870912" )detail(height=104 color="536870912" )table(column=(type=char(10) updatewhereclause=yes name=a dbname="a" ) )text(band=header alignment="2" text="A" border="0" color="33554432" x="9" y="8" height="60" width="320" html.valueishtml="0"  name=a_t visible="1"  font.face="Arial" font.height="-9" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )column(band=detail id=1 alignment="0" tabsequence=10 border="0" color="33554432" x="9" y="8" height="88" width="320" format="[general]" html.valueishtml="0"  name=a visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0  font.face="Arial" font.height="-9" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )compute(band=detail alignment="0" expression="''"border="0" color="33554432" x="338" y="8" height="76" width="256" format="[GENERAL]" html.valueishtml="0"  name=compute_1 visible="1"  font.face="Arial" font.height="-9" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )button(band=detail text="none" enabled=yes action="0" border="1" color="33554432" x="338" y="4" height="100" width="251" vtextalign="0" htextalign="0"  name=b_1 visible="1"  font.face="Arial" font.height="-9" font.weight="400"  font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )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" )
------解决方案--------------------
在设计dw窗口 右键菜单点到 button 上,选bring to front
  相关解决方案