Antonio Linares wrote:http://forums.fivetechsupport.com/viewtopic.php?f=16&t=32792&start=0
Horizon wrote:Antonio Linares wrote:http://forums.fivetechsupport.com/viewtopic.php?f=16&t=32792&start=0
Hi Antonio,
Is MSVC 2015 libs included?
DEFINE RIBBONBAR oRib OF oDlg;
HEIGHT 120;
OPTION 2;
PROMPT "Regole per l'evento", "Gestione evento", "Controlli su eventi", "Utility", "Esportazioni", "Funzioni"
Error BASE/1082 Argument error: -
#include "Fivewin.ch"
#include "Ribbon.ch"
FUNCTION MAIN()
LOCAL oDlg
DEFINE DIALOG oDlg;
SIZE 800, 600
ACTIVATE DIALOG oDlg;
ON INIT BUILDRIBBONBAR( oDlg );
CENTER
RETURN NIL
STATIC FUNCTION BUILDRIBBONBAR( oDlg )
LOCAL oRib
DEFINE RIBBONBAR oRib OF oDlg;
HEIGHT 120;
OPTION 2;
PROMPT "Regole per l'evento", "Gestione evento", "Controlli su eventi", "Utility", "Esportazioni", "Funzioni"
oRib:SetSize( oDlg:nWidth )
RETURN NIL
#include "Fivewin.ch"
#include "Ribbon.ch"
FUNCTION MAIN()
LOCAL oDlg
DEFINE DIALOG oDlg;
SIZE 800, 600
ACTIVATE DIALOG oDlg;
ON INIT BUILDRIBBONBAR( oDlg );
CENTER
RETURN NIL
STATIC FUNCTION BUILDRIBBONBAR( oDlg )
DEFINE RIBBONBAR OF oDlg
RETURN NIL
#include "Fivewin.ch"
#include "Ribbon.ch"
FUNCTION MAIN()
LOCAL oWnd
DEFINE WINDOW oWnd
DEFINE RIBBONBAR OF oWnd
ACTIVATE WINDOW oWnd;
CENTER
RETURN NIL
METHOD New( oWnd, aPrompts, bAction, nOption,;
nWidth, nHeight, nTopMargin, nClrPaneRB, nClrBoxOut, nClrBoxIn,;
nClrBoxSelOut, nClrBoxSelIn, aGrad, aGradFld, aGradHigh, aGradOver, l2010,;
nStart, l2013, l2015 ) CLASS TRibbonBar
local oDlg, n, oBrush, hBmp
DEFAULT l2010 := .F., l2013 := .F., l2015 := .F.
DEFAULT aPrompts := { "One", "Two", "Three" },;
oWnd := GetWndDefault(),;
nOption := 1,;
nWidth := 200, nHeight := BARHEIGHT,;
nStart := 0, nTopMargin := 25 // line 239
::hBmpBrushEx = GradientBmp( Self, ::nRight - ::nRightMargin - 3, ::nBottom - ::nTopMargin + 1, ::aGrad )
cnavarro wrote:Enrico, change line 239 in class
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 87 guests