有人知道怎么样动态生成数据窗口吗?

wastetime 2001-09-13 08:15:55
各位兄弟,救我啊...............

能告诉我在动态生成数据窗口时,怎么样去设置里面的属性,比如标题栏的文字、数据显示的宽度和格式等吗?

在自带的帮助里面,有这样的一段说明,可没有Example,我试了一下,也不成功
还忘哪位兄弟能告之(给个Example)。俺给您磕头了(当然分数也不会少的)。

"Style ( Type=value property=value ... )

DataWindow ( property=value ... )

Column ( property=value ... )

Group groupby_colnum1 Fby_colnum2 ... property ... )

Text property=value ... )

Title ( 'titlestring' )"
...全文
107 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
WindowsMe 2001-09-17
  • 打赏
  • 举报
回复
sybase->powerbuilder->dwsyntax
wastetime 2001-09-15
  • 打赏
  • 举报
回复
用什么工具,兄弟?
yl_yz 2001-09-13
  • 打赏
  • 举报
回复
你可以用modify()来设置。
pmwb 2001-09-13
  • 打赏
  • 举报
回复
以下是我建的DW_1数据窗口的脚本:
$PBExportHeader$dw_1.srd
release 6;
datawindow(units=0 timer_interval=0 color=16777215 processing=0 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.prompt=no print.buttons=no print.preview.buttons=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=144 color="536870912" )
table(column=(type=char(2) update=yes updatewhereclause=yes key=yes name=aa dbname="aa.aa" )
retrieve="PBSELECT(TABLE(NAME=~"aa~") COLUMN(NAME=~"aa.aa~") ) ORDER(NAME = ~"aa.aa~" ASC = yes) " update="aa" updatewhere=1 updatekeyinplace=no )
text(band=detail alignment="1" text="Aa:"border="0" color="0" x="37" y="4" height="76" width="110" name=aa_t 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="0" tabsequence=10 border="1" color="0" x="165" y="4" height="76" width="110" format="[general]" name=aa edit.limit=2 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes 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" cellpadding="0" cellspacing="0" generatecss="no" nowrap="yes")
pmwb 2001-09-13
  • 打赏
  • 举报
回复
在LIBRARY 中选中你建的数据窗口---按右键选----EXPORT----存一个文件名。
用记事本打开就可以看到了!
pmwb 2001-09-13
  • 打赏
  • 举报
回复
你可以先做一个数据窗口,再将它导出脚本,看看就知道了语法等属性了!
WindowsMe 2001-09-13
  • 打赏
  • 举报
回复
建议使用dwsyntax

别让这帮家伙吓着,其实用工具很简单DI
nana11 2001-09-13
  • 打赏
  • 举报
回复
先导成(export):*.dwr(扩展名部知道对不对)文件
create函数()

1,076

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧