|
您的位置:学院
>> 编程开发 >>
PowerBuilder >> PB5中如何实现诸如Ms word之类的启动画面
|
PB5中如何实现诸如Ms word之类的启动画面
|
做一个popup窗口(w_splash)设置titlebar,resizable,border为false,上面放一个picture button(pb_logo)设置orginal size为true,enabled为false,disabled file name放上你要的图的名字。并在该窗口写下下面事件的sprite:
open event:timer(10, this)
timer event:close(this)
close event:timer(0, this)
resize event:pb_logo.move(0, 0)
this.resize(pb_logo.width, pb_logo.height)
application的open event:open(w_main)
open(w_splash, w_main)
|
|