nageswaragunupudi wrote:TPreview():lListViewHide is a CLASSDATA. This is a global setting
If you set it to .T. at the beginning of the function Main(), and thumbnails will not be shown in your entire project.
RPrevUserBtns( { |oPreview, oBar| ReportExtend( oPreview, oBar ) } )
function ReportExtend( oPreview, oBar )
DEFINE BUTTON OF oBar ;
RESOURCE 'SAVE' ; // from our resource or bitmap file
TOOLTIP 'Show the Panel' ;
ACTION IIF(oPreview:lListViewHide = .F.,.t.,.f.)
return nil
RPrevUserBtns( { |oPrev,oBar| AddMyButtons( oPrev, oBar ) } )
....
function AddMyButtons( oPreview, oBar )
DEFINE BUTTON OF oBar RESOURCE "MYRES" ACTION MyAction()
DEFINE BUTTON OF oBar .....< more buttons >
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 73 guests