Location:
Search - PB X
Search list
Description: pb_dom示例,用来访问xml,在pb9中使用
支持utf-8-pb_dom example, used to access the xml, in pb9 used to support utf-8
Platform: |
Size: 167936 |
Author: 陈伟 |
Hits:
Description: PB操作xml
你必须安装:
微软的Internet Explorer 5.0 (及更高版本)
Microsoft XML分析器3.0 ( msxml3sp1.exe )
Sybase的PowerBuilder的8.0
安装。
1 。档案解压缩到如。 ç : \实例\ pb8 \的XML
2 。打开工作pb_xml.pbw
3 。打开窗户w_pbxml_sheet1和commandbuttons
cb_5和cb_6改变文件名变量ls_filename , ls_xslfilename ,以反映不同的目录上面使用
以下是运行时会发生什么变化的范例:
当您打开工作表, XML解析器:
XML解析器
加载文件:在这里,您可以只加载一个XML文件,并看到它解析在TreeView 。
pb_list_style :档案emplyees.xml将解析和转化利用pb_list_style.xsl ,由此产生的HTML中显示规则
pb_cat_style :档案emplyees.xml将解析和转化利用pb_catalog_style.xsl ,由此产生的HTML中显示规则
浏览器
打开HTML .. :在这里,您可以加载一个HTML文件,并看到它显示在Web浏览器控件。
雇员示例
巴顿:这是怎么回事
另存为XML .. :在这里,您可以保存emplyoyee数据仓库作为一个XML文件-o run the example:
You need to have installed:
Microsoft Internet Explorer 5.0 (and later)
Microsoft XML Parser 3.0 (msxml3sp1.exe)
Sybase PowerBuilder 8.0
installed.
1. Extract the files to eg. c:\examples\pb8\xml
2. Open the workspace pb_xml.pbw
3. Open the window w_pbxml_sheet1 and in the commandbuttons
cb_5 and cb_6 change the filename variables ls_filename, ls_xslfilename to reflect the different directory used above
Here is what happens when running the sample:
When you open the sheet, XML Parser:
XML Parser
Button: What s happening
Load File: Here you can just load a XML file and see it parsed in the Treeview.
pb_list_style: The file emplyees.xml will be parsed and transformed using pb_list_style.xsl , the resulting html is displayed in the mle
pb_cat_style: The file emplyees.xml will be parsed and transformed using pb_catalog_style.xsl , the resulting html is displayed in the mle
Browser
Button: What s ha
Platform: |
Size: 76800 |
Author: newease |
Hits:
Description: 1. 如何使PB窗口总在最上层
通过SetWindowPos函数吧窗口的显示层次修改为HWND_TOPMOST,就可以使指定窗
口永远不会被其他窗口覆盖,该函数声明为:
Function Long SetWindowPos(Long hwnd, Long ord, Long x, Long y, Long
dx, Long dy, Long uflag) Library “user32.dll”
参数1为要顶层显示的窗口句柄,参数2指定显示的层次,参数7为附加选项,其余
参数指定窗口位置和大小,均可忽略。在窗口的Open或Activate事件中加入如下
函数调用:
SetWindowPos(Handle(This),-1,0,0,0,0,3)
参数2取-1表示在最顶层显示窗口,取1表示在最底层显示;最后一个参数若取1,
表示窗口大小保持不变,取2表示保持位置不变,因此,取3(=1+2)表示大小和
位置均保持不变,取0表示将窗口的大小和位置改变为指定值。-1. How to make the window always on top of PB
SetWindowPos function bar by the window display level was revised to HWND_TOPMOST, you can make the specified window
I will never be covered by other windows, this function is declared as follows:
Function Long SetWindowPos (Long hwnd, Long ord, Long x, Long y, Long
dx, Long dy, Long uflag) Library "user32.dll"
Parameters of an order to show top-level window handle, the parameter 2 shows the level of the specified parameter 7 as an additional option, the rest of
Parameter specifies the window position and size, can be ignored. Open the window or the Activate event by adding the following
Function call:
SetWindowPos (Handle (This),-1,0,0,0,0,3)
-1 Means that two parameters take the most top-level display window, check that at the bottom of a display the last argument, if taken one,
Indicated that the window size remains unchanged, taking two positions that remain unchanged, therefore, take 3 (= 1+2) that the size and
Position r
Platform: |
Size: 2048 |
Author: 杨四 |
Hits:
Description:
PBHelper(PBCOMMENT)是一个专门为PB程序员设计的综合性编程
助手工具。她能帮助PB程序员自动生成PB脚本代码注释、自动缩进美化
代码、自动完成代码、大小写转换,实现不同数据库类型之间的SQL语句
转换等功能。
PBHelper支持PowerBuilder 6.x/7.0/8.0/9.0/10.0/10.5/11.0。 -PBHelper (PBCOMMENT) is designed specifically for PB programmers comprehensive programming assistant tool. She can help programmers PB PB script code automatically generated annotations, auto-indent beautify the code, auto-complete code, case conversion, between different types of SQL statement, the database conversion. PBHelper support PowerBuilder 6.x/7.0/8.0/9.0/10.0/10.5/11.0.
Platform: |
Size: 1459200 |
Author: 林广明 |
Hits:
Description: pb中实现图片的多种播放效果,并且实现以下多种变化
01由下往上,02 由左往右,03 x向百叶,04 由右往左,05 y向百叶,
06 垂直中开,07 水平中开,08 直接播放,09 由下往上(停顿),
10 跑马灯,11 跑马灯(停顿),12 由下往上(停顿),13 逐字显示,
14 多行跑马灯,15 上下对拼,16 左右对拼,17 矩形框向右上,
18 矩形框向左下,19 矩形框向内,20 矩形框向外,21 从中菱形打开,
22 从外菱形打开,23 时针式打开,24 右边条状,25 左边条状,
26 左下角往上,27 右下角往上,28 右上角往下,
29 左上角往下,30 从中间溅开-the pb in images of a variety of playback
Platform: |
Size: 198656 |
Author: 李猫猫 |
Hits:
Description: 三种小波阈值降噪方法,很实用,算法简单,实用-[row col]=size(X)
pn=0.0 pd=0.0 pb=0.0 pw=0.0
Platform: |
Size: 1024 |
Author: 康朋新 |
Hits:
Description: PBHelper(PBCOMMENT)是一个专门为PB程序员设计的综合性编程
助手工具。她能帮助PB程序员自动生成PB脚本代码注释、自动缩进美化
代码、自动完成代码、大小写转换,实现不同数据库类型之间的SQL语句
转换等功能。
PBHelper支持PowerBuilder 6.x/7.0/8.0/9.0/10.0/10.5/11.0。(PBHelper (PBCOMMENT) is a comprehensive programming designed for PB programmers
Helper tools. She can help PB programmers automatically generate PB scripts, code annotations, and auto indent Landscaping
Code, automatically complete code, case conversion, to achieve SQL statements between different database types
Conversion function.
PBHelper supports PowerBuilder 6.x/7.0/8.0/9.0/10.0/10.5/11.0.)
Platform: |
Size: 1458176 |
Author: oEagleo
|
Hits: