Search found 531 matches: valtype

Return to advanced search

Re: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna

... es el valor que esté devolviendo la expresión Prueba a hacer esto para saber el tipo de valor que hay: olbx101c:acols[4]:bEditWhen:= { || MsgInfo( ValType( olbx101c:aArrayData[olbx101c:nArrayAt][5] ) ), olbx101c:aArrayData[olbx101c:nArrayAt][5] == "1" } Hola Antonio, Gracias por contestar,,,, ...
by elmoiquique
Thu Mar 28, 2024 9:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna
Replies: 7
Views: 183

Re: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna

... es el valor que esté devolviendo la expresión Prueba a hacer esto para saber el tipo de valor que hay: olbx101c:acols[4]:bEditWhen:= { || MsgInfo( ValType( olbx101c:aArrayData[olbx101c:nArrayAt][5] ) ), olbx101c:aArrayData[olbx101c:nArrayAt][5] == "1" }
by Antonio Linares
Thu Mar 28, 2024 8:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna
Replies: 7
Views: 183

Re: Can I get object from handle?

... ! You can do this. In the TSAY application in the window method ::handleEvent() describing the processing of a unique event. For example: if valtype(nMsg)="C" oDlg:AControls[1]:SetText(msg) return endif ::Super... From the application with the button we find the handle of the window ...
by Natter
Thu Apr 13, 2023 5:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can I get object from handle?
Replies: 15
Views: 1259

Re: WBrowse - color fondo cabecera y Congelar columnas- consulta

... hDC, TA_LEFT ) ExtTextOut( hDC, nTop, nLeft + 2, { nTop, nLeft, nBottom, nRight }, cValToChar( aValues[ n ] ) ) endif SetBkColor( hDC, If( ValType( nClrPane ) == "B", nClrPane := Eval( nClrPane ), nClrPane ) ) endif ----> Fin mi código <---- endif else do case case nLineStyle ...
by José
Tue Mar 21, 2023 2:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: WBrowse - color fondo cabecera y Congelar columnas- consulta
Replies: 6
Views: 608

Re: does Fivewin have a Gradient ComboBox ?

...        CASE ii = 3 ; aStruc   := xPara         CASE ii = 4 ; nPointer := xPara      ENDCASE   NEXT   fwlog "DoMyComBo()",nCount, IF(VALTYPE(oSelf) = "O","Object",oSelf) , nIdCtl , VAR2CHAR( aStruc ), nPointerRETURN 0 Parameter a,b,c,d between ...
by Jimmy
Wed Feb 15, 2023 6:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: does Fivewin have a Gradient ComboBox ?
Replies: 7
Views: 479

Re: cGetFile32 initial file

... cFile local nRet DEFAULT lSave := .f. CursorWait() // On cGetFile() that parameter is a boolean for long filenames if nFlags != Nil .and. ValType( nFlags ) != "N" nFlags := Nil endif if ! lSave cSection := "GetOpenFileName" else cSection := "GetSaveFileName" ...
by PAUL SIMM
Mon Nov 28, 2022 1:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cGetFile32 initial file
Replies: 3
Views: 594

Re: Questions about WebView

... oDlg:oClient:Do("Navigate2", "https://www.website/") do while .T. oDk:=oDlg:oClient:GetProp("Document") if valtype(oDk)="U".or.oDk:ReadyState!="complete" WaitMessage() SysRefresh() else lOk:=.T. exit endif enddo if lOk itm:=oDk:getElementById('auto_cdi') ...
by Natter
Fri Nov 25, 2022 9:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Questions about WebView
Replies: 26
Views: 1594

Re: Como convertir un Json a Hash?

Tal ves mi pregunta esta mal hecha. cHs:={=>}hb_jsonDecode(cJs,@cHs)? ValType( cHs )  La función hb_jsonDecode() si me convierte el Json a Hash, ya que ValType(cHs) me devuelve "H", por lo que la pregunta sería, como hago ahora ...
by cnavarro
Fri Oct 28, 2022 3:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como convertir un Json a Hash? (SOLUCIONADO)
Replies: 8
Views: 501

Re: Como convertir un Json a Hash?

Tal ves mi pregunta esta mal hecha. cHs:={=>}hb_jsonDecode(cJs,@cHs)? ValType( cHs )  La función hb_jsonDecode() si me convierte el Json a Hash, ya que ValType(cHs) me devuelve "H", por lo que la pregunta sería, como hago ahora ...
by csincuir
Fri Oct 28, 2022 3:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como convertir un Json a Hash? (SOLUCIONADO)
Replies: 8
Views: 501

PROBLEMA CON FORMATO DE FECHA MYSQL ADO

... APARECE CON FORMATO FECHA -HORA POR EJEMPLO: ? TRANS(oMOV:FIELDS("FECHA"):VALUE,"@E") // RESULTADO 11/08/2022 00:00:00.000 ? VALTYPE(oMOV:FIELDS("FECHA"):VALUE) // RESULTADO T
by Marco Augusto
Thu Oct 27, 2022 2:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: PROBLEMA CON FORMATO DE FECHA MYSQL ADO
Replies: 11
Views: 820

asignar DATA a Var local

... pueda modificarse y no afectar a la DATA? ejemplo ........ DATA data1 INIT { 1, 2, 3, 4, 5 } ........... LOCAL midato := {} midato := ::data1 ? valtype(::data1[3]) // N midato[3] := STR(midato3) ? valtype(::data1[3]) // C .............. Me esta cambiando el valor de ::dato1 y quisiera manipular ...
by wmormar
Mon Jun 06, 2022 5:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: asignar DATA a Var local
Replies: 2
Views: 303

Re: variabili strane

... con le get. Potresti fare un test per vedere se esistono e si cosa contengono. IF type('n1') = 'U' alert("non definita") else alert(valtype(n1)) alert(n1) endif è una pista di ricerca !
by mauri.menabue
Sun Apr 03, 2022 1:19 pm
 
Forum: All products support
Topic: variabili strane
Replies: 6
Views: 625

Re: Finding the caption of a Hash

... DEFAULT lValore := .f. DEFAULT lUpper := .t. IF lUpper xKey := upper(xKey) endif IF HB_ISHASH(hVars) .and. HHasKey( hVars , xKey ) IF lValore IF VALTYPE(hVars[xKey]) == 'N' .AND. hVars[xKey] > 0 lReturn := .t. ELSEIF VALTYPE(hVars[xKey]) == 'C' .and. ! empty(hVars[xKey]) lReturn := .t. ELSEIF ...
by Maurizio
Fri Apr 01, 2022 3:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Finding the caption of a Hash
Replies: 6
Views: 410

Re: Focus error on this new project

... already open. In best way, I just open a extra Xbrowse for looking up (customers, products,...) // from the sample, but not mine HideDlg( 1 ) IF ValType( oDlgRB[ 1 ] ) <> "O" .... endif oDlgRB[ 1 ]:nStyle := nOR( WS_CHILD ) // ,WS_THICKFRAME
by Marc Venken
Thu Dec 09, 2021 2:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Focus error on this new project
Replies: 16
Views: 1101

Re: ActiveX - CREATEOBJECT and singleton pattern

... o1 := CreateObject( "PaymentService.BluetoothConnector" ) o2 := TOleAuto():New( o1:Invoke( "GetInstance" ) ) MsgInfo( ValType( o1 ) ) // -> "O" MsgInfo( ValType( o2 ) ) // -> "O" ////////////////////////////////////////////
by metro2
Wed Sep 29, 2021 11:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ActiveX - CREATEOBJECT and singleton pattern
Replies: 21
Views: 1596
Next

Return to advanced search