Search found 335 matches: npos

Return to advanced search

Re: GetRect() difference

... with your solution, but now i found that I also use it in my programs, to know the location of the mail window, when closing the program. I saved nPos[2] and nPos[3] of oMenuWnd:GetRect() to know the location, but now it is not OK anymore. How can I get the location of the window, so I can restore ...
by Marc Vanzegbroeck
Fri Aug 19, 2016 12:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetRect() difference
Replies: 7
Views: 1297

Re: TDolphin com FastrReport

... de cada campo, es decir: Si es NombreCliente -> devolverá 1 Si es TotalVentas-> devolverá 2 function frGetValue(cField,aFrItems) local nPos:=0 nPos:=ascan(aFrItems,{|v| upper(alltrim(v))=upper(alltrim(cField))}) if nPos=0 nPos:=1 end if return nPos Fundamentalmente seria sustituir lo ...
by Mike Serra
Wed May 25, 2016 8:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TDolphin com FastrReport
Replies: 1
Views: 352

New FTDN April/Abril 2016 (FWH 16.04)

... GRAPH_TYPE_POINTS these new datas have been added: DATA aBarCoors // Array with painted points coordinates {nY, nX, nProfundidad, nAncho, nSerie, nPos, nVal} DATA aPoints // Array with painted points coordinates {nY, nX, nSerie, nPos, nVal} How to use it: - Define the tooltip as a codeblock (oGraph:cToolTip) ...
by Antonio Linares
Thu May 12, 2016 6:51 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2016 (FWH 16.04)
Replies: 8
Views: 8232

Re: Forma correcta de configurar clase TSBUTTON...alguna ayuda?

... aFile, bAction, bWhen, oFont, c Msg, cToolTip, nHelpId, cBorder, lCancel, lAdjust, aColors, nCaptPos, lOpaque, cShape, oPBrush, bMenu, lGroup, nPos, bDrop, lUpdat .\prg\TSBUTTON.PRG(539) Error E0019 #error: 'Class "TSButton" not declared for method: ReDefine( nId, aResource, aFile, ...
by Compuin
Mon May 02, 2016 2:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Forma correcta de configurar clase TSBUTTON...alguna ayuda?
Replies: 14
Views: 4454

Re: Busar en un array y que devuelva la posicion

Otro ejemplo sencillo: Ascan devuelve la posicion del elemento, si lo encuentra. Caso contrario devuelve 0.
Local array:={'CADIZ','MALAGA','SEVILLA','HUELVA','CORDOBA'}, cVariable:="SEVILLA"
nPos := Ascan(array,cVariable)
by FranciscoA
Mon Apr 25, 2016 3:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Busar en un array y que devuelva la posicion
Replies: 3
Views: 548

Re: possible xBrowse-refresh with another Dbf ?

... SIZE 80, 30 PIXEL ; BORDER ; PROMPT " &Jan." ; FILENAME c_Pfad1 + "Kalender.Bmp" ; ACTION ( STAT_OPEN1("RECH1"), nPos := 1, ; oBrw1:cAlias := Alias(), ; oBrw1:Refresh(), ; cTitel := "Januar", oTitel1:Refresh() ) LEFT best regards Uwe :D
by ukoenig
Mon Nov 09, 2015 12:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: possible xBrowse-refresh with another Dbf ?
Replies: 13
Views: 4067

Re: ADO RDD xHarbour

... it to move to that bookmark. ors:bookmark := 1st ele. Eof recno doesnt matter. You confirmed that the number of eles in the array was correct and npos = 0 wich means not found! You confimed in while !eof() that the indexkey(0) its correct. I cant see what ghost record has to do with it or go top ...
by AHF
Thu Nov 05, 2015 9:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 480450

Re: ADO RDD xHarbour

Please place a msginfo in ado.seek after ELSE //WITH :FILTER OR MOE THAN ONE FIELD and check if it is called.

Yes, is called
You can place another one in the else for not softseek reporting npos.

shows 0
by byte-one
Thu Nov 05, 2015 4:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 480450

Re: ADO RDD xHarbour

Gunther,

Please place a msginfo in ado.seek after ELSE //WITH :FILTER OR MOE THAN ONE FIELD and check if it is called.

You can place another one in the else for not softseek reporting npos.
by AHF
Thu Nov 05, 2015 4:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 480450

Re: ERASE ELEMENT ARRAY

Hello..

nPos := 4

ADEL(aDetVen, nPos, .t.) // .t. resize array
by Willi Quintana
Wed Oct 07, 2015 11:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ERASE ELEMENT ARRAY
Replies: 10
Views: 1389

Re: MODIFICAR UN GET NUMERICO

... las siguientes lineas: if ::oGet:Type == "N" .and. ( Chr( nKey ) == "." .or. Chr( nKey ) == "," ) IF ALLTRIM(STR(::npos))='1' mivar1=::oGet:buffer mivar1=VAL(mivar1) IF mivar1>0 mivar1=mivar1-INT(mivar1) ENDI mivar1=STR(mivar1) ::oGet:VarPut( VAL(mivar1) ) ::Refresh() ...
by Maggiro
Tue Sep 29, 2015 2:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: MODIFICAR UN GET NUMERICO (solucionado)
Replies: 17
Views: 4337

Re: MODIFICAR UN GET NUMERICO

... cuando entramos a modificar el campo GET numerico con un valor ya asignado y el cursor dentro del GET se encuentre al inicio del campo if ::oGet:nPos:=1 Si pulsamos en ese momento el punto decimal queremos que el método borre el valor previo de nuestra variable le asigne un valor CERO mas PUNTO ...
by Maggiro
Sun Sep 27, 2015 12:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: MODIFICAR UN GET NUMERICO (solucionado)
Replies: 17
Views: 4337

Re: Cursor get coloreado al editar (Solucionado)

... sea para un solo get o en todos los controles del Get. He leido el otro parametro que no le entiendo para que funcion se utiliza SetPos() y luego nPos o SetPos(nPos() para que servira ese metodo en los gets y demas controles...??? Espero que el maestro Antonio Linares nos apoye con ese detalle ...
by ACC69
Thu Aug 27, 2015 2:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cursor get coloreado al editar (Solucionado)
Replies: 29
Views: 5797

Re: How to fill web page ??(SOLVED)

Thanks Guys,

The problem was solved changing the code for this:

nPos := 4
oAct:Document():All:Item("grupo_radio",nPos):Checked := "true"
by vilian
Mon Aug 24, 2015 10:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to fill web page ??
Replies: 4
Views: 1104

New FTDN July/Julio 2015 (FWH 15.07)

... combobox * New functions in file: NONCLIENT.C - GETNONCLIENT and SETNONCLIENT, use and modify struct NONCLIENTMETRICS Parameters GETNONCLIENT( nPos ) -> look nPos in the struct NONCLIENTMETRICS Parameters SETNONCLIENT( nPos , uVal, bActWinIni ) - SETWHSCROLL( hWnd , nPos , nVal, ActWinIni ...
by Antonio Linares
Wed Aug 12, 2015 7:02 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio 2015 (FWH 15.07)
Replies: 0
Views: 1203
PreviousNext

Return to advanced search