topic
stringlengths
1
63
text
stringlengths
1
577k
oDlg:bGotFocus No funciona con recursos en DLL
Buanas tardes, Hasta ahora no había usado "oDlg:bGotFocus" y, al querer implementarlo me encuentro con que no funciona (tampoco el oDlg:bLostFocus). Aclaro que tengo los recursos definidos en una DLL que actualizo con Pelles-C. Ej. que no funciona: [code=fw:1kfmirvg]<div class="fw" id="{CB}" style="font-family: mon...
oDlg:bGotFocus No funciona con recursos en DLL
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=25706&start=30#p143679">viewtopic.php?f=3&t=25706&start=30#p143679</a><!-- l -->
oDlg:end()
Ciao a tutti Non capisco come posso stabilire quando un 'DIALOG' non e' piu' presente dal momento che il suo valtype risulta ancora 'O' dopo aver applicato il metodo end (oDlg:end()) Allego un esempio di prova. [code=fw:qqwk5j83]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D...
oDlg:end()
Per una DIALOG modale è garantito che questa sia chiusa dopo l'ACTIVATE DIALOG. EMG
oDlg:omsgbar
I must refresh the msg of the oDlg:oMsgbar with a news string I try with oDlg:oMsgBar:cMsg := cMytext or oDlg:oMsgBar:cMsgdef:= cMytext and then oDlg:oMsgBar:refresh() but give me error not found cMsg or cMsgdef how I can resolve ?
oDolphin:Seek( ) QUERY PAGINADO
Estimado Daniel y colegas.. como buscar, en un qry. PAGINADO con medio millón de registros ? [code=fw:12qzcemi]<div class="fw" id="{CB}" style="font-family: monospace;">cQry += <span style="color: #ff0000;">" FROM clientes order by codigo LIMIT 1000"</span><br />oCte := ::<span style="color: #000000;">oCon</span>:<sp...
oDolphin:Seek( ) QUERY PAGINADO
Hola no es posible, el seek solo funciona sobre al consulta activa, si tienes activa una paginacion la busqueda se hace por la la cantidad de registros de que contenga la pagina
oDolphin:Seek( ) QUERY PAGINADO
Lo que puedes hacer, es pedir al usuario una parte del nombre a buscar y realizar una consulta por esa parte, eso te va a traer solamente los registros que lo contengan puedes hacerlo al principio, al final o en cualquier parte del dato acortas muchos las consultas cuando trabajas con tablas con gran cantidad de regis...
oDolphin:Seek( ) QUERY PAGINADO
Héctor gracias por tu sugerencia, en mi caso solo quiero buscar un registro, con un campo numérico: oQry:Seek( cstr( nCodigo ), "CODIGO" ) la tabla solo tiene un registro con ese código, con tu estrategia como seria? saludos. gracias.
oDolphin:Seek( ) QUERY PAGINADO
Cesar Sería de la siguiente manera Oqry (es la conexión al servidor) if empty(ncodigo) return .f. endif Resul:=Oqry:query('select field, field from nom_base where codigo like '+ " '%" +alltrm(str( nCodigo ))+" %' " ) if Resul:lastrec() = 0 Resul:end() Msginfo('No existe ninguna coincidencia",' Sin ...
oDolphin:Seek( ) QUERY PAGINADO
Hector, excelente explicacion, lo voy a llevar acabo gracias. saludos.
oExcel:Quit()
To All I use Ole to create excel files and when I finish .. I always close Excel with oExcel:Quit() .. unfortunately if I open the task manager I still see Excel running as an open task. When I quit my application .. the Excel task closes. What am I missing to make sure Excel close and not linger as an open process? ...
oExcel:Quit()
Try oBook:Close() oExcel:Quit() oExcel := Nil
oExcel:Quit()
Another solution forces EXCEL to be closed ( or define any other app ) [color=#0000FF:3emdxajv][b:3emdxajv]WINEXEC( "taskkill /F /IM EXCEL.EXE"[/b:3emdxajv][/color:3emdxajv] call [color=#0000FF:3emdxajv]taskkill /?[/color:3emdxajv] to get the parameters regards Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.g...
oExcel:Quit()
One of the problems is If there is an Excel error or prompt you might loose control of the excel connection. Sometime I turn on the visibility so I can see if there are any messages from Excel program. Also before trying to create a file from excel, I have started checking for the (.xlsx) files existence and deleting i...
oExcel:Quit()
Please, <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=22&t=32928">viewtopic.php?f=22&t=32928</a><!-- l -->
oExcel:Quit()
[quote="Rick Lipkin":2w6jzudw]To All I use Ole to create excel files and when I finish .. I always close Excel with oExcel:Quit() .. unfortunately if I open the task manager I still see Excel running as an open task. When I quit my application .. the Excel task closes. What am I missing to make sure Excel close and n...
oExcel:Quit()
[quote="cnavarro":fs7tkosd]Try oBook:Close() oExcel:Quit() oExcel := Nil[/quote:fs7tkosd] Mr Cristobal's advice works for me. After oExcel := nil, the excel goes out of memory.
oExcel:Quit()
[quote="nageswaragunupudi":2ee34ene][quote="cnavarro":2ee34ene]Try oBook:Close() oExcel:Quit() oExcel := Nil[/quote:2ee34ene] Mr Cristobal's advice works for me. After oExcel := nil, the excel goes out of memory.[/quote:2ee34ene] It is only needed if oExcel is a static, public or private variable. I recommend to use ...
oExcel:Quit()
Enrico, Please, you can put a small example using a local variable?
oExcel:Quit()
Here it is: [code=fw:2temyehg]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><br /><br /><span style="color: #00C800;">FUNCTION</span> MAIN<span style="color: #000000;">&#40;</span><span style="color: #00000...
oExcel:Quit()
Ah !, Ok, I understand, only in the event that Excel does not remain open
oExcel:Quit()
To All I have been updating some old code especially where all variables are defined Static at the top of the reports .. part of the code upgrade was to remove all the Statics and use Local's instead. In many cases oExcel was not defined at all ( as in this case ) .. Once I re-defined oExcel and oSheet as local to my...
oExcel:Quit() sin grabar (ToleAuto)
Sres, una consulta, estoy usando una hoja excel preexistente, solo para cargar datos e imprimir, hasta ahi todo Ok, pero para finalizar utilizo : oExcel:Quit() Si finaliza, pero el problema es que me pregunta "Desea guardar los cambios efectuados en <nombre de hoja>" Lo que puntualmente necesito es que NO me pregunt...
oExcel:Quit() sin grabar (ToleAuto)
::oWorkBook:SaveAs(cFileXls) ::oExcel:Visible = .T. // ::oExcel:Quit() ::Excel := Nil saludos.
oExcel:Quit() sin grabar (ToleAuto)
Cesar, gracias por tu respuesta, lo acabo de probar y ya no me pregunta si grabo o no la hoja, pero al terminar la rutina y regresar al programa a continuar veo que deja el Excel cargado en memoria, la idea es que imprima y lo cierre. Gracias de todas formas
oExcel:Quit() sin grabar (ToleAuto)
// ::oExcel:Visible = .T. ::oExcel:Quit()
oFld:LoadPages and RESIZE16
Hi, is there any way to apply the RESIZE16 clause to folder pages loaded from resources ? Thanks in advance. Best Regards, Marco Turco
oFld:LoadPages and RESIZE16
Marco, You have to modify Class TFolder Method LoadPages to admit a third parameter: METHOD LoadPages( aResNames, bRedefineControls, lResize16 ) CLASS TFolder and then issue an ACTIVATE DIALOG oDlg ... RESIZE16 if lResize16 is true
oFld:SetColor( ""N/G"" ) doesn't work ?
Hello, I wanted to change from Gradient to Single-Color with [color=#FF0000:1uadl9il]oFld:SetColor( "N/G" )[/color:1uadl9il] It seems, it doen't work. I tested with < Testfld3.prg > with the same result. To get it working, I used the Gradient-function with two same colors. [img:1uadl9il]http&#58;//www&#46;pflegeplu...
oFld:Update doesn't refresh the xbrowse
Hi all, it seems that having a folder with an xbrowse inside and changing a value into the xbrowse then the xbrowse is not refreshed using the oFld:Update method()
oFld:Update doesn't refresh the xbrowse
Marco, Did you specify the OF clause of the browse? Regards, James
oFld:Update doesn't refresh the xbrowse
Yes, the problem appears on xbrowse over a folder, anyway I will try to make a self-contained.....
oFld:Update doesn't refresh the xbrowse
Mr. Marco Please assign oBrw:lUpdate := .t. Also as Mr. James suggested, make sure you have defined xbrowse as "of oFld". If you have used the clause "UPDATE" while defining XBrowse, at present, this clause is only dummy and is not really setting oBrw:lUpdate := .t.. Let us expect this clause will work correctly f...
oFld:Update doesn't refresh the xbrowse
Ok, solved. I didn't know that the "UPDATE" clause was a dummy, now with oFld:lUpdate=.t. all runs fine. Thanks for your quick support, very appreciated.
oFolder:SetColor()
I Tried this and this does not work. Is there a way to change the color of a folder. Thanks Willy.
oFolder:SetColor()
Willy, If you are using XP themes then you can't change the folder color You can change the color of the dialogs that the folder manages oFld:aDialogs
oFolder:SetColor()
Thanks Antonio, I have also tried with oFold1:aDialogs[1]:Setcolor() But this does also not work
oFolder:SetColor()
Hello Antonio, could you please post a bit of code how to change the color of the folder dialogs. Thanks in advance Otto
oFolder:SetColor()
[code:1wt0gu26]1 24 "Windows&#46;Man"[/code:1wt0gu26] When you use this line in your Resources file, it will not work Otherwise you can use this [code:1wt0gu26]oDlg&#58;SetColor&#40;Rgb&#40;0,0,0&#41;,Rgb&#40;200,200,255&#41;&#41; oFold1&#58;SetColor&#40;Rgb&#40;0,0,0&#41;,Rgb&#40;200,200,255&#41;&#41; oFold1&#58;...
oFolder:SetColor()
Thank you, Willy. It is working. Do you also know how to change the TAB of the folder? Thanks in advance, Otto
oFolder:SetColor()
Try assigning oFolder:aPrompts[ n ] and refresh the folder (not tested). EMG
oFolder:SetColor()
How do you assingn? I tried oFld:aPrompts[ 1 ]:SetColor(Rgb(0,0,0),Rgb(168,207,110)) but get no exported method. Regards, Otto
oFolder:SetColor()
[quote="Otto":101w1jri]Do you also know how to change the TAB of the folder?[/quote:101w1jri] I thought you wanted to change the prompt of a TAB. EMG
oFont
I dont understand why LOCAL oFont := TFONT():NEW( "SEGOE UI", 0, - 12 , .F., .F.,,,,,,,,,,, ) is bigger than LOCAL oFont := TFONT():NEW( "SEGOE UI", 0, 12 , .F., .F.,,,,,,,,,,, ) Tx U
oFont
It's an expected Windows API behavior. EMG
oFont
The negative sign really means points instead of pixels. Without the negative it means pixels. So, 0,-12 is a 12 point font. 0,12 is a font 0 pixels wide and 12 pixels high. I suspect the zero defaults to something larger than 0. James
oFont
A point is 1/72 of an inch, so a 12 point font would be 12/72 inch. This is independent of the device that is displaying the font. Pixels are dependent on the device (screen, printer) so they would be different heights on different devices. For this reaon you would generally want to use fonts defined in points rather ...
oFont
Hello, You can use my < Fontpainter >, to get all Informations, You need. The will be a new Release in a short Time with Background ( Brush-, Gradient- and Image-Selection ) <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=18085&p=94745&hilit=fontpaint#p94745">viewtopic....
oFtp:DIRECTORY('*.*'""HD"") -> Binary
Hola de nuevo, Soy nuevo en lo relacionado a FTP. Ya cuento con un sito FTP pero no he logrado bajar archivos aun tomando en cuenta todos los ejemplos que he visto. El problema radica basicamente en que al abrir un oFtp y despues usar oFtp:DIRECTORY('*.*',"HD") con xbrowse siempre me da elementos que dicen "Binary",...
oFtp:DIRECTORY('*.*'""HD"") -> Binary
Please check your landing directory while connecting FTP. Please check the folder name, I believe that it is case sensitive. Please verify that you have permission in the directory which you are trying to list. I check the availability of a file in a particular folder using the below given code [code=fw:1iwbtw79]<div...
oFtp:DIRECTORY('*.*'""HD"") -> Binary
A ver si te sirve este sample, yo lo hago así: [code=fw:1w1jpwmg]<div class="fw" id="{CB}" style="font-family: monospace;"><br />   <span style="color: #B900B9;">// Chequeo de Conexión</span><br />   MsgRun<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Conectando con FTP..."</span>, <span st...
oFtp:Directory() devuelve nombres erroneos
Hola, El metodo Directory de la clase oFtp devuelve, algunas veces, nombres de ficheros con caracteres extraños y/o incluyendo varios archivos en el mismo nombre ? El asunto me viene pasando desde hace varios años, pero sólo hoy me he atrevido a explicar. No he visto este asunto referenciado en el foro. ¿ Alguna ide...
oFtp:Directory() devuelve nombres erroneos
Mira se ayuda: [url:74pntr75]https&#58;//www&#46;4shared&#46;com/rar/j7hmst-Jba/meuftp&#46;html[/url:74pntr75] Saludos.
oFtp:Directory() devuelve nombres erroneos
Estimado Señor, Lo que vd. me propone es un cambio total en mi forma de manejar el Ftp. Yo, en cambio, sólo preguntaba por un pequeño error que tiene la clase Ftp. Gracias en todo caso.
oFtp:Directory() devuelve nombres erroneos
Estimado Paquito, ¿Puede ser que el servidor esté enviando los nombres en UTF-8? Si es así seguramente se ven mal. ¿Puedes subir un ejemplo para ver cual es el posible cambio? Eso de tener varios ficheros con el mismo nombre puede ser provocado por la confusión al consultar si existe un determinado fichero con un carac...
oFtp:Directory() devuelve nombres erroneos
Estimadísimo Carlos, Un ejemplo de fichero que erroneamente devuelve el metodo oFtp:Directory(), sería este: "045in 0 LŒ. € È`RÿÓ Ÿ D FILECSV.zip" El archivo real es FILECSV.zip, pero lo devuelve con caracteres sucios. Practicamente pasa siempre que hago un oFtp:Directory() Utilizo la clase T...
oFtp:Directory() devuelve nombres erroneos
Vuelvo con el asunto. He hecho unas investigaciones y todo apunta a que el problema es un problema de codificacion. Pareciera que hay que apagar el UTF8 antes de hacer el oftp:directory Lo que me parece muy raro es que a nadie le haya pasado antes. ¿ Es que nadie usa ftp-fwh contra servidores trabajando en utf-8? ...
oFtp:Directory() devuelve nombres erroneos
Actualmente tienes el UTF8 activo en tu aplicacion? Si no es asi, deberías probar activando el UTF8, quiero decir en el proceso que utiliza FTP [code=fw:23cgrjec]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />  <span style="color: #00C800;">local</span> cOldCode  := HB_SETCODEPAGE<span style="col...
oFtp:Directory() devuelve nombres erroneos
Cristobal, Gracias por tu respuesta, pero no creo que deba ser eso. A veces el oFtp:Directory me devuelve archivos con este nombre: è`r+``er`w´rèëëé3´´3algo.zipr`w´rèëëé3fichero.zip donde se puede observar que vienen dos archivos. Es como si no entendiera el caracter LF o asi. Es como si el server ftp estuviera en *...
oFtp:Directory() devuelve nombres erroneos
[quote="hmpaquito":1x09mnib]Cristobal, Gracias por tu respuesta, pero no creo que deba ser eso. Saludos[/quote:1x09mnib] Paco, si puedes, prueba lo que te digo a ver qué te devuelve
oFtp:Directory() devuelve nombres erroneos
Cristobal, Ok, haré lo que me dices. Voy a hacer un testing a ver que me devuelve antes y despues, indicando la codificacion que me dices. gracias por tu interés.
oFtp:Directory() devuelve nombres erroneos
Traigo un ejemplo del array que devuelve el metodo oFtp:Directory() (está todo pasado a cadena) [code=fw:3io9rmlu]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #000000;">&#123;</span> <span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #0...
oFtp:Directory() devuelve nombres erroneos
Cristobal, Acabo de probar tu indicacion y sigue saliendo mal. ¿ Alguna idea más que puedas compartir ? Gracias PD 1. El UTF8 del hb_SetCodePage() lo coge bien puesto que lo muestro, despues de establecerlo con msgInfo(hb_setCodePage()) y muestra UTF8 PD 2. Es como si la clase TFtp no recogiese bien el directory po...
oFtp:Directory() devuelve nombres erroneos
Segun <!-- m --><a class="postlink" href="https://stackoverflow.com/questions/42025253/does-ftp-support-utf-character-set">https://stackoverflow.com/questions/420 ... racter-set</a><!-- m --> hay q trabajar el ftp en modo binary. Sabe alguien como establecer el ftp en modo binary ?
oFtp:SetCurrentDirectory / oFtp:GetCurrentDirectory
Olá, Para setar o diretorio corrente no ftp eu uso: oFtp:SetCurrentDirectory() e para buscar o nome do diretorio atual ? Não achei nada sobre oFtp:GetCurrentDirectory() Obrigado, Rossine.
oGet : Seleccionar todo
En un objeto GET necesito que, al tomar el foco, se quede todo seleccionado, al igual que hace el submenú del oGet "Seleccionar todo". He probado con oGet:bGotFocus = { || oGet:SelectAll() } pero no funciona. Utilizo FWH 2.8 y xHarbour 0.99.61
oGet : Seleccionar todo
[quote="Manuel Aranda":bxmf2qpk]En un objeto GET necesito que, al tomar el foco, se quede todo seleccionado, al igual que hace el submenú del oGet "Seleccionar todo". He probado con oGet:bGotFocus = { || oGet:SelectAll() } pero no funciona. Utilizo FWH 2.8 y xHarbour 0.99.61[/quote:bxmf2qpk] // Testing a GET #incl...
oGet : Seleccionar todo
Gracias, karinha, pero sigue sin funcionar. Supongo que tendrá que ver con la versión de fwh que tengo. Saludos, Manuel
oGet : Seleccionar todo
Manuel, METHOD SelectAll() INLINE ::SetSel( 0, -1 )
oGet : Seleccionar todo
Antonio: Así es como lo tengo en TGET.PRG y no funciona. En realidad lo que me ocurre es que en el menú contextual del oGet la opción "Pegar" no funciona correctamente, es decir, hay que seleccionar previamente todo el contenido del oGet para que "Pegar" te copie todo el contenido de "Copiar", si no es así, se produc...
oGet:Cadena de caracteres
Hola,"oGet:cText" me devuelve el ultimo caracter de la cadena que se esta creando en el GET.Como obtengo la cadena completa que se esta formando?Por ejemplo si estoy escribiendo NOMBRE, oGet:cText me devuelve cada una de las letras a medida que voy escribiendo la palabra NOMBRE; lo que quiero es que me devuelva la cade...
oGet:Cadena de caracteres
[quote="George":46dy3omn]Hola, "oGet:cText" me devuelve el ultimo caracter de la cadena que se esta creando en el GET. Como obtengo la cadena completa que se esta formando? Por ejemplo si estoy escribiendo NOMBRE, oGet:cText me devuelve cada una de las letras a medida que voy escribiendo la palabra NOMBRE; lo que qu...
oGet:Cadena de caracteres
George,Prueba con oGet:GetText()
oGet:Cadena de caracteres
Francisco / AntonioGracias por contestar.Francisco,Tu ejemplo trabaja perfecto. Antonio,Usando "oGet:GetText()" estaba obteniendo el mismo resultado que usando oGet:cText; es decir solo me presentaba el ultimo caracter tecleado.El problema era que estaba usando un msginfo() y la clausula UPDATE y esto me causaba ese pr...
oGet:KeyChar()
Hello Antonio, In my programs I use the nearly the same code as c:\FWH\samples\keybsim.prg for keyboard input with a touchscreen. Since the last or one of the last updates of Fivewin this does not work any more. Please test keybsim.prg. Thanks in advance and best regards, REDEFINE BUTTON oBtn1 ID 101 OF oDl...
oGet:KeyChar()
Linking in control.prg from dez. 2010 resolves the problem. Best regards, Otto
oGet:KeyChar()
Hello Antonio, If I change the new method _SetFocus() with the method _SetFocus() from Dez. 2010 all is working. Can you please advice me what to do. Best regards, Otto [code=fw:2cnn3gfj]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">/*<br />METHOD _SetFocus() CLASS TControl...
oGet:KeyChar()
Otto, In your code instead of doing oGet:SetFocus(), do SetFocus( oGet:hWnd ) and use the most recent Class TControl Method SetFocus() code as it has advantages over previous versions <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
oGet:KeyChar()
Hello Antonio, c:\FWH\samples\keybsim.prg REDEFINE BUTTON oBtn1 ID 101 OF oDlg ACTION (MsgBeep(),; oGet1:SetFocus( oGet1:hWnd ),; oGet1:KeyChar(ASC("1"))) I tried this way but with no success. Do I need 11.9 versi...
oGet:KeyChar()
Otto, There is a little error in your code, it is this way: REDEFINE BUTTON oBtn1 ID 101 OF oDlg ACTION (MsgBeep(),; SetFocus( oGet1:hWnd ),; oGet1:KeyChar(ASC("1")))
oGet:Paste()
Hi, in this little samples ther is a problem. Please try ths 1) select "Marco" from the first get using popget function selecting "Copia" (Copy) 2) then go to the second get. 3) you can note that text is selected ("Enrico") 4) click the right mouse and select "Incolla" (Paste) 5) the result is "EnricoMarco" This is...
oGet:Paste()
Thank you Enrico!
oGet:Paste()
[code=fw:1k39yxvz]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Incolla"</span> <span style="color: #0000ff;">ACTION</span> INCOLLA<span style="color: #000000;">&#40;</span> oGet <span style="color: #000000;">&#41;</span></div>[/co...
oGet:SetBrush ( daniel )
Why when i SetBrush to a GET all other receive same brush ? i want use setbrush distinct the get´s. someone can help ?
oGet:SetBrush ( daniel )
I tryed use DrawBitmap( hDc, gBmp, 0, 0 ) it´s Work, more make hidden in Text of Get. <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: --> [code=fw:1wkwf7ve]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//--------...
oGet:SetBrush ( daniel )
Lailton i'm checking... i'll reply very soon
oGet:SetBrush ( daniel )
Okay thanks
oGet:SetBrush ( daniel )
Lailton... Brush Class before create a new brush verifies that new brush not same other. check: style, color, Bmp File or Bmp Res, but in our samples we not use these, so the brush class "think" is same brush each time we can use a little trick to solve it... [code=fw:dsd5g4y2]<div class="fw" id="{CB}" style="font-f...
oGet:SetBrush ( daniel )
Daniel, How we can create an get effect as this ? [img:16pfgzet]http&#58;//www&#46;devcomponents&#46;com/dotnetbar/img/SuperValidator&#46;png[/img:16pfgzet] or [img:16pfgzet]http&#58;//www&#46;devcomponents&#46;com/dotnetbar/img/Highlighter&#46;png[/img:16pfgzet]
oGet:SetBrush ( daniel )
Hello Silvio Now we working in Button Skins maybe is ready for this month, after will begin with GET Skins
oGet:SetBrush ( daniel )
good daniel !!
oGet:SetPos() and date
Hi all, i have aproblem to set the cursor of a get to the very first position. I tried the following [code:1bts64r2]oSearch&#58;bGotFocus &#58;= &#123; || oSearch&#58;PostMsg&#40; WM_KEYDOWN, VK_HOME, 0 &#41;, SysRefresh&#40;&#41; &#125; oSearch&#58;bGotFocus &#58;= &#123; || oSearch&#58;nPos &#58;= 1, SysRefresh&#40;...
oGet:SetPos() and date
this might help :- oSearch:bGotFocus := { || oSearch:selectall(), oSearch:nPos:= 1 }
oGet:SetPos() and date
[quote="tnhoe":1q0lzb7v]this might help :- oSearch:bGotFocus := { || oSearch:selectall(), oSearch:nPos:= 1 }[/quote:1q0lzb7v] Hoe, many thanks for your hint. Unfortunatelly it doesn' t work. If i click into the middle of a get with a date variable, the cursor remains at the position where i clicked. With character...
oGet:SetPos() and date
If you will build a reduced and self-contained sample of the problem then I promise to experiment with it a little. <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> EMG
oGet:SetPos() and date
Enrico, I already put a sample at <!-- m --><a class="postlink" href="http://www.d-hoefner.de/files/test.zip">http://www.d-hoefner.de/files/test.zip</a><!-- m --> thanks for jumping in. Regards, Detlef
oGet:SetPos() and date
Try this: [code:k2lcc6k2]oSearch&#58;bGotFocus &#58;= &#123; || oSearch&#58;PostMsg&#40; WM_KEYDOWN, VK_HOME &#41; &#125;[/code:k2lcc6k2] EMG
oGet:SetPos() and date
[quote="EnricoMaria":3aa98cb4]Try this: [code:3aa98cb4]oSearch&#58;bGotFocus &#58;= &#123; || oSearch&#58;PostMsg&#40; WM_KEYDOWN, VK_HOME &#41; &#125;[/code:3aa98cb4] EMG[/quote:3aa98cb4] Enrico, as usual, your advice is a good one. It' s working as expected now <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gi...
oGet:bGotFocus Problem
I am trying to change the behavior of a GET using bGotFocus. I want the cursor to be in the 1 postion when the GET is entered and to clear the contents of the GET if the user starts typing in the first postion. The code below works when you tab or shift-tab into the GET but [b:3c12mmah]not[/b:3c12mmah] if you click int...