Archive for July, 2008
PowerBuilder中的六种不同类型的窗口
Monday, July 21st, 2008PowerBuilder提供了六种不同类型的窗口,它们的用途各不相同,下面分别说明:
第一种要介绍的是MAIN类型的窗口,它的特点是可以不依赖于任何其它的窗口,可以独立地存在,一个应用程序中可
以有多个MAIN窗口,你可以在需要的时候在程序中用OPEN函数打开其中的任意一个。此外在MAIN窗口中可以放置需要的各种控件。
第二种类型的窗口是POPUP类型,它的特点是通常都是从其它窗口的脚本中利用OPEN函数打开它,打开后这种类
型的窗口自动成为含有打开脚本的窗口的子窗口。POPUP类型的窗口可以显示在父窗口的外面,但不能被父窗口覆盖,当父窗口最小化或者关闭的时候,它也相
应地最小化或者关闭。
第三种类型的窗口是CHILD类型,它的特点是通常都是从主窗口或者弹出式窗口的脚本中,利用OPEN函数打开它,它可以在父窗口中移动,但不能移出主窗口的工作区,而且当父窗口移动的时候,CHILD窗口也跟着移动。
第四种类型的窗口是RESPONSE类型,它是一种模式窗口,也就是说,当这种类型的窗口被打开之后,输入焦点就切换到这个窗口上,用户只有在对这个窗口进行操作并关闭这个窗口之后才可以使用程序中的其它窗口。
第五种类型的窗口是MDI
FRAME类型,它的特点是在这种类型的窗口中一般不放入控件,而是把这种类型的窗口作为其它类型的窗口的容器,利用这种类型的窗口就可以实现多文档的界面,在容器中的每一个窗口用来显示一个文档。
第六种类型的窗口是MDI FRAME WITH MICROHELP,这种类型的窗口与上一种基本一样,唯一的区别在与这种窗口在工作区的下面带有一个状态条,利用这个状态条可以显示一些操作提示信息。
links for 2008-07-19
Sunday, July 20th, 2008-
1 G free storage
-
25美元一年的空间,可以试试
-
不错的列表,国外壁纸网站
-
给图片生成倒影,在线上传照片或者指定url地址,简单方便。
-
喜欢firefox的不要错过这么好的壁纸啦。。
-
wordpress themes directory
-
在Google reader中加入aiderss的功能,自动将文章打分,可以按级别来选择先看哪部分文章,推荐安装
-
简单简洁的wordpress theme
-
这个模板不错。。
-
漂亮的菜单栏。。。
PowerBuilder文件操作函数总结
Wednesday, July 16th, 2008- FileClose()
功能关闭先前用FileOpen()函数打开的文件。
语法FileClose ( fileno )
参数fileno:integer,指定要关闭文件的文件句柄,该句柄使用FileOpen()函数打开文件时得到返回值Integer。函数执行成功时
返回1,发生错误时返回-1。如果fileno参数的值为NULL,那么FileClose()函数返回NULL。 - FileDelete()
功能删除指定的文件。
语法FileDelete ( filename )参数filename:string类型,指定要删除文件的文件名,其中可以包含路径返回值Boolean。函数执行成功时返回TRUE,发生错误时返回FALSE。如果filename参数的值为NULL,那么FileDelete()函数返回NULL。
SetPointer()
Wednesday, July 16th, 2008SetPointer()
功能设置鼠标指针。
语法SetPointer ( type )
参 数type:Pointer枚举类型,指明要设置为哪种鼠标指针返回值Pointer。返回更换前的鼠标指针,以便于应用程序恢复原有指针。如果参数 type的值为NULL,SetPointer()函数返回NULL。用法type参数的可能取值为:Arrow!、Cross!、Beam!、 HourGlass!、SizeNS!、SizeNESW!、SizeWE!、SizeNWSE!、UpArrow!。
HourGlass!就是变成漏斗!如果Setpointer(HourGlass!)这句话下面执行的代码执行起来会消耗许多时间时
就可以看出鼠标形状变成漏斗。如果Setpointer(HourGlass!)下面并没有什么动作的话,那么就看不出变化。
Share files and get paid with BizHat File Hosting
Monday, July 14th, 2008BizHat File Hosting is a get paid to upload website.
You will get free $1 signup bonus and get 10 dollar for 10000 unique ip download.
Cash will be transfer to your PayPal or Money Bookers account once you have reaches the minimum payout of $5.
Allowed file types: wma, wmv, mpg3, mpg, mpeg, avi, mov, jpg, jpeg, gif, bmp, png, tiff, txt, flv, zip, rar, gz, rm, mp3, doc, xls, wav, pdf, exe
They support FTP uploads!
File Search Engine
Thursday, July 3rd, 2008这是一个文件搜索引擎,英文版的,只支持英文搜索,程序演示:
http://manboo.info/file
下载源程序:
http://depositfiles.com/files/6367989
http://w13.easy-share.com/1700804280.html
上传就可以了,不用数据库的。
What do you think about GPS Tracking?
Wednesday, July 2nd, 2008What is GPS?
The Global Positioning System (GPS) is a satellite navigation system that was developed to determine a precise location almost anywhere on Earth. The technology has since matured into further reaching applications ?monitor the movement of people and things, create maps of the world, get directions without having to stop and ask for help, and be able to tell time with perfect accuracy. Harness the power of satellite navigation and track the movement of your car or truck with a GPS Tracking System.
What is GPS Tracking?
A GPS tracking unit is a device that uses the Global Positioning System to determine the precise location of a vehicle, person, or other asset to which it is attached and to record the position of the asset at regular intervals. With LandAirSea GPS systems, it records not only position, but also velocity, duration of time that the object remains stationary, direction etc.

