I define Resource Dialog and bStart this function
- Code: Select all Expand view RUN
METHOD Build_PROG_ToolBar() CLASS TCustMsf
::oImgLst1 = TImageList():New( 24, 24 )
::oImgLst1:AddMasked( TBitmap():Define( "B_DB_FIRST_XP" ,, ::oPGA_Dlg ), nRGB( 255, 0, 255 ) )
::oImgLst1:AddMasked( TBitmap():Define( "B_DB_PREV_XP" ,, ::oPGA_Dlg ), nRGB( 255, 0, 255 ) )
::oImgLst1:AddMasked( TBitmap():Define( "B_DB_NEXT_XP" ,, ::oPGA_Dlg ), nRGB( 255, 0, 255 ) )
::oImgLst1:AddMasked( TBitmap():Define( "B_DB_LAST_XP" ,, ::oPGA_Dlg ), nRGB( 255, 0, 255 ) )
::oToolBar1 = TToolBar():New( ::oPROG_Dlg, 52, 52, ::oImgLst1 )
::oToolBar1:AddButton( { || ::JumpRecData( 1, ::oPROG_Brw1 ) }, "記錄移到第一筆" , "第一筆" )
::oToolBar1:AddButton( { || ::JumpRecData( 2, ::oPROG_Brw1 ) }, "記錄移到上一筆" , "上一筆" )
::oToolBar1:AddButton( { || ::JumpRecData( 3, ::oPROG_Brw1 ) }, "記錄移到下一筆" , "下一筆" )
::oToolBar1:AddButton( { || ::JumpRecData( 4, ::oPROG_Brw1 ) }, "記錄移到最後一筆" , "最後一筆" )
DEFINE STATUSBAR OF ::oPROG_Dlg PROMPT "檢視此客戶之一般報價單"
RETURN NIL
I found ToolTip's message not show STATUSBAR
Any idea for it?
FWH 2.6 SEP+BCC55+xHarbour 0.99.71
Regards,
Richard