Search found 534 matches: valtype

Return to advanced search

Re: Problema menu con MenuBegin()

... codigo que tienes para no modificarlo, modifica PDMENU.PRG asi ( lo que está en negrita ) oMenuP := LastMenu() if !empty( oMenuP ) if !lSystem if Valtype( l2007 ) != "L" DEFAULT l2007 := .F. endif if Valtype( l2010 ) != "L" DEFAULT l2010 := .F. endif if Valtype( l2015 ) != ...
by Compuin
Tue Nov 06, 2018 7:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema menu con MenuBegin()
Replies: 21
Views: 3033

Re: Problema menu con MenuBegin()

... codigo que tienes para no modificarlo, modifica PDMENU.PRG asi ( lo que está en negrita ) oMenuP := LastMenu() if !empty( oMenuP ) if !lSystem if Valtype( l2007 ) != "L" DEFAULT l2007 := .F. endif if Valtype( l2010 ) != "L" DEFAULT l2010 := .F. endif if Valtype( l2015 ) != ...
by cnavarro
Tue Nov 06, 2018 7:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema menu con MenuBegin()
Replies: 21
Views: 3033

Re: Crear function para Script de Harbour

... //----------------------------------------------------------------------------// FUNCTION DoBreak( oError ) local cInfo := oError:operation, n if ValType( oError:Args ) == "A" cInfo += " Args:" + CRLF for n = 1 to Len( oError:Args ) MsgInfo( oError:Args[ n ] ) cInfo += "[" ...
by Compuin
Thu Aug 16, 2018 6:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear function para Script de Harbour
Replies: 31
Views: 3584

Re: Objeto para Array ou Hash (RESOLVIDO)

... l := .f. END aData[ n ] := Lower( Left( aData[ n ], 1 ) ) + ; SubStr( aData[ n ], 2 , 1 ) + ; Lower( SubStr( aData[ n ], 3 ) ) //if Valtype( v ) == "A" //FWLOG aData[ n ] //endif aData[ n ] := { n, aData[ n ], v, l } next n return aData
by MGA
Tue Jul 31, 2018 1:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Objeto para Array ou Hash
Replies: 3
Views: 777

Re: c5tooltip and btnbmp

... or move the window or resize it and remove the mouse on a btnbmp it no longer shows the tooltip This is not normal there is a bug... if I make if ValType( cToolTip ) == "B" cToolTip = Eval( cToolTip,self ) endif it call the action on eval() ok but then it Open a window ( see METHOD ShowToolTip) ...
by Silvio.Falconi
Mon Jul 16, 2018 4:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: c5tooltip and btnbmp
Replies: 6
Views: 911

Re: c5tooltip and btnbmp

... nClrFore, nClrBack, nWidth local nDelayTime, nDelayType DEFAULT nCol := 7, nRow := ::nHeight() + 7, ; cToolTip := ::cToolTip if oToolTip == nil if ValType( cToolTip ) == "B" cToolTip = Eval( cToolTip ) // Modify this //cToolTip := Eval( cToolTip, Self ) endif .../... If you do not want ...
by cnavarro
Mon Jul 16, 2018 11:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: c5tooltip and btnbmp
Replies: 6
Views: 911

Re: errror on :bCellToolTip

correct with

:bCellToolTip := { |oCol|If(valtype(oCol:Value)="L",oCol:cHeader + " " + oBrw:aRow[ 1 ] + CRLF + if(oCol:Value,"Occupato","Libero" ),) }
by Silvio.Falconi
Tue Jul 10, 2018 11:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: errror on :bCellToolTip
Replies: 2
Views: 531

Re: several questions about GET class

... libs ) . Changes for numeric gets . ( in test ) https://www.dropbox.com/s/oqwygwfuao1taux/librerias.zip?dl=0 use : local nNum := 0 // nNum -> valtype numeric @ 40, 90 GET oGet1 VAR nNum OF oDlg PICTURE "9999.99" TOOLTIP "a string with cross" SIZE 250, 25 Not use pictures ...
by mastintin
Thu Jul 05, 2018 1:31 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: several questions about GET class
Replies: 14
Views: 5572

Re: Pasar una funcion como parametro a otra funcion en un PRG...

... using the expression @<funcName>(), or dynamically during execution with the help of the macro: &("@<funcName>()"). Valtype() returns S for such pointers." proc main()   local funcSym   funcSym := @str()   ? funcSym:name, "=>", funcSym:exec( ...
by nageswaragunupudi
Sun May 27, 2018 10:27 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pasar una funcion como parametro a otra funcion en un PRG...
Replies: 2
Views: 793

Re: Multiple Dimension Array in Combobox

... "id" ):Value cDat2 := oSqlLoad:Fields( "Vessel Name" ):Value cDat3 := oSqlLoad:Fields( "Voyage CSA" ):Value IF (VALTYPE(cDat1)<>"U") .AND. (VALTYPE(cDat2)<>"U") .AND. (VALTYPE(cDat3)<>"U") AADD( aReturn, { cDat1, ...
by joseluisysturiz
Sun May 27, 2018 2:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple Dimension Array in Combobox
Replies: 24
Views: 4168

Re: Multiple Dimension Array in Combobox

... "id" ):Value cDat2 := oSqlLoad:Fields( "Vessel Name" ):Value cDat3 := oSqlLoad:Fields( "Voyage CSA" ):Value IF (VALTYPE(cDat1)<>"U") .AND. (VALTYPE(cDat2)<>"U") .AND. (VALTYPE(cDat3)<>"U") AADD( aReturn, { cDat1, ...
by cdmmaui
Sat May 26, 2018 4:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple Dimension Array in Combobox
Replies: 24
Views: 4168

Re: Pasar una funcion como parametro a otra funcion en un PRG...

... using the expression @<funcName>(), or dynamically during execution with the help of the macro: &("@<funcName>()"). Valtype() returns S for such pointers." proc main()   local funcSym   funcSym := @str()   ? funcSym:name, ...
by hmpaquito
Sat May 26, 2018 10:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pasar una funcion como parametro a otra funcion en un PRG...
Replies: 2
Views: 793

Re: Tdolphin

... creando esa funcion Function LenVar( cVar,ctype,nLen ) If cType="C" cVar:=cVar+Space(nlen-Len(cVar)) ElseIf cType="D" If Valtype( cVar)="C" cVar:=ctod("") Endif Endif Return cVar cVar es el campo de la consulta ctype el tipo de dato del campo nLen es ...
by CARLOS ATUNCAR
Mon May 14, 2018 2:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tdolphin
Replies: 13
Views: 3222

Re: buttons and datepick on xbrowse

... redefine button oBtn[2] id 103 of odlf action(lSelecao := .f., oDlf:End()) cancel oDlf:lHelpicon := .f. activate dialog oDlf on init(IIf(ValType( nRow ) != 'N', WndCenter(oDlf:hWnd), oDlf:move(nRow,nCol))) return(dDate) /*************************************************************************************************************/ ...
by MGA
Wed May 09, 2018 10:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: buttons and datepick on xbrowse
Replies: 14
Views: 3351

Re: buttons and datepick on xbrowse

... redefine button oBtn[2] id 103 of odlf action(lSelecao := .f., oDlf:End()) cancel oDlf:lHelpicon := .f. activate dialog oDlf on init(IIf(ValType( nRow ) != 'N', WndCenter(oDlf:hWnd), oDlf:move(nRow,nCol))) return(dDate) /*************************************************************************************************************/ ...
by MGA
Wed May 09, 2018 1:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: buttons and datepick on xbrowse
Replies: 14
Views: 3351
PreviousNext

Return to advanced search