... 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 ...
... 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 ...
... 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) ...
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)
... 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 ...
... 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 ...
... 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 ...