topic
stringlengths
1
63
text
stringlengths
1
577k
creation of a pdf
Mr. EMG Please pardon my ignorance. I am curious to know why you are using HB_BASE64DECODE in this code. [code=fw:thb4hib2]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp; cTxt = <span style="color: #0000ff;">SUBSTR</span><span style="color: #000000;">&#40;</span> cTxt, nSta, nLen <span st...
creation of a pdf
Because the PDF is encoded Base64 inside the file XML: <Attachment>...base64code...</Attachment> EMG
creation of a pdf
[quote="Enrico Maria Giordano":10p50d96]Because the PDF is encoded Base64 inside the file XML: <Attachment>...base64code...</Attachment> EMG[/quote:10p50d96] Thanks
creation of a pdf
[quote="Enrico Maria Giordano":2k2u4fx6]Because the PDF is encoded Base64 inside the file XML: <Attachment>...base64code...</Attachment> EMG[/quote:2k2u4fx6] Emg, Now here at School we have an electronic invoice with the style sheet incorporated, so if I use base64code and converte it not run ok any solution plea...
creaton dialog
can I create a dialog often caption style 32 bit but with caption style 16 bit
creazione bottoni da dbf
il problema è semplice : Ho un archivio di prodotti ed ogni prodotto devo associarli ad un bottone per esempio codice : caffe articolo: caffe espresso prezzo: 0.80 bottone: 3 reparto : bar e qui è tutto chiaro però.... in una finestra oWnd devo creare i bottoni ( ogni bottone è associato un numero inizialmente e p...
creazione bottoni da dbf
GRAZIE COMUNQUE ...HO RISOLTO PER META... '
creazione file word da fwh
Come vi ricorderete, tempo fa sono stato derubato (haime <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> ) del portatile e dei supporti usb dove custodivo i backup dell'unica applicazione sviluppata. Ho trascroso praticamente l'estate a risriverla (in compenso l'ho molto migliorat...
creazione file word da fwh
1) Sì. 2) Sì, comincia con questo: [code:2fo7cpwv]FUNCTION MAIN&#40;&#41; LOCAL oWord, oDoc oWord = TOleAuto&#40;&#41;&#58;New&#40; "Word&#46;Application" &#41; oDoc = oWord&#58;Documents&#58;Add&#40;&#41; oDoc&#58;Range&#58;InsertAfter&#40; "This is a test" &#41; oDoc&#58;SaveAs&#40; "c&#58;...
creazione file word da fwh
Ciao Enrico, naturalmente l'esempio è ok <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Posso inserire immagini? se si posso posizionarle dove voglio? Se volessi costruire una tabella (o box) ed inserirvi dentro informazioni, c'è questa possibilità? Comunque, e hai le...
creazione file word da fwh
Ho sottomano questo esempio per le tabelle: [code:3esddwpx]FUNCTION MAIN&#40;&#41; LOCAL oWord, oDoc, oTable oWord = CREATEOBJECT&#40; "Word&#46;Application" &#41; oDoc = oWord&#58;Documents&#58;Add&#40;&#41; oTable = oDoc&#58;Tables&#58;Add&#40; oWord&#58;Selection&#58;Range, 3, 5 &#41; oTabl...
creazione file word da fwh
Gazie Enrico, provvederò
creazione file word da fwh
compilando l'esempio ottengo questo errore: Error: Unresolved external '_HB_FUN_CREATEOBJECT' referenced from C:\MED32\SOURCE\OBJ\DIPEND.OBJ la dimensione di hbole.lib è di 37.376 bytes, purtroppo penso che la data di creazione (04/05/2005) sia quella della copia sul pc <!-- s:? --><img src="{SMILIES_PATH}/icon_confu...
creazione file word da fwh
Sostituisci CREATEOBJECT( "Word.Application" ) con TOleAuto():New( "Word.Application" ) EMG
creazione file word da fwh
Enrico, in esecuzione ottengo: OLE ERROR ---------> ADD: Unknow error conseguentemente: Application =========== Path and name: C:\med32\MED.Exe (32 bits) Size: 1,346,560 bytes Time from start: 0 hours 2 mins 3 secs Error occurred at: 09-11-2005, 18:53:50 Error description: Error BASE/1004 Class: NIL h...
creazione file word da fwh
Confermo che con Harbour non funziona. Ti consiglio vivamente di passare a xHarbour. EMG
creazione file word da fwh
<!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><!-- s:? --> non ci voleva proprio!!! 1) compatibilita H-->xH = 100%? 2) dove scaricare xH? 3) hbole è già inclusa con xH vero? 4) ho bisogno d'altro? Ciao e ................grazie
creazione file word da fwh
1) Che io sappia, sì. Qui il problema probabilmente non è in Harbour ma nella libreria hbole. Può darsi che quella che sto (stiamo) utilizzando sia vecchia. Bisognerebbe provare a ricompilarla dal CVS ma ora non ne ho il tempo. Magari prova tu e se proprio non ci riesci allora, per favore, scrivimi un messaggio privato...
creazione file word da fwh
Ok Enrico, grazie, provo a passere ad xH. Nel caso avessi problemi con xH ti scrivo, per quanto riguarda la ricompilazione dal CVS, in ufficio non mi è proprio possibile a casa, mia figlia ha il monopolio assoluto del PC e ora che ha scoperto internet ..............è finita <!-- s:cry: --><img src="{SMILIES_PATH}/icon_...
creazione file word da fwh
Passato a xHarbour, in compilazione tutto ok, sembra non trovare dbfdbt.lib (presente in c:\xHardour\lib\ ... data creazione:lunedì 6 giugno 2005, 22.22.44), questo il messaggio: Error: Unresolved external '_HB_FUN_DBFDBT' referenced from C:\XHARBOUR\LIB\RDD.LIB|rddsys inoltre questa instruzione: * DEFINE BUTTON OF ...
creazione file word da fwh
[quote="juanito":huj4zass]Passato a xHarbour, in compilazione tutto ok, sembra non trovare dbfdbt.lib (presente in c:\xHardour\lib\ ... data creazione:lunedì 6 giugno 2005, 22.22.44), questo il messaggio: Error: Unresolved external '_HB_FUN_DBFDBT' referenced from C:\XHARBOUR\LIB\RDD.LIB|rddsys[/quote:huj4zass] Se la ...
creazione file word da fwh
Enrico, il problema della dbfdbt.lib l'ho risolto mettendola come libreria di terze parti, in esecuzione ho questo messaggio di errore: Unrecoverable error 9000: 'ALERT.PRG' was compiled by older version, PCODE version 5 is no longer supported - Please recompile. Devo ricompilare tutto fivewin? Come fare?
creazione file word da fwh
L'istruzione BUTTON presenta due volte il MESSAGE, strano che harbour non ci fa caso <!-- s:o --><img src="{SMILIES_PATH}/icon_surprised.gif" alt=":o" title="Surprised" /><!-- s:o -->
creazione file word da fwh
Sì, devi ricompilare Fivewin. Usa questo batch: @ ECHO OFF COPY c:\fwharbour\source\function\*.prg COPY c:\fwharbour\source\winapi\*.prg COPY c:\fwharbour\source\classes\*.prg DEL expbuild.prg DEL db10.prg DEL odbc32.prg DEL dbm.prg DEL vbxctrl.prg DEL _index.prg DEL dbms.prg DEL ddeserv.prg DEL field.prg DEL tnewsi...
creazione file word da fwh
[quote="juanito":1mlagtpf]L'istruzione BUTTON presenta due volte il MESSAGE, strano che harbour non ci fa caso <!-- s:o --><img src="{SMILIES_PATH}/icon_surprised.gif" alt=":o" title="Surprised" /><!-- s:o -->[/quote:1mlagtpf] Probabilmente è un bug del preprocessore di Harbour. EMG
creazione file word da fwh
Grazie Enrico, uso borland anche io, quindi tutto ok. Spero vada tutto bene. Ciao
creazione file word da fwh
Installato xH. Ho ricompilato le fwh, tutto ok. Ho ricompilato l'applicativo, nessun errore. In esecuzione l'applicativo parte ma esce subito senza dare errore <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> Dopo tante, tante modifiche e prove ho notato che l'applicativo esce, se...
creazione file word da fwh
Direi di sì, sono passati parecchi mesi da allora! Però non saprei dirti quale cambiamento sta influenzando negativamente la tua applicazione. Ma se gli esempi funzionano allora non ti dovrebbe essere difficile risalire, un passo alla volta, alla causa, no? EMG
creazione file word da fwh
E' 'na parola! Vedo che sei sempre vigile <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Purtroppo l'applicativo è complicato anche da scomporre <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><!-- s:? --> Un cambiamento avvenuto e...
credencials for HMGFORUM
Hello, I got a privat mail from a friend who ask me if I know how to get a password for <!-- m --><a class="postlink" href="http://www.hmgforum.com">http://www.hmgforum.com</a><!-- m --> . I didn*t even know that this forum exists. Can someone please help. It seems that admin does not respond. Best regards Otto
credencials for HMGFORUM
Otto, the same usage like FWH-forum [img:1heja0kx]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/HBForum1&#46;jpg[/img:1heja0kx] regards Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
credencials for HMGFORUM
Hallo Uwe, danke. Aber wir haben vom Admin keine Emil erhalten. Ist in der wischenzeit aber erfolgt. Hast du dir mod harbour schon angeschaut? LG Otto
credencials for HMGFORUM
[quote="Otto":1lalx2zb]Hello, I got a privat mail from a friend who ask me if I know how to get a password for <!-- m --><a class="postlink" href="http://www.hmgforum.com">http://www.hmgforum.com</a><!-- m --> . I didn*t even know that this forum exists. Can someone please help. It seems that admin does not respond. B...
cretate fivehm
I can't create new fivehm (8.08) , I used xHarbour commercial
cretate fivehm
[quote="kajot":2qxxzzcl]I can't create new fivehm (8.08) , I used xHarbour commercial[/quote:2qxxzzcl]This is very interesting <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> Do you get an error message you could share with us?May be with more information we could gi...
cretate fivehm
error:Type: C >>>xhb.exe -o"Obj\activex.c" -m -n -pOObj\ -q -gc0 -D-w2 -I"D:\fwh\include" -I"D:\xHB\include" -I"D:\xHB\include\w32" "Source\Classes\activex.prg"<<<Error F0034 Bad command line option: 'OObj\'Type: C >>>Couldn't build: activex.obj<<<Type: C >>>TMAKEOBJECT<<<Type: C >>>TMAKEOBJECT:REFRESH<<<Type: N >>>...
cretate fivehm
[xbuild.prg->MAIN] (509)Type: C >>>M->__ValToPrg_Object := ERROR():New() M->__ValToPrg_Object:ARGS := Array(7) M->__ValToPrg_Object:ARGS[1] := "xH_Fivehmx.lib" M->__ValToPrg_Object:ARGS[2] := NIL M->__ValToPrg_Object:ARGS[3] := "D:\xHB\" M->__ValToPrg_Object:ARGS[4] := "-m -n -p -q -gc0" M->_...
cretate fivehm
Kajot,> M->__ValToPrg_Object:DESCRIPTION := "Invalid format: '//[Source\Classes\activex.prg]' in: xH_Fivehmx.lib"It looks as you have a "//" in the PRG name ?You should check it with Patrick Mast. Here we use standard Borland (or Microsoft) make files only.
cretate fivehm
now I have only this errorCouldn't scan: 'hbclass.ch'
cretate fivehm
Kajot,Is your headers files folder path properly set ?Please ask Patrick Mast for a more recent beta builder, thanks
criar arquivos .TXT
ola amigos,alguem pode me dar uma força de como criar arquivos .TXT ROQUE
criar arquivos .TXT
MemoWrit( CurDir() + "\test.txt", "This is a text file example" )
criar arquivos .TXT
obrigado Antonio
cronometro
Amigos, Necesito poner un cronometro en un dialogo de ingreso de datos y que el usuario puede ponerlo en pausa cuando deje de ingresar datos y cuendo retome el ingreso de datos lo active nuevamente Gracias de antemano por sus respuestas <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-...
cronometro
if you found the solution can you send me also to my private email . thanks
cronometro
Luis, Usa un timer.
cronometro
or the clock class of canalfive with event class....
cronometro
Antonio, Disculpa mi ingnorancia pero como implemento esto, El timer es una clase ? viene con FWH? Gracias de antemano, por tus comentarios
cronometro
yes there is a class
cronometro
Cronometro: <!-- m --><a class="postlink" href="http://www.fivewin.com.br/forum/topic.asp?TOPIC_ID=1488">http://www.fivewin.com.br/forum/topic.asp?TOPIC_ID=1488</a><!-- m -->
cronometro
Luis, Revisa samples\TestTime.prg
crop an Image
IF I have an Image I can crop a part of this image selecting with mouse and save this part cropped as new image ? there is a sample ?
crop an Image
CropImage( hOriginalBmp, nTop, nLeft, nBottom , nRight ) --> hCroppedBmp
crop an Image
Silvio, some month ago I used NCONVERT as a solution [img:3zavpbxu]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Imgcrop1&#46;jpg[/img:3zavpbxu] It creates a image of the defined area with everything that is visible inside the selected area. ( Cropped screenshot ) I think it is possible to replace NCONVERT with [qu...
crop an Image
[quote="nageswaragunupudi":3q4rxb8r]CropImage( hOriginalBmp, nTop, nLeft, nBottom , nRight ) --> hCroppedBmp[/quote:3q4rxb8r] yes of cource but how I can make with mouse into an Image How show the box and move angles with mouse ?
crop an Image
Silvio, [quote:u3jwjxue]How show the box and move angles with mouse ?[/quote:u3jwjxue] to define a area I use [img:u3jwjxue]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/imgarea&#46;jpg[/img:u3jwjxue] move and resize next save the selected area of a image 1. rightclick define the area jn design-mode 2. rightclick s...
crop an Image
sorry I not see anything
crop an Image
The captured area to be saved. A new dialog is created from the cropped result. [img:2girhigb]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/cropped3&#46;jpg[/img:2girhigb] There seems a adjustment needed ? oGroup := TGroup():New( nRow, nCol, ; // nTop, nLeft nRow + 150, ; // nBottom nCol + 150, ; /...
crop an Image
here not run I have the last fwh and win10
crop an Image
Silvio, I'm using dialog background-brushes to define the area ( dialog-size adjusted to the image-size )! NOT a image. That is the reason You don't get it working. the full test <!-- m --><a class="postlink" href="http://www.pflegeplus.com/DOWNLOADS/Croppimg1.zip">http://www.pflegeplus.com/DOWNLOADS/Croppimg1.zip</...
crop an Image
I just tested a solution cropping something from oversized images. Because I want to see the full image ( NO scroll-area ), I resized the original and saved the full size ( original ) of the cropped area. I calculated a resize-factor in relation to the main-window-size. I think searching inside a scroll-area of a imag...
crop an Image
Uwe, I must create a badge when I acquire the photo of user with webcam I must crop only the face to insert it on badge any solution ?
crop an Image
Silvio, it means You want to select a area of the focused dialog or windows and save it ? I created 2 solutions : 1. selecting a area of a image 2. selecting a area / detail of a dialog or windows. With the second solution I noticed a problem with using [color=#0000FF:1b0e55w0]BringWindowToTop( oCSay:hWnd )[/color:1b...
crop an Image
I made a dialog [img:37h8z1r7]https&#58;//s1&#46;postimg&#46;org/965hlm9e1b/testcrop&#46;jpg[/img:37h8z1r7] 1. select the image 2. the Image is showed into big image (oImage) and on the small image ( Preview image) 3. there is a button "Crop" to cropped the image I wish when "Crp" button is pressed show a box ...
crop an Image
I made oImage:bLButtonUp := { | x, y, z, k | RectDotted( oImage:getDc(), x, y, z, k )} oImage:bMMoved := { | x, y, z, k | RectDotted( oImage:getDc(), x, y, z, k )} oImage:bLClicked := { | x, y, z, k | RectDotted( oImage:getDc(), x, y, z, k )} but it not run
crop an Image
Silvio, have a look at the new relase 2.2 ( just let me know about any possible improvements ) Load a image and resize if needed Export the cropped image to another format Full preview of a loaded image ( NO scrollarea ) The result of the cropped image is visible in full size on the left upper corner ( NOT adjusted ...
crop an Image
Uwe see my test I wish draw a box dotted directly on oImage and save the box dotted into oImageCropped control
crop an Image
Are the cropped and/or resized images of the same quality as the original (Pixels) ? A 300 Pix stays 300 Pix In the topic it say it does, but was FWH not loosing quality with saving images ?
crop an Image
[b:3k21n5av]Now Run ok[/b:3k21n5av] . only I not Know how zoom the image cropped ...Someone can found an help for me ? [b:3k21n5av]step 1 [/b:3k21n5av] [b:3k21n5av]select a file to crop [/b:3k21n5av] [img:3k21n5av]https&#58;//s1&#46;postimg&#46;org/4u4seeyi4f/image&#46;png[/img:3k21n5av] [b:3k21n5av]step 2 [/b:3k2...
crop an Image
[b:5enjqh52]New release [/b:5enjqh52]!!!!!!!!!!!! [img:5enjqh52]https&#58;//s1&#46;postimg&#46;org/3ao3j8fnr3/good&#46;jpg[/img:5enjqh52] [b:5enjqh52]Now you can [size=150:5enjqh52]draw a Box dotted[/size:5enjqh52] directly on the image with the mouse , when you draw the box it[size=150:5enjqh52] crop the image[/...
crop an Image
IF I SCROLL the image the coordinates are not refresh not and when I select with mouse the procedure give me the initials coordinates how update the coordinates ?
crop an Image
Silvio, if You click on the same position, You don't get the real image-position from top / left after scrolling. It will be always the position from < @ [color=#FF0040:21on6xd5][b:21on6xd5]0, 0 [/b:21on6xd5][/color:21on6xd5] IMAGE oImage SIZE 280, 200 OF oCattura SCROLL > see the results most top / left [img:21on6...
crop an Image
right how I can resolve it ?
crop an Image
when I save the image sometimes it crash Called from DIBWRITE(0) Called from TIMAGE:SAVEIMAGE(191) in .\source\classes\IMAGE.PRG Called from CROP_IMAGE(161) in test.prg Called from MOUSEMOVE(144) in test.prg Called from (b)GETIMAGE(104) in test.prg Called from TWINDOW:MOUSEMOVE(3054) in .\source\classes\WINDOW.PRG Ca...
crop an Image
Silvio, as well I noticed all these problems. I'm just testing another solution : 1. I scroll to the wanted image-area 2. making a screenshot ( a TEMP-dialog shows the screenshot as a BRUSH ) 3. selecting from the TEMP-dialog-background the wanted area. 4. the cropped area can be resized or to a different format-con...
crop an Image
I tried with : :ScrollAdjust() :Refresh( .t. ) :CoorsUpdate() but not run ok
crop an Image
Silvio, my solution seems to work [color=#0000FF:32nfrc5n][b:32nfrc5n]The image shown at startup ( top = 0, left = 0 )[/b:32nfrc5n][/color:32nfrc5n] [img:32nfrc5n]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/cropp20&#46;jpg[/img:32nfrc5n] [color=#0000FF:32nfrc5n][b:32nfrc5n]next moving to the wanted area and choosi...
crop an Image
on my test the dotted box is drawed on right coordinates , the cropping on bad coordinates . you solution with tgroup or another control ( es. say) are not good for me because then it is not trasparent and when I size the control( design) thee are lines or zoom of part of background ( brush) I must insert it on a ...
crop an Image
[img:1n552rx5]https&#58;//s1&#46;postimg&#46;org/7rwkaqu84v/testcrop&#46;jpg[/img:1n552rx5] [b:1n552rx5]when with mouse I create the dotted box it create on right coordinates ( green box) when I call cropimage function it return me bad coordinates . why ? ( red arrow)[/b:1n552rx5]
crop an Image
resolved now run ok [img:2sh93jgu]https&#58;//s1&#46;postimg&#46;org/44i32hl05b/image&#46;jpg[/img:2sh93jgu]
cross-site scripting
After Skype session yesterday I was discussing some security aspects with Andreu. Andreu helps me to understand some risks better. I am focused on the firewall but it seems also in programming we must be careful. but we have to give a security concept to mod harbour starters Andreu, 19:43 to be fair, I think for star...
cross-site scripting
In order to write an < sign in HTML that doesn't start a tag, you write it &lt; Same with > and &gt; If you're writing code to render an attribute in a tag, you can escape a quote with &apos; (single quote) or &quot; (double quote) Just that should be enough Replace those in any input you're printing
csql := oCon:UPDATE( ""clientes"" SOLUCIONADO
[code=fw:5xdzf2iq]<div class="fw" id="{CB}" style="font-family: monospace;">oCon:<span style="color: #0000ff;">Update</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"clientes"</span>, <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"nomcli"</span> <span style="c...
csql := oCon:UPDATE( ""clientes"" SOLUCIONADO
Hola, alguien me podria ayudar con esta sintaxsis por favor. cCod := "2001" nom := "Dario" numercli es el numero del cliente csql := oCon:UPDATE( "clientes" , "nomcli", nom , WHERE numercli = cCod ) Gracias, no le doy en la tecla y no encontré ningún ejemplo. Saludos Dario Fernandez
csql := oCon:UPDATE( ""clientes"" SOLUCIONADO
Thanks a lot. I'm trying sql. Diario Fernández,. Enviado desde mi Redmi Note 8 Pro mediante Tapatalk
ct.lib
I link the ct.lib on xharbour project and then let me sad not found FT_NOOCCUR function why ?
ct.lib
Are you using Harbour or xHarbour ?
ct.lib
xharbour and i think I need nf.lib but Inot have it
ct.lib
You can use OCCURS( cSearch, cString ) --> number of occurances function in ct.lib for the same purpose.
ctrl+U - como la detecto?
Buenas noches, Necesito, dentro de un diálogo, detectar cuando se haya pulsado la combinación de teclas "Ctrl + U" que antes usaba en Clipper (chr 21) hago esto: oDlg:bKeyDown := {|nK| if(nK==21, ...hacer una cosa... , ....hace otra cosa ) } Pero siempre me detecta la primera de las dos que presiono (17 para Ctrol ...
ctrl+U - como la detecto?
... if( nK == 85 .and. GetKeyState( VK_CONTROL ), ...
ctrl+U - como la detecto?
Buen día, Gracias por responder pero, sigue sin funcionar. para testear hice: oDlg:bKeyDown := {|nK| if(nK == 85 .and. GetKeyState( VK_CONTROL ) , msginfo('21') , msginfo(str(nK)) ) } Y siempre detecta el caracter 17. ¿Debo hacer una funcióna para esto o hay algo que me falta? Gracias. Rolando <!-- s:D --><img ...
ctrl+U - como la detecto?
El 85 es la U mayúscula. Usa entonces el 17: {|nK| If( nK == 17 .and. GetKeyState( VK_CONTROL ), ...
ctrl+U - como la detecto?
[code:3nhd7bn4] DO CASE CASE &#40; nKey == Asc&#40; "A" &#41; &#46;OR&#46; nKey == Asc&#40; "a" &#41; &#41; &#46;AND&#46; ; GetKeyState&#40; VK_CONTROL &#41; ? 'Control+A-For Nilson' CASE &#40; nKey == Asc&#40; "B" &#41; &#46;OR&#46; nKey == Asc&#40; "b" &#41; &#41; &#46;A...
ctrl+U - como la detecto?
Sigo con el mismo problema, ahora detecta apenas se presiona solamente la tecla ctrl. Lo que necesito es que detecte cuando están ambas presionadas, CTRL y u. Gracias. Rolando <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
ctrl+U - como la detecto?
Debería funcionarte así, como te ha mostrado Joao: {|nK| If( ( nK == Asc( "u" ) ) .and. GetKeyState( VK_CONTROL ), ...
ctrl+U - como la detecto?
Gracias, por la tarde lo probaré ya que mi labor diaria me llama. Rolando <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: -->
ctrl+U - como la detecto?
rolando, este codigo me funciona bien #include "FiveWin.ch" function Main() local oDlg DEFINE DIALOG oDlg TITLE "PRUEBA DE PULSACION DE TECLA" ODLG:BKEYDOWN:={|NKEY|ULTTECLA(NKEY)} ACTIVATE DIALOG oDlg CENTERED return nil FUNCTION ULTTECLA(NKEY) // yo por si las "moscas" he anulado las teclas de comb...
ctrl+U - como la detecto?
Gracias, ya lo solucioné. Usé como base la función de Jaro que es algo similar a lo de Joao. Rolando <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
cual control tuvo el foco
Hola foro, tengo un dialogo con 30 controles de todo tipo, y tengo un boton que abre un dialogo extra, cuando salga de ese boton quiero que el foco quede en el control que estaba hasta antes dar click al boton, como se cual era ese control? salu2 pak-o