topic
stringlengths
1
63
text
stringlengths
1
577k
contactar a xmanuel para consulta
Dime tu correo y te escribo <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: -->
contactar a xmanuel para consulta
karlos.vargas at gmail dot com
contactar a xmanuel para consulta
Ya te he escrito
contactar a xmanuel para consulta
saludos. igual necesito hacer una consulta xmanuel mi email <!-- e --><a href="mailto:jbricenotapia@gmail.com">jbricenotapia@gmail.com</a><!-- e --> saludos
contactar a xmanuel para consulta
Dime por aquí!!!
contactar a xmanuel para consulta
Buenas Tarde manuel es posible desarrollar un wrapper largo para el api en C para <!-- m --><a class="postlink" href="https://www.transbankdevelopers.cl/referencia/posintegrado">https://www.transbankdevelopers.cl/refe ... sintegrado</a><!-- m --> Esto es para trabajar con tarjetas de credito o debito en chile conectada la maquina a una computadora Saludos
contain/ init search
I have this command to create a incremental search cFilter := 'WildMatch( "*' + Upper(cPattern) + '*", Upper( '+cField_name+')) .AND. !DELETED()' where cpattern is the value of get control and cField_name is the name of the field where search the value How I must make if I want use windMactch function 1. search all record contains cpattern 2. search all record init with cpattern
contar horas
pongo a disposición del foro una función útil en especial en aquellos sistemas donde haya que saber la cantidad de horas trabajadas desde hora de entrada hasta hora de salida. Espero de esta manera ayudar a quien lo necesite #include "fivewin.ch" /* Ejemplo de uso total horas trabajadas desde las 10:32 hasta las 18:25 el llamado a la funcion quedaria de la siguiente forma tHoras := CuentaHoras("10:32","18:25") o tambien H1 := "10:32" hora de entrada H2 := "18:25" hora de salida se contempla entrada 22:01 pm y salida 06:05 am tHoras := CuentaHoras(h1,h2) */ Function Main() Local mHoras := CuentaHoras("05:38","06:25") ? mHoras Return( NIL ) //-----------------------------------------------------------------------// // Ing Bellucci Juan Carlos // <!-- e --><a href="mailto:juanca252@yahoo.com.ar">juanca252@yahoo.com.ar</a><!-- e --> // Escobar Buenos Aires Argentina // Parametros 2 ( "00:00" , "00:00") // Retorna total horas en formato "00:00" //-----------------------------------------------------------------------// Function CuentaHoras( H1, H2 ) Local he Local hs Local nE Local nS Local tHora := 0 Local eHora Local sHora Local eMinu Local sMinu Local dMinue := 0 Local dMinus := 0 Local hAcumu := 0 Local Cadena := "" If Empty(H1) Return( "00:00" ) EndIf If Empty(H2) Return( "00:00" ) EndIf he := H1 hs := H2 nE := Val(SubStr(he,1,2))+ Val(SubStr(hE,4,2))/100 nS := Val(SubStr(hs,1,2))+ Val(SubStr(hs,4,2))/100 eHora := Val(SubStr(he,1,2)) sHora := Val(SubStr(hs,1,2)) eMinu := Val(SubStr(he,4,2))/100 sMinu := Val(SubStr(hs,4,2))/100 //////////////////////////////////////// // Paso 1 Redondeo de Minutos // //////////////////////////////////////// If eMinu > sMinu hAcumu := -1 dMinue := 0 Do While eMinu < .60 eMinu := eMinu + .01 dMinue := dMinue + .01 EndDo Else If sMinu > eMinu sMinu := sMinu - eMinu EndIf EndIf //////////////////////////////////////// // Paso 2 Cuento Horas // //////////////////////////////////////// If sHora > eHora tHora := 0 Do While eHora < sHora eHora := eHora + 1 tHora := tHora + 1 EndDo EndIf //---- Si entro 22Hs pm del dia de hoy y sale ma¤ana 06 hs am If eHora > sHora tHora := 0 Do While eHora < 24 eHora := eHora + 1 tHora ++ EndDo tHora := tHora + sHora EndIf //////////////////////////////////////// // Paso 3 Cuento el resto de Minutos // //////////////////////////////////////// If sMinu > 0 dMinus := 0 Do While sMinu > dMinus dMinus := dMinus + .01 EndDo EndIf If tHora > 0 tHora := tHora + hAcumu + dMinue + dMinus EndIf Cadena := SubStr(StrZero(tHora,5,2),1,2)+":"+ SubStr(StrZero(tHora,5,2),4,2) Return( Cadena ) //--------------------------------------------------------------------------//
contar horas
Veja a classe para controlar data/hora nesse tópico: <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=23499&p=126300&hilit=TDateTime#p126300">viewtopic.php?f=3&t=23499&p=126300&hilit=TDateTime#p126300</a><!-- l --> [code=fw:2eowttvt]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//-- Na entrada</span><br />oEntrada := TDateTime<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span>Date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,Time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #B900B9;">//-- Na saida</span><br />oSaida &nbsp; &nbsp;:= TDateTime<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span>Date<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,Time<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br /><br />nSegundosTrabalhados := oSaida:<span style="color: #000000;">Absolute</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> - oEntrada:<span style="color: #000000;">Absolute</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp;</div>[/code:2eowttvt]
continuation of news group discussion
Antonio, I reported problems with fwh2.6 on the "old" newsgroup. One was the slow painting of dialogs. You suggested changing the dispbegin() and dispend() methods to VIRTUAL. Here is the reply I attempted to send to the news group. ********************************* Changing the methods to "VIRTUAL" made a HUGE difference in speed of dialog painting, large browses, etc. What exactly did I do by delcaring those methods as VIRTUAL? Much better now. What is the advantage of "non-Virtual" over "Virtual" ????? I'm leaving it as "virtual" for my application. Will this mean I must forever link a "modified" version of window.prg into my applications? Thanks Don Lowenstein "Antonio Linares" <alinares@fivetechsoft.com> wrote in message news:EiZSqsoyFHA.1908@second... > Don, > >>>> 5. My intro screen paints very slowly, compared to the one used in >>>> fwh25 version. > > This may be due to double buffer painting. You may declare methods > DispBegin() and DispEnd() as VIRTUAL at window.prg and see if that makes a > difference. Thanks. > > regards, > > Antonio Linares > <!-- w --><a class="postlink" href="http://www.fivetechsoft.com">www.fivetechsoft.com</a><!-- w --> >
continuation of news group discussion
Don, Those methods are related to "double buffer painting" technique. This technique avoids flickering but it is more time consuming. You can have them as VIRTUAL, there is no problem on that.
contribuciones de harbour ( SOLUCIONADO )
Estimados como puedo obtener los fuentes de las contribuciones he navegado por este link al parecer no tiene movimientos del 2011 <!-- m --><a class="postlink" href="https://harbour.github.io/">https://harbour.github.io/</a><!-- m --> [b:39jke9zz]necesito la HBCURL.LIB para el ultimo harbour[/b:39jke9zz] [quote:39jke9zz]Harbour Build Info --------------------------- Version: Harbour 3.2.0dev (r1601050904) Compiler: Borland/Embarcadero C++ 7.0 (32-bit) Platform: Windows 7 6.1.7601 Service Pack 1 PCode version: 0.3 ChangeLog last entry: 2016-01-05 10:04 UTC+0100 Prz czta.onet.pl) ChangeLog ID: 5074376b2b480a047ab90ac47bb86107b2d50 Built on: Jan 7 2016 20:27:46 Build options: (Clipper 5.3b) (Clipper 5.x undoc)[/quote:39jke9zz]
contribuciones de harbour ( SOLUCIONADO )
Aqui <!-- m --><a class="postlink" href="https://github.com/harbour/core">https://github.com/harbour/core</a><!-- m -->
contribuciones de harbour ( SOLUCIONADO )
Gracias Navarro
contribution: workshop running on windows10
good night I managed to run Borland Resource WorkShop on windows 10 / 64 bits, follow the tip how to do it. 1- Download winevdm here (I downloaded version 0.7.0) [url:2dsy71vc]https&#58;//github&#46;com/otya128/winevdm/releases[/url:2dsy71vc] 2- Download the content into the c:\emulator folder 3- assuming the workshop is installed in the c:\workshop folder, create a shortcut calling the workshop as follows: (put the line below as the shortcut destination) C:\emulator\otvdmw.exe c:\workshop\workshop.exe ready ! the magic is done! Att. William Adami
contribution: workshop running on windows10
<!-- l --><a class="postlink-local" href="http://fivetechsupport.com/forums/viewtopic.php?f=6&t=40826&p=244197#p244197">viewtopic.php?f=6&t=40826&p=244197#p244197</a><!-- l -->
control a string
I have two type of string sample "5TC" "FIS" "PAL" how I can make to control the first letter is a Number or Alphabetic ? I tried with IIF( IsAlNum( Left(cClasse,1) ),"N","L") but not run
control a string
Also try with [code=fw:1p57wttt]<div class="fw" id="{CB}" style="font-family: monospace;"><br />? Val<span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"5TC"</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>, &nbsp;Val<span style="color: #000000;">&#40;</span> <span style="color: #0000ff;">Left</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"FIS"</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:1p57wttt]
control a string
[code=fw:2ntl3br9]<div class="fw" id="{CB}" style="font-family: monospace;">? ISDIGIT<span style="color: #000000;">&#40;</span> cClasse <span style="color: #000000;">&#41;</span></div>[/code:2ntl3br9] EMG
control a string
Thanks enrico now run
control calendario
Alguien tiene un control que muestre un calendario y si se peude poner algunna nota en los dias mejor Gracias
control calendario
mira el calendario de otto y a.linares. alguien le hizo mejoras privadas para agenda
control calendario
Donde miro ese calendario Gracias
control calendario
[quote="Vladimir Zorrilla":1agm2e1o]Donde miro ese calendario Gracias[/quote:1agm2e1o] En este foro. Lo he visto por varios sitios. No se si se llama TDatePicker o algo asi...
control calendario
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=12150&start=0">viewtopic.php?f=3&t=12150&start=0</a><!-- l -->
control de Eventos en OWC
Estimados colegas, Alguien sabe como controlar fivewin y xharbour, los eventos de un objeto OWC ?, por ejemplo controlar el evento Keydown, MouseUp, etc.
control de cierre de dbf
en una ventana , como controlo que cuando salga se cierre la dbf ? en el boton Salir es facil , pero si me cierran la ventana en la X ? Seria deseable la clausula VALID de la ventana . ¿Otra solucion momentanea ? Saludso.
control de cierre de dbf
me contesto yo mismo , pongo el close despues del activate window ownd Parece como que las ventanas son modales , es asi ?
control de cierre de dbf
Sí, efectivamente, has de ponerlo después del ACTIVATE. Las ventanas son modales en Pocket PC. La claúsula VALID de la ventana no hemos conseguido de momento implementarla, pues provoca un error de la aplicación.
control de errores para impresoras con clase tdosprn
Hola: Estoy usando la clase TDOSPRN para las salidas por impresora, trabajo el sistema por terminal server con un operativo WINDOWS 2003 SERVER y las impresoras se encuentran localmente en otros equipos con windows xp y windows 98. Trabajo la impresora de la siguiente forma: oPrn := TDosPrn():New( \\NomPc\NomImpr ) Me sucede que si la PC esta apagada se me va del sistema. Compilo con CLIPPER 5.2 y FW 2.7 Tengo dentro del prg usando la función ISPRINTER() de clipper. Si alguien puede darme una idea de como usar control de errores en esta situación mil gracias. Leonor <!-- e --><a href="mailto:lgonzalez@evosistemas.com.ar">lgonzalez@evosistemas.com.ar</a><!-- e -->
control de errores para impresoras con clase tdosprn
Leonor, Prueba así: [code:32e7wnos] BEGIN SEQUENCE &#46;&#46;&#46; tu código &#46;&#46;&#46; RECOVER USING oError MsgInfo&#40; "error de impresión" &#41; END SEQUENCE [/code:32e7wnos]
control de un cybercafe por medio de fw
alguien ha implementado algun sistema de control de usuarios de un cybercafe, que me pueda ayudar ya que tengo un cliente que necesita un programa de control de tiempos de uso de internet, ya que estoy en blanco en este tema. uso clipper 53b, fivewin 2.2 y blinker 5 de antemano muchas gracias
control de un cybercafe por medio de fw
Gerardo Comunicate conmigo a mi email, te puedo dar una mano <!-- e --><a href="mailto:databaselab2002@yahoo.com.ar">databaselab2002@yahoo.com.ar</a><!-- e -->
control desde código en un dialogo desde recursos
Eso es lo que quisiera hacer, insertar un control desde código en un dialogo creado desde recursos. No encuentro el programa que viene en samples que aplica esta situación. Desde ya muchas gracias
control desde código en un dialogo desde recursos
Horácio, por favor explicar mejor... Saludos.
control desde código en un dialogo desde recursos
[quote="horacio":7vfk7hb4]Eso es lo que quisiera hacer, insertar un control desde código en un dialogo creado desde recursos. No encuentro el programa que viene en samples que aplica esta situación. Desde ya muchas gracias[/quote:7vfk7hb4] Igual que si el dialogo lo crearas desde código. Debes tener en cuenta que si lo añades después del ACTIVATE del dialogo, las coordenadas y el tamaño lo debes multiplicar por 2. Ej: @ 5,6 say "sOY UN SAY." OF oMyDlg ACTIVATE DIALOG oMyDlg NOWAIT ó ACTIVATE DIALOG oMyDlg NOWAIT @ 10,12 say "sOY UN SAY." OF oMyDlg oMyDlg:Refresh()
control desde código en un dialogo desde recursos
Gracias por responder, el programa al que me referia es resdyn.prg que se encuentra en la carpeta samples. Funciona con control Say pero lo quise hacer con un checkbox y me dá error. Alguien sabe ?? Gracias nuevamente.
control excede el tamaño cuando se corre el programa
Hola muchachos, no entiendo porque el control buttonbar se aprecia mas grande de lo normal? [url=https&#58;//postimages&#46;org/:3ez80ou7][img:3ez80ou7]https&#58;//i&#46;postimg&#46;cc/RhHhKxnm/buttonbar1&#46;jpg[/img:3ez80ou7][/url:3ez80ou7][url=https&#58;//postimages&#46;org/es/:3ez80ou7]imagenes online[/url:3ez80ou7] en el pelles pueden notar que el control es mas pequeño que cuando se ejecuta el programa [url=https&#58;//postimages&#46;org/:3ez80ou7][img:3ez80ou7]https&#58;//i&#46;postimg&#46;cc/jdCrjYJ3/pelles1&#46;jpg[/img:3ez80ou7][/url:3ez80ou7] source code [code=fw:3ez80ou7]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTONBAR</span> oBar <span style="color: #0000ff;">ID</span> <span style="color: #000000;">100</span> <span style="color: #0000ff;">OF</span> oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">2007</span> TRANSPARENT    <br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">OF</span> oBar <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Add"</span>     FILE <span style="color: #ff0000;">"c:<span style="color: #000000;">\1</span>712<span style="color: #000000;">\f</span>wh<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\3</span>2x32<span style="color: #000000;">\n</span>ew.bmp"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> IIF<span style="color: #000000;">&#40;</span>cCodpag=<span style="color: #ff0000;">'02'</span>, AddRow<span style="color: #000000;">&#40;</span>oBrwC<span style="color: #000000;">&#41;</span>, MsgAlert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Condicion de pago no es a Credito"</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>, oBrwC:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>  <br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">OF</span> oBar <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Delete"</span>  FILE <span style="color: #ff0000;">"c:<span style="color: #000000;">\1</span>712<span style="color: #000000;">\f</span>wh<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\d</span>elete.bmp"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> IIF<span style="color: #000000;">&#40;</span>cCodpag=<span style="color: #ff0000;">'02'</span>, DeleteRow<span style="color: #000000;">&#40;</span>oBrwC<span style="color: #000000;">&#41;</span>, MsgAlert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Condicion de pago no es a Credito"</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>, oBrwC:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br /><br />    <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrwC                  ;<br />      COLUMNS <span style="color: #000000;">1</span>, <span style="color: #000000;">2</span>                          ;<br />      HEADERS <span style="color: #ff0000;">"Fecha"</span>,<span style="color: #ff0000;">"Importe"</span>             ;<br />      COLSIZES <span style="color: #000000;">70</span>, <span style="color: #000000;">100</span>                      ;<br />      ARRAY <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span> LINES FASTEDIT CELL FOOTERS  ;<br />     <span style="color: #0000ff;">ID</span> <span style="color: #000000;">4018</span> <span style="color: #0000ff;">OF</span> oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>            ;                                    <br />     <span style="color: #0000ff;">UPDATE</span><br /><br />      oBrwC:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nEditType</span>     := EDIT_GET<br /><br />      WITH OBJECT oBrwC:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span><br />         :<span style="color: #000000;">nEditType</span>     := EDIT_GET<br />         :<span style="color: #000000;">nFooterType</span>   := AGGR_SUM<br />         :<span style="color: #000000;">nFootStrAlign</span> := AL_RIGHT<br />      END<br />      oBrwC:<span style="color: #000000;">MakeTotals</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /> </div>[/code:3ez80ou7] Espero me puedan ayudar, gracias
control excede el tamaño cuando se corre el programa
\samples\barfrmrc.prg Saludos.
control exceeds size in run time RESOLVED
Hi guys, I don't understand Why the control buttonbar appreciate more large than the normal? [url=https&#58;//postimages&#46;org/:2dhx2912][img:2dhx2912]https&#58;//i&#46;postimg&#46;cc/RhHhKxnm/buttonbar1&#46;jpg[/img:2dhx2912][/url:2dhx2912][url=https&#58;//postimages&#46;org/es/:2dhx2912]imagenes online[/url:2dhx2912] Into the pelles you can notice that the control is smaller than the program in run time [url=https&#58;//postimages&#46;org/:2dhx2912][img:2dhx2912]https&#58;//i&#46;postimg&#46;cc/jdCrjYJ3/pelles1&#46;jpg[/img:2dhx2912][/url:2dhx2912] source code [code=fw:2dhx2912]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTONBAR</span> oBar <span style="color: #0000ff;">ID</span> <span style="color: #000000;">100</span> <span style="color: #0000ff;">OF</span> oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">2007</span> TRANSPARENT    <br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">OF</span> oBar <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Add"</span>     FILE <span style="color: #ff0000;">"c:<span style="color: #000000;">\1</span>712<span style="color: #000000;">\f</span>wh<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\3</span>2x32<span style="color: #000000;">\n</span>ew.bmp"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> IIF<span style="color: #000000;">&#40;</span>cCodpag=<span style="color: #ff0000;">'02'</span>, AddRow<span style="color: #000000;">&#40;</span>oBrwC<span style="color: #000000;">&#41;</span>, MsgAlert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Condicion de pago no es a Credito"</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>, oBrwC:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>  <br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">OF</span> oBar <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Delete"</span>  FILE <span style="color: #ff0000;">"c:<span style="color: #000000;">\1</span>712<span style="color: #000000;">\f</span>wh<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\d</span>elete.bmp"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> IIF<span style="color: #000000;">&#40;</span>cCodpag=<span style="color: #ff0000;">'02'</span>, DeleteRow<span style="color: #000000;">&#40;</span>oBrwC<span style="color: #000000;">&#41;</span>, MsgAlert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Condicion de pago no es a Credito"</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>, oBrwC:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br /><br />    <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrwC                  ;<br />      COLUMNS <span style="color: #000000;">1</span>, <span style="color: #000000;">2</span>                          ;<br />      HEADERS <span style="color: #ff0000;">"Fecha"</span>,<span style="color: #ff0000;">"Importe"</span>             ;<br />      COLSIZES <span style="color: #000000;">70</span>, <span style="color: #000000;">100</span>                      ;<br />      ARRAY <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span> LINES FASTEDIT CELL FOOTERS  ;<br />     <span style="color: #0000ff;">ID</span> <span style="color: #000000;">4018</span> <span style="color: #0000ff;">OF</span> oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>            ;                                    <br />     <span style="color: #0000ff;">UPDATE</span><br /><br />      oBrwC:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nEditType</span>     := EDIT_GET<br /><br />      WITH OBJECT oBrwC:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span><br />         :<span style="color: #000000;">nEditType</span>     := EDIT_GET<br />         :<span style="color: #000000;">nFooterType</span>   := AGGR_SUM<br />         :<span style="color: #000000;">nFootStrAlign</span> := AL_RIGHT<br />      END<br />      oBrwC:<span style="color: #000000;">MakeTotals</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /> </div>[/code:2dhx2912] I hope you can help me, thanks
control exceeds size in run time RESOLVED
Buttonbar always extends to the full width of the window/dialog.
control exceeds size in run time RESOLVED
Hi I use this code. [code=fw:q4mleury]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">LOCAL</span> oRect := ::<span style="color: #000000;">oDlg</span>:<span style="color: #000000;">GetCliRect</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />::<span style="color: #000000;">oDlgBar</span> := TBar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">NewAt</span><span style="color: #000000;">&#40;</span> oRect:<span style="color: #000000;">nTop</span><span style="color: #000000;">+60</span>, <span style="color: #000000;">00</span>, <span style="color: #000000;">486</span>, <span style="color: #000000;">42</span>, <span style="color: #000000;">40</span>, <span style="color: #000000;">40</span>, ::<span style="color: #000000;">oDlg</span>, .F., , <span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:q4mleury]
control exceeds size in run time RESOLVED
thank you Mr. Rao y Richard-Service for his reponse
control exceeds size in run time RESOLVED
I resolved of this way: source code [code=fw:16s5ly5a]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTONBAR</span> oBar <span style="color: #0000ff;">ID</span> <span style="color: #000000;">100</span> <span style="color: #0000ff;">OF</span> oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">2007</span> TRANSPARENT    <br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">OF</span> oBar <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Add"</span>     FILE <span style="color: #ff0000;">"c:<span style="color: #000000;">\1</span>712<span style="color: #000000;">\f</span>wh<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\3</span>2x32<span style="color: #000000;">\n</span>ew.bmp"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> IIF<span style="color: #000000;">&#40;</span>cCodpag=<span style="color: #ff0000;">'02'</span>, AddRow<span style="color: #000000;">&#40;</span>oBrwC<span style="color: #000000;">&#41;</span>, MsgAlert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Condicion de pago no es a Credito"</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>, oBrwC:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>  <br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">OF</span> oBar <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Delete"</span>  FILE <span style="color: #ff0000;">"c:<span style="color: #000000;">\1</span>712<span style="color: #000000;">\f</span>wh<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\d</span>elete.bmp"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> IIF<span style="color: #000000;">&#40;</span>cCodpag=<span style="color: #ff0000;">'02'</span>, DeleteRow<span style="color: #000000;">&#40;</span>oBrwC<span style="color: #000000;">&#41;</span>, MsgAlert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Condicion de pago no es a Credito"</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>, oBrwC:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br /><br />    <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrwC                  ;<br />      COLUMNS <span style="color: #000000;">1</span>, <span style="color: #000000;">2</span>                          ;<br />      HEADERS <span style="color: #ff0000;">"Fecha"</span>,<span style="color: #ff0000;">"Importe"</span>             ;<br />      COLSIZES <span style="color: #000000;">70</span>, <span style="color: #000000;">100</span>                      ;<br />      ARRAY <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span> LINES FASTEDIT CELL FOOTERS  ;<br />     <span style="color: #0000ff;">ID</span> <span style="color: #000000;">4018</span> <span style="color: #0000ff;">OF</span> oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>            ;                                    <br />     <span style="color: #0000ff;">UPDATE</span><br /><br />      oBrwC:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nEditType</span>     := EDIT_GET<br /><br />      WITH OBJECT oBrwC:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span><br />         :<span style="color: #000000;">nEditType</span>     := EDIT_GET<br />         :<span style="color: #000000;">nFooterType</span>   := AGGR_SUM<br />         :<span style="color: #000000;">nFootStrAlign</span> := AL_RIGHT<br />      END<br />      oBrwC:<span style="color: #000000;">MakeTotals</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlgVr <span style="color: #0000ff;">CENTERED</span> <span style="color: #0000ff;">on</span> <span style="color: #0000ff;">INIT</span> <span style="color: #000000;">&#40;</span> oBar:<span style="color: #0000ff;">Move</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">25</span>, <span style="color: #000000;">15</span>, <span style="color: #000000;">100</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /> </div>[/code:16s5ly5a] this link help me <!-- m --><a class="postlink" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=38173&p=228006&hilit=redefine+buttonbar#p228006">http://forums.fivetechsupport.com/viewt ... ar#p228006</a><!-- m -->
control exceeds size in run time RESOLVED
[quote="artu01":2fm83t3c]I resolved of this way: source code [code=fw:2fm83t3c]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BUTTONBAR</span> oBar <span style="color: #0000ff;">ID</span> <span style="color: #000000;">100</span> <span style="color: #0000ff;">OF</span> oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">2007</span> TRANSPARENT    <br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">OF</span> oBar <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Add"</span>     FILE <span style="color: #ff0000;">"c:<span style="color: #000000;">\1</span>712<span style="color: #000000;">\f</span>wh<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\3</span>2x32<span style="color: #000000;">\n</span>ew.bmp"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> IIF<span style="color: #000000;">&#40;</span>cCodpag=<span style="color: #ff0000;">'02'</span>, AddRow<span style="color: #000000;">&#40;</span>oBrwC<span style="color: #000000;">&#41;</span>, MsgAlert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Condicion de pago no es a Credito"</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>, oBrwC:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span>  <br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">OF</span> oBar <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Delete"</span>  FILE <span style="color: #ff0000;">"c:<span style="color: #000000;">\1</span>712<span style="color: #000000;">\f</span>wh<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\d</span>elete.bmp"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #000000;">&#40;</span> IIF<span style="color: #000000;">&#40;</span>cCodpag=<span style="color: #ff0000;">'02'</span>, DeleteRow<span style="color: #000000;">&#40;</span>oBrwC<span style="color: #000000;">&#41;</span>, MsgAlert<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Condicion de pago no es a Credito"</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>, oBrwC:<span style="color: #000000;">SetFocus</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /><br /><br />    <span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oBrwC                  ;<br />      COLUMNS <span style="color: #000000;">1</span>, <span style="color: #000000;">2</span>                          ;<br />      HEADERS <span style="color: #ff0000;">"Fecha"</span>,<span style="color: #ff0000;">"Importe"</span>             ;<br />      COLSIZES <span style="color: #000000;">70</span>, <span style="color: #000000;">100</span>                      ;<br />      ARRAY <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span> LINES FASTEDIT CELL FOOTERS  ;<br />     <span style="color: #0000ff;">ID</span> <span style="color: #000000;">4018</span> <span style="color: #0000ff;">OF</span> oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>            ;                                    <br />     <span style="color: #0000ff;">UPDATE</span><br /><br />      oBrwC:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nEditType</span>     := EDIT_GET<br /><br />      WITH OBJECT oBrwC:<span style="color: #000000;">aCols</span><span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span><br />         :<span style="color: #000000;">nEditType</span>     := EDIT_GET<br />         :<span style="color: #000000;">nFooterType</span>   := AGGR_SUM<br />         :<span style="color: #000000;">nFootStrAlign</span> := AL_RIGHT<br />      END<br />      oBrwC:<span style="color: #000000;">MakeTotals</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlgVr <span style="color: #0000ff;">CENTERED</span> <span style="color: #0000ff;">on</span> <span style="color: #0000ff;">INIT</span> <span style="color: #000000;">&#40;</span> oBar:<span style="color: #0000ff;">Move</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">25</span>, <span style="color: #000000;">15</span>, <span style="color: #000000;">100</span> <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span><br /> </div>[/code:2fm83t3c] this link help me <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=38173&p=228006&hilit=redefine+buttonbar#p228006">viewtopic.php?f=3&t=38173&p=228006&hilit=redefine+buttonbar#p228006</a><!-- l -->[/quote:2fm83t3c] Thanks for your share solution
control for hot pick
Is there is a control for hotpick in FWH ?
control for hot pick
Ehab, What is it a hotpick control ? Please post an image
control for time ?
Antonio, Is there a control that can display only the time (hour minutes) in fwppc ? I do not need the date, just time. Richard
control for time ?
Richard, You may use a timer for it. Please review fwppc\samples\TestTime.prg
control like notepad
hi, someone has an sample of an control (class) to edit text files in memo lile notepad or more complex?
control like notepad
Simple: /samples/mdimemo.prg Complex; RichEdit: /samples/testrtf.prg James
control tfolder workshop borland
Sres. quiero incluir en una caja de dialogo un ventana con pestañas. Creo que se le llama tfolder o folder. Mi problema es que no encuentro ese control en workshop de borland, para poder incluirlo en la caja de dialogo. Por favor, me puede orientar como puede obtener ese control e incluirlo en el workshop de borland.
control tfolder workshop borland
Carlos, Tienes que darle al control que tiene el dibujo de una "llave" y entonces escribir ahí "TFolder". No se verás dibujado correctamente pero verás el área que ocupa. Revisa el ejemplo TestFold.prg y TestFold.rc en la carpeta SAMPLES.
control the head.view via the controller.
Dear Antonio, can you please show us how to control the head.view via the controller. For example, I include the dayPilot library in a menu item. However, it makes little sense if these libraries are then integrated in all modules. <! - daypilot libraries -> <s cript src = "js / daypilot-all.min.js" type = "text / javascript"> </s cript> [img:1sty1zs1]https&#58;//mybergland&#46;com/fwforum/hrb_calendar&#46;png[/img:1sty1zs1] [img:1sty1zs1]https&#58;//mybergland&#46;com/fwforum/hrb_diagram&#46;PNG[/img:1sty1zs1]
control tree
Compañeros, Estoy usando este control y quiero hacer una búsqueda. uso un array donde busco y de esta manera hallo el índice para posicionarme en el control., pero este paso no me doy cuenta como hacerlo. en ttreeitem hay un método Skip( @n ) pero no sé implementarlo. Desde ya muchas gracias
control tree
Nadie sabe ?? me urge. Gracias de todas maneras
control tree
Experimenta implementar este method en la clase TTreVie.prg [code=fw:1cfd725c]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">METHOD</span> Find<span style="color: #000000;">&#40;</span> cPrompt <span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TTreeView<br />&nbsp; <span style="color: #00C800;">Local</span> n, m := <span style="color: #000000;">0</span><br />&nbsp; <span style="color: #00C800;">Local</span> lOk := .F.<br />&nbsp; <span style="color: #00C800;">For</span> n := <span style="color: #000000;">1</span> <span style="color: #0000ff;">To</span> Len<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">aItems</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">If</span> ::<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span> n <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">cPrompt</span> == cPrompt<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;m := ::<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span> n <span style="color: #000000;">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lOk := .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Exit<br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">Else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;m := ::<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span> n <span style="color: #000000;">&#93;</span>:<span style="color: #000000;">Find</span><span style="color: #000000;">&#40;</span> cPrompt <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">If</span> ValType<span style="color: #000000;">&#40;</span> m <span style="color: #000000;">&#41;</span> != <span style="color: #ff0000;">'N'</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lOk := .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Exit<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">EndIf</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">EndIf</span><br />&nbsp; EndFor<br /><br />&nbsp; <span style="color: #00C800;">Return</span> <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> lOk, m, <span style="color: #00C800;">Self</span> <span style="color: #000000;">&#41;</span></div>[/code:1cfd725c] Y en TTvItem.prg [code=fw:1cfd725c]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">METHOD</span> Find<span style="color: #000000;">&#40;</span> cPrompt <span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TTVItem<br />&nbsp; <span style="color: #00C800;">Local</span> n := AScan<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">aItems</span>, <span style="color: #000000;">&#123;</span> |o| o:<span style="color: #000000;">cPrompt</span> == cPrompt <span style="color: #000000;">&#125;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; <span style="color: #00C800;">Return</span> <span style="color: #00C800;">If</span><span style="color: #000000;">&#40;</span> n > <span style="color: #000000;">0</span>, ::<span style="color: #000000;">aItems</span><span style="color: #000000;">&#91;</span> n <span style="color: #000000;">&#93;</span>, n <span style="color: #000000;">&#41;</span></div>[/code:1cfd725c] ten presente que solo encuentra la primera concidencia. falta desarrollar mas para encontrar las demas, si es que tuviera.
control.prg fwh 10.06
Hello Does anyone have a copy of control.prg from fwh 10.06 ? If yes please send it by mail to richard at cbati.com Unfortunately i have not saved this one, Thanks for the help Richard
controlar Teclado Inactivo
Necesito incorporar a mis programas un control que permita chequear si el teclado permanece inactivo por x minutos, se bloquee o cierre la aplicacion, algo similar al protector de pantalla del Window, pero a nivel de programa. Alguien conoce alguna forma de hacerlo ? Gracias Miguel
controlar Teclado Inactivo
ya intestastes con el COMANDO: DEFINE TIMER oTimer??
controlar Teclado Inactivo
En realidad fue lo primero que se me ocurrio, trabajar con un timer, pero lo que necesito es controlar si el mouse se esta moviendo y si en algun lugar se presiona alguna tecla, lo cual me indicaria que alguien sigue utilizando el programa, pero lo que no se es como controlar el uso del teclado y si pudiera el movimiento del mouse, para que el timer se renueve con cada movimiento.
controlar Teclado Inactivo
[quote="infosys":1z66bddn]En realidad fue lo primero que se me ocurrio, trabajar con un timer, pero lo que necesito es controlar si el mouse se esta moviendo y si en algun lugar se presiona alguna tecla, lo cual me indicaria que alguien sigue utilizando el programa, pero lo que no se es como controlar el uso del teclado y si pudiera el movimiento del mouse, para que el timer se renueve con cada movimiento.[/quote:1z66bddn] Infosys, Se me ocurre poner un timar, con una variable global (puede ser de tipo Logical), y actualizarla con el bChange, asi cuando pongas el Timer, la validas y listo. Es una idea, jjejje Saludos
controlar Teclado Inactivo
Hola Me parecio interesante tu post, asi que estuve investigando y encontre esto : Para poder hacer lo que comentas, se debera hacer un programa que haga la funcion de un ScreenSaver ya sea en C o C++ ( segun lei, en varios lenguajes ) y al incrustarle la libreria scrnsave.lib esta se encarga del "monitoreo" del idle del raton y del teclado, asi que desde esa app podrias enviar X mensaje o evento a tu aplicacion principal para que se desactive o haga algo, haciendo uso de algun timer para que cheque que exista tal aviso X. En realidad el principio no se ve tan dificil ( ni tan facil, claro ) pero si es posible, lastima que mis conocimientos en C sean muy pocos <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> aqui puedes bajar la libreria : <!-- m --><a class="postlink" href="http://www.ols-lab.com/devcorner/scrnsave/">http://www.ols-lab.com/devcorner/scrnsave/</a><!-- m --> y aqui puedes ver unos ejemplos de como crear un ScreenSaver : <!-- m --><a class="postlink" href="http://www.cityintherain.com/howtoscr.html">http://www.cityintherain.com/howtoscr.html</a><!-- m --> Espero te sirva Saludos
controlar Teclado Inactivo
Raymundo, Te agradezco la información, estuve revisando el material pero a la hora de implementación no logro el control que deseo, en realidad mi plan es que el programa en ejecución se bloquee y el usuario debe ingresar su contraseña para desbloquearlo o bien un supervisor, pero eso solo puedo hacerlo en el mismo programa y no por screensaver ya que no se como establecer ese control unido a mi programa de aplicación. Saludos Miguel
controlar Teclado Inactivo
Hola Podrias intentar algo como esto : En el archivo ScreenSaver, que en realidad no es otra cosa que otro EXE, al activarse le indicas que genere algun archivito que quieras : "LockPc.TXT" en carpeta XX, y ya desde tu App, le activas un timer para que cada YY tiempo, verifique si existe el archivo "LockPc.TXT" en tal carpeta, si lo encuentra, que haga lo que le indiques y que borre dicho archivo. Saludos
controlar Teclado Inactivo
Raymundo, gracias opte por el metodo que me comentaste y funciona Ok. Saludos Miguel
controlar en xbrowse las flechas...
hola. Quiero que cuando se mueva las flechas para arriba o para abajo me llene otro xbrowse, con esto no me funciona las flechas: [code=fw:1rxpaz4o]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; &nbsp; &nbsp;::<span style="color: #000000;">oBrw</span>:<span style="color: #000000;">bKeyDown</span>:=<span style="color: #000000;">&#123;</span>| nkey | ::<span style="color: #000000;">valorRetorno</span><span style="color: #000000;">&#40;</span>nKey<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#125;</span><br />&nbsp;</div>[/code:1rxpaz4o] con que bloque lo controlo? gracias.
controlar en xbrowse las flechas...
oBrw:bChange := {|| Whatyouwanttodo() }
controlar en xbrowse las flechas...
[quote="FranciscoA":1ml4z0nq]oBrw:bChange := {|| Whatyouwanttodo() }[/quote:1ml4z0nq] gracias.
controles sobre dialog con color degradado
buenos dias compañeros Tengo un dialogo con color degradado con una funcion que baje del foro Como debo poner un Say o un Get en ese dialogo para que me respete el color degradado del dialogo ? He probado oSay:Setcolor( CLR_BLACK, oSay:nClrPane ) o con oSay:lTransparent := .T. sin resultados Se puede ? Gracias
controles sobre dialog con color degradado
Wilson, Prueba llamando a FixSays( ::hWnd ) desde la claúsula ON INIT: ACTIVATE DIALOG oDlg ON INIT FixSays( oDlg:hWnd )
controles sobre dialog con color degradado
gracias Antonio, lo voy a probar Pero como declaro los colores de los Say o Get ? los dejo como transparentes Saludos
controles sobre dialog con color degradado
La función FixSays() los hace transparentes.
controles sobre dialog con color degradado
Gracias Antonio, funciona con los Say y los Get pero no con los CheckBox Hay alguna solucion ? Saludos
controles sobre dialog con color degradado
Wilson, No por el momento.
controles sobre dialog con color degradado
ok Antonio Gracias
controls
Antonio, Does Fivemac support .rc dialogs?. What about xBrowse?. Thanks.
controls
up.
controls
John, FiveMac supports Resourced dialogs but using Mac OSX standard NIB files that can be created using OSX xcode. FiveMac supports standard OSX browses, very powerfull, but they are not xbrowse. Keep in mind that you can make a Windows app run on OSX using free WineBottler utility: [url:1lta264s]http&#58;//winebottler&#46;kronenberg&#46;org/[/url:1lta264s]
controls
Antonio, Thank you. Do you plan to implement .rc files in FiveMac?.
controls
John, rc files support is something specific to Windows, created by Microsoft. Apple created its own format (NIB files), or Linux that if using GTK you can use glade files. There is more sense to support each OS specific resources format.
controls
Antonio, Thank you. I though there was a conversion tool like Xailer imports .rc and converts into forms. That tool will allow to create multi OS software with the same code!!.
controls
Hello UKService, >That tool will allow to create multi OS software with the same code!!. For our company we decided RemoteDesktop is the way to go. Best regards, Otto
controls
Can I use remote desktop on IPad? If yes, how? Happy new year! EMG
controls
Hello Enrico, Yes you need a RDP client for the IPAD. Tomorrow I will ask Aljoscha to answer how to do. He is working with me. His name in the forum is Ali. Best regards, Otto
controls
Thank you, I'm waiting eagerly! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> EMG
controls
Hi Enrico My clients use PocketCloud Pro on their iPads to RDP into their windows server - they find it quite good. Cheers Colin
controls
Hi Enrico! Below is the guide to set up an RDP connection on the iPad (we use this for our customer): Step 1: you must go to the AppStore – search for ITAP Step 2: you must buy the iTap mobile RDP client (€ 9,99) Step 3: after installation start the iTapRDP Step 4: klick Add Manual Bookmark Step 5: klick on Label = Kassa; klick on Host = "your IP from your Server" klick on Credentials klick on Username: "your User for RDP"; klick on Password: "your Password"; klick right on SAVE Step 6: klick right on SAVE now on the left site there will be a new entry; when everything is right the symbol will be green; when you klick on the entry on the right site will be a button with connect; Best regards, Aljoscha
controls
Thank you, I will try. Is there anything free? EMG
controls
[quote="Enrico Maria Giordano":35hba1zq]Is there anything free?[/quote:35hba1zq] [b:35hba1zq]Remote Desktop Lite[/b:35hba1zq] [url:35hba1zq]http&#58;//itunes&#46;apple&#46;com/us/app/remote-desktop-lite-rdp/id288362576?mt=8[/url:35hba1zq] [quote:35hba1zq]LIMITATIONS - Windows HOME edition cannot be used, as it does not include the RDP protocol. - We cannot offer Windows 200x Server access, as it will require another patent license from Microsoft. - No sound support - Supports 7 keyboard types: US, Danish, German QWERTZ, French AZERTY , UK , Spanish and Canadian.[/quote:35hba1zq] [b:35hba1zq]2X Client RDP/Remote Desktop[/b:35hba1zq] [url:35hba1zq]http&#58;//itunes&#46;apple&#46;com/us/app/2x-client-rdp-remote-desktop/id401103105?mt=8[/url:35hba1zq] [b:35hba1zq]iRdesktop[/b:35hba1zq] [url:35hba1zq]http&#58;//itunes&#46;apple&#46;com/us/app/irdesktop/id311467740?mt=8[/url:35hba1zq] [b:35hba1zq]Anser[/b:35hba1zq]
controls
Thank you! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> EMG
controls
Working great, thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Also, using this hack, a Windows 7 can serve several users simultaneously ! [url:36lnjhjl]http&#58;//www&#46;windows7hacker&#46;com/index&#46;php/2009/09/how-to-enable-multiple-concurrent-user-in-remote-desktop-windows-7/[/url:36lnjhjl]
controls on dialog init/not init
hello, I have those 2 samples: [code=fw:26cen89e]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> oDlg, cFirst := <span style="color: #ff0000;">"Hello"</span>, cLast := <span style="color: #ff0000;">"World"</span><br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">500</span>, <span style="color: #000000;">250</span><br />   <br />   @ <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span> <span style="color: #0000ff;">GET</span> cFirst <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">80</span>, <span style="color: #000000;">10</span><br />   <br />   @ <span style="color: #000000;">2</span>, <span style="color: #000000;">1</span> <span style="color: #0000ff;">GET</span> cLast <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">80</span>, <span style="color: #000000;">10</span><br /><br />   @ <span style="color: #000000;">5</span>, <span style="color: #000000;">11</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"Ok"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> cFirst + <span style="color: #ff0000;">", "</span> + cLast <span style="color: #000000;">&#41;</span><br /><br />   @ <span style="color: #000000;">5</span>, <span style="color: #000000;">21</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"Cancel"</span> <span style="color: #0000ff;">ACTION</span> oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:26cen89e] that produce:[img:26cen89e]http&#58;//i&#46;imgur&#46;com/4669O4J&#46;png[/img:26cen89e] [code=fw:26cen89e]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span> oDlg<br /><br />   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">500</span>, <span style="color: #000000;">250</span><br />      <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">CENTERED</span> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> <span style="color: #0000ff;">init</span><span style="color: #000000;">&#40;</span>oDlg<span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br />PROC <span style="color: #0000ff;">init</span><span style="color: #000000;">&#40;</span>oDlg<span style="color: #000000;">&#41;</span><br /><br />   <span style="color: #00C800;">local</span>  cFirst := <span style="color: #ff0000;">"Hello"</span>, cLast := <span style="color: #ff0000;">"World"</span><br />   @ <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span> <span style="color: #0000ff;">GET</span> cFirst <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">80</span>, <span style="color: #000000;">10</span><br />   <br />   @ <span style="color: #000000;">2</span>, <span style="color: #000000;">1</span> <span style="color: #0000ff;">GET</span> cLast <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">80</span>, <span style="color: #000000;">10</span><br /><br />   @ <span style="color: #000000;">5</span>, <span style="color: #000000;">11</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"Ok"</span> <span style="color: #0000ff;">ACTION</span> <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> cFirst + <span style="color: #ff0000;">", "</span> + cLast <span style="color: #000000;">&#41;</span><br /><br />   @ <span style="color: #000000;">5</span>, <span style="color: #000000;">21</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"Cancel"</span> <span style="color: #0000ff;">ACTION</span> oDlg:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span></div>[/code:26cen89e] that produce:[img:26cen89e]http&#58;//i&#46;imgur&#46;com/ggXlzGM&#46;png[/img:26cen89e] I usually use the second code. I tried for 5 minutes to find why, but I was not able to found it. Regards, Antonino
controls on dialog init/not init
Hi Antonino, may be the difference is related to the font setup that in turns affects the dialog's coordinates system. It is easy to try: just change dialog font and you'll see how dialog changes it's size. Just try that in a Resource Editor like PellesC, it will be obvious. Probably setting a font in the DEFINE DIALOG will solve the problem.
controls on dialog init/not init
Antonino, When a dialogbox is going to be created it uses "units" (including the created controls): [url:a4ksccfu]https&#58;//msdn&#46;microsoft&#46;com/en-us/library/windows/desktop/ms645475(v=vs&#46;85)&#46;aspx[/url:a4ksccfu] Once it is created (ON INIT) the controls use pixels.
controls on dialog init/not init
[quote="Antonio Linares":1us3ihr9]Antonino, When a dialogbox is going to be created it uses "units" (including the created controls): [url:1us3ihr9]https&#58;//msdn&#46;microsoft&#46;com/en-us/library/windows/desktop/ms645475(v=vs&#46;85)&#46;aspx[/url:1us3ihr9] Once it is created (ON INIT) the controls use pixels.[/quote:1us3ihr9] It always looks as a bug... The really strange thing is the style of TGet, in the first case they have the clientEdge, in the second case they look with square brackets...
controls on dialog init/not init
Antonino, Try to increase the height of the GETs and surely they will look fine
conversion
Iwant converte this command Gradient( ::hDC,  { ::nTop,  ::nLeft,  ::nBottom ,  ::nRight  },::nClr1, ::nClr2, .T. )    WITH StretchBlt() how i must make it?
conversion
Silvio, FWH Gradient() already stretches the painting
conversion al formato UTF8
Hola: Estoy intentando crear un fichero en formato XML con codificación UTF8 y utilizo una función de conversión que encontré en este foro para convertir texto a formato UTF8 UnitToU8(cString) El caso es que algunos caracteres especiales no los convierte por ejemplo el caracter ampersand ¿Tengo que hacer algun tipo más de control, o con esta función ya está todo hecho? Gracias Un saludo