window lw_win lw_win=w_main.getactivesheet() ls_xz=lw_win.title
pb的窗體經常需要全屏顯示,pb本身沒有提供這樣的方法,好在pfc提供了,十分簡單。 例如一個窗體,有一條從左到右的橫線ln_1,一個靜態文本st_1,一個數據窗口dw_1,代碼: // 啓用服務 of_SetResize(true)
用pb11開發webservice真是很簡單,現在我把搭建的過程簡單描述一下。 1、服務端 打開pb11,選擇菜單file->new->target->.net web service,然後一路next,最後生產的項目文件中至少包含三項,
//字符串轉換爲16進制string ls_hex = '',hex ='' char lch_hex[0 to 15] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a',
也就是PB數據窗怎麼去掉某一列重複值。。。。。。 如顯示結果如下: 想到得到如下顯示結果: 怎麼來做?其實吧,很簡單,只需要打開數據窗對象,單擊“rows”菜單,找到“Suppress Repeating Va
//==================================================================== // 描述:timestamp 獲取時間戳 //-----------------------
$PBExportHeader$split.srf $PBExportComments$字符串拆分函數 global type split from function_object end type forward prototype
global type gf_dw_colcopy from function_object end type forward prototypes global function long gf_dw_colcopy (powerobj
//==================================================================== // 說明:獲取EXE全路徑 //------------------------------
datawindow 批量複製列 long i dw_2.setredraw(false) for i=1 to dw_1.rowcount() dw_2.insertrow(0) next dwobject dwo_a,dwo
//==================================================================== // 函數: gf_firstday() //------------------------
global type gf_dw2json from function_object end type forward prototypes global function string gf_dw2json (powerobject
global type gf_replace from function_object end type forward prototypes global function integer gf_replace (ref strin
forward global type uo_datastore from datastore end type end forward global type uo_datastore from datastore end ty
global type gf_pass from function_object end type forward prototypes global function string gf_pass (string as_pass,
global type gf_pym from function_object end type forward prototypes global function string gf_pym (string inputstring