topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
Asociar Extencion de Archivos a mi Aplicación | Para quien lo necesite el Link Actualizado..
<!-- m --><a class="postlink" href="http://www.mediafire.com/download/c8lft8wobhb6jaj/Asociar.rar">http://www.mediafire.com/download/c8lft ... sociar.rar</a><!-- m -->
Saludos. |
Asociar Extencion de Archivos a mi Aplicación | Victor, gracias |
Asociar teclas a un xBrowse | Buenas Foro!, tengo este codigo asociado a un xbrowse:
[code:16ol8xez]
function press_on_browse(nKey,self)
msginfo(nkey)
do case
case nkey = VK_F2 .and. ::lInsertButton
::Insert()
case nkey = VK_F3 .and. ::lDeleteBut... |
Asociar teclas a un xBrowse | Se me ha olvidado comentaros que no es problema de VK_ESPAPE, ya que cuando pulso sobre la tecla ESCAPE, no se muestra nada en el msginfo.
SALUDOS |
Asociar teclas a un xBrowse | CUAL ÉS LA VERSION DE TU FIVEWIN?
PROBASTES CON bKeyDown()?? |
Asociar teclas a un xBrowse | Gracias Karina
es la FW 2.8 Octubre de 2006 |
Asociar teclas a un xBrowse | la llamada a press_on_browse la realizo asi:
[code:32vhr5eg]
::oBrowse:bKeydown:={|nkey|press_on_browse(nKey,self)}
[/code:32vhr5eg] |
Asociar teclas a un xBrowse | Cuando presionas ESC se sale del Browse o se queda alli?
Si se sale del Browse entonces tienes que modificar el metodo KEYDOWN
de la clase XBROWSE |
Asociar teclas a un xBrowse | Lo curioso es que no hace nada, es decir, si os fijais en la función del principio del post hay un msginfo(nkey), si pulso cualquier tecla me sale caracter ascii de la tecla pulsada, del F1, F2, F3, A, B, C, la que sea, pero si pulso ESCAPE no muestra nada. |
Asociar teclas a un xBrowse | fijate en el metodo KEYDOWN de la clase XBROWSE y entenderas porque. En mi caso tuve que modificarlo para poder captar todas las teclas sin excepcion.
Jaime |
Asociar teclas a un xBrowse | Revisando un poco el código, yo el metodo KeyDown de xBrowse lo veo bien. Claro está que si le añades CASE nKey==27 ..., conseguiras variar el comportamiento.
Pero en realidad el hecho de no evaluar bKeyDown, es debido a el metodo KeyDown de la clase control.
Allí si la tecla recibida es escape
[code:rjwiu7t9]
if nKe... |
Asociar teclas a un xBrowse | Muchas Gracias a los 2 (Jaime y Gabriel). Esperaré noticias. |
Asociar teclas de función a funciones específicas | Colegas, espero puedan ayudarme en esta dificultad.... <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: -->
Necesito asociar a los botones de una dialog que manipula los registros
de una base de datos (botones: nuevo, modificar, eliminar, anterior, siguiente, u... |
Asociar teclas de función a funciones específicas | Oye Jose,
yo lo hago asi como son botones los que quieres activar yo uso
CASE nKey==VK_F2
o123:SetFocus()
o123:Click()
siendo o123
REDEFINE BUTTON o123 ID 123 OF oDlgLot ;
PROMPT "&Buscar Ticket" Action (::BuscarTicket(::oComboSigno))
espero me entiendas y te ... |
Asociar teclas de función a funciones específicas | Hola Sr...
debe funcionar,, yo oo hago asi
SetKey(VK_F12,{||AbreCajonDinero(aSerieNumero)})
Salu2 |
Asociar teclas de función a funciones específicas | Gracias amigos por su ayuda, verdaderamente la mayoría de las veces este foro me saca de un apuro.
El error, (que se desprende de vuestros amables mensajes) es que estaba escribiendo mal la variable k_f2 en lugar de vk_f2 y así susesivamente, al reemplazar esto ya me anda, aunque tengo ahora unos errores que creo que ... |
Asociar teclas de función a funciones específicas | I use this
Maurizio
//---------------------------------
DEFINE BUTTON oBtn RESOURCE "TEST" OF oBar ACTION Msginfo("PRESS F2")
oBtn[1]:cargo := VK_F2
oDlg:bKeyDown = { | nKey | CheckKey(nKey,oBar)}
//----------------------------------
Function CheckKey(nKey,oBar)
Local nX,nY
IF nKey >= VK_F2 .AND. nKey ... |
Asort 101 | To All
I have never had to sort an array before .. I have looked at the asort documentation and looked at some posts in this forum .. and the answer seems a bit 'blurry' to me. <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><!-- s:? -->
I have a simple 4 element array with multi... |
Asort 101 | Hi Rick
Real simple and works well.
Syntax -
ASORT(<aTarget>, [<nStart>], [<nCount>], [<bOrder>]) --> aTarget
Example
::aAll:=ASORT(::aAll,,,{|x,y| x[1]<y[1]})
Your code
aSorted := ASORT(aLine,,,{|x,y| x[4]<y[4]})
There are no numeris restrictions either. It takes a few seconds to sort hundreds. Harbour... |
Asort 101 | Hi Rick;
[quote:30hjkwf3]Syntax
ASort( <aArray>, [<nStart>], [<nCount>], [<bSort>] ) --> aArray
Arguments
<aArray>
The array to be sorted.
<nStart>
This is a numeric expression indicating the first element in the array to begin sorting with. It defaults to 1, the first element of <aArray>.
<nCount>
A numeric exp... |
Asort 101 | To All
Thanks .. this seemed to be my solution
aSort( aSerial,,, { |x,y| x[4] < y[4] } )
Thanks
Rick
ps .. be sure you do not use AUTOSORT on your xBrowse ( I did <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> ) |
Asort array base two elements and found the last number | Dear friends,
I must found the last number (field 1) of this array if the cCode ( field 2) is "01"
Local aData:= { ;
{4,"01","17/03/2020","17/03/2020"} ,;
{7,"02","17/03/2020","18/03/2020"} ,;
{7,"01","17/03/2020","18/03/2020"} ,;
{11,"02","17/03/2020","18/03/2020"} ,... |
Asort array base two elements and found the last number | Silvio,
Try RASCAN
[code=fw:za1l9gcy]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">FUNCTION</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><span style="color: #00C800;">LOCAL</span> x , y , nPos<br /><span sty... |
Asort array base two elements and found the last number | thanks, I understood that I am doing something bigger than my abilities and when I have a problem that is easy for you it becomes difficult for me, perhaps because the mind is occupied by other thoughts and worries and I do not find the right solution |
Asort based on two array elements | Hi all,
I need to order the following array by date and by name (inside a date).
Do you have any suggest about ?
* date is the first element, name is the second
aArray:={}
aadd(aArray,{"01/10/2015","Marc"})
aadd(aArray,{"01/10/2015","Alexandra"})
aadd(aArray,{"01/07/2015","Paul"})
aadd(aArray,{"01/04/2015","Alexan... |
Asort based on two array elements | Hi Marco,
maybe using a third element?
aadd(aArray,{ "01/10/2015", "Marc", DTOS( CTOD( "01/10/2015" ) ) + "Marc" } ) |
Asort based on two array elements | [code=fw:3h8olczr]<div class="fw" id="{CB}" style="font-family: monospace;">ASort<span style="color: #000000;">(</span> aArray, <span style="color: #00C800;">nil</span>, <span style="color: #00C800;">nil</span>, <span style="color: #000000;">{</span> |x,y| <span style="color: #00C800;">If</span><span style="co... |
Asort based on two array elements | Solved, thank you Nages |
Asort con meter | Hola estoy ordenando una tabla, pero el ordenador del cliente es lento y me gustaría añadirle un meter para que viera el progreso y no se pusiera "nervioso" pero nunca lo he hecho.
¿Alguien puede ponerme algún ejemplo?
Muchas Gracias de antemano. |
Asort con meter | No creo que se pueda hacer, porque para ello habría que tener información que aSort() no da: el nº de elemento por el que va en la ordenación.
Un workaround es utilizar MsgRun() o similar y al menos poner un texto "Espere..." |
Asort con meter | Ok. Eso había pensado yo sobre el meter y Asort, pero por si acaso.
Probare con MsgRun() así por lo menos saldré del paso.
Gracias. |
Asort con meter | Paco,
Como ASort() permite evaluar un bloque de código, desde él se podria incrementar una variable estática externa que indicaría el elemento por el que va
Creo que se podria hacer asi
[url:hjzd72n7]http://www.fivetechsoft.com/harbour-docs/api.html#asort[/url:hjzd72n7] |
Asort con meter | Antonio,
Me parece que Asort() utiliza el algoritmo de la burbuja, no estoy muy seguro.
Tampoco estoy seguro que el algoritmo de la burbuja use tantas comparaciones como elementos tiene el array.
Saludos |
Asort con meter | Paco,
Este ejemplo funciona, pero la sorpresa es que el bloque de código se evalúa 10 veces, puesto que hacen falta
más iteraciones para ordenarlos. Haria falta una primera pasada para contar el total de iteraciones y una segunda
para mostrar el meter, lo que no lo haría muy práctico:
[code=fw:1cltyi5t]<div class="fw... |
Asort con meter | Estos ejemplos se pueden probar desde Fivedit sin necesidad de crear un PRG ni tener que construir el EXE <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Asort con meter | Muchas Gracias por vuestra ayuda, |
Aspecto de GET | Buenas tardes
No consigo que los GETS Redefinidos desde una DLL tengan un aspecto "plano"
Adjunto imagen en la que aparece en primer lugar como me aparecen y en segundo lugar cómo me gustarían que apareciesen sin tener en cuenta lo del boton de accion.
Uso PellesC como editor de recursos y la DLL la importé en su mome... |
Aspecto de GET | Prueba a quitar a la definición del campo en PellesC, el estilo de windows "border"
WS_BORDER |
Aspecto de GET | Gracias Fernando, efectivamente sale "plano", pero no me sale el borde "azul" que aparece en la imagen que he puesto como ejemplo y no se distingue bien
Saludos |
Aspecto de GET | Cristobal,
Usas el fichero de manifiesto desde el RC ?
1 24 "WindowsXP.Manifest"
El fichero lo tienes en FWH/samples/winxp/WindowsXP.Manifest |
Aspecto de GET | No lo uso Antonio
¿Como lo puedo incorporar ahora a la DLL?
Gracias |
Aspecto de GET | Solucionado, gracias
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=23620&p=126983&hilit=1+24+windowsxp+manifest+en+DLL#p126943">viewtopic.php?f=6&t=23620&p=126983&hilit=1+24+windowsxp+manifest+en+DLL#p126943</a><!-- l -->
Un saludo |
Aspecto de GET | Buenos dias
Tengo el mismo problema con los GETS que incluyo en un TPanel por codigo, su apariencia no es la correcta
Lo he "solucionado" incluyendo en mi PRG:
[code=fw:2piehap6]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Function</span> IsAppThemed<span style="color: #... |
Aspecto en xbrowse | Hola. Quisiera en mi programa poder editar los datos de un xbrowse y que tengan el aspecto de la edición de datos de ourxdbu:
- no hay que dar doble intro para editar y pasar al siguiente campo
- el campo a editar está resaltado, ...
- solo deja entrar ciertos valores
he revisado los fuentes libres de ourxdbu, pero me... |
Aspecto en xbrowse | Download de los fuentes, és este?
[url:1q9rqqyg]http://sourceforge.net/p/ourxdbu/code/HEAD/tree/source/[/url:1q9rqqyg]
Saludos. |
Aspecto en xbrowse | Si, ese es. lo descargué, lo revisé y me perdí |
Aspecto en xbrowse | No se si he entendido el alcance de tu pregunta
Has comprobado la claúsula FASTEDIT de XBrowse? |
Assertions in Production Code? | This is an interesting article.Assertions in Production Code?<!-- m --><a class="postlink" href="http://dobbscodetalk.com/index.php?option=com_myblog&show=Assertions-in-Production-Code-.html&Itemid=29">http://dobbscodetalk.com/index.php?opti ... &Itemid=29</a><!-- m -->I must confess that I have been very lax in using ... |
Assertions in Production Code? | James,Lets make a comparison with the security of a house:You can place gates, security windows, alarms, security guards, etc. but will it be 100% totally safe ? Wouldn't there be a way to bypass all that security ?I mean that we can minimize the risks as much as possible, but there will always be a failure percentage. |
Assertions in Production Code? | Antonio,Oh, I agree. But some of the comments like:>Professionally written production code is bug free, so there is no need for asserts.>An assert firing causes the program to abort, which may not be permissible, may cause data loss, and looks unprofessional to the customer.Really surprised me. That is just ignoring th... |
Assertions in Production Code? | James,yes, I fully agree with you |
Assign Dialog from source to Folder Action | I am trying to assign a dialog from source as below :
[code]
@ 1,1 FOLDER oFld1 of oDlg;
PROMPT "List", "contracts", "Sites", "Departments" ,;
"Machines", "Operators", "Jobs",;
"Machines", "Operators", "Jobs";
DIALOGS "custDlg"
So custDlg is shared dialog put in other procedures . May I put it a... |
Assign a button control to arrow key | Hi Everybody,
Is there a way to assign the function of a button to an arrow key so when the user uses the left or right arrow key it functions as if they clicked a button?
Thanks,
Jeff |
Assign a button control to arrow key | Jeff,
If the button has the focus, then you may use oBtn:bKeyChar or oBtn:bKeyDown to detect those keystrokes and fire the button action |
Assign a button control to arrow key | Antonio,
Actually I have 4 buttons that I would like to give the user the option to either click a button or an arrow key.
Ex. Left Arrow = BUTTON1
Right Arrow = BUTTON2
Up Arrow = BUTTON3
Down Arrow = BUTTON4
Jeff |
Assign a button control to arrow key | Jeff,
Which control has the focus ? The keystrokes will go to the focused control
Any of the buttons ? Or other control ? |
Assign a button control to arrow key | The area where the buttons are has the focus.
Jeff |
Assign a button control to arrow key | Is that area a dialogbox ? a window ? |
Assign a button control to arrow key | Sorry, I guess I should have mentioned that.
It's a Window.
I've tried:
SETKEY( K_UP, { || MsgInfo( "UP pressed" ) } )
SETKEY( K_DOWN, { || MsgInfo( "DOWN pressed" ) } )
SETKEY( K_LEFT, { || MsgInfo( "LEFT pressed" ) } )
SETKEY( K_RIGHT, { || MsgInfo( "RIGHT pressed" ) } )
But with no luck ... |
Assign a button control to arrow key | Jeff,
When a window or a dialogbox has several controls, one of them has the focus. So you should assign bKeyDown or bKeyChar to all of them:
oBtn1:bKeyChar = { | nKey | MsgInfo( nKey ) }
oBtn2:bKeyChar = { | nKey | MsgInfo( nKey ) }
oBtn3:bKeyChar = { | nKey | MsgInfo( nKey ) }
oBtn4:bKeyChar = { | nKey | MsgInfo( n... |
Assign a button control to arrow key | Antonio,
It seems to work with all the keys except the arrow keys <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: -->
When I press an arrow key the focus moves to the next control.
Jeff |
Assign a button control to arrow key | Jeff,
Use bKeyDown instead of bKeyChar and try it again |
Assign a button control to arrow key | Antonio,
I've tried both ... and still the arrow keys just move to the next control.
Jeff |
Assign a button control to arrow key | Jeff,
Please try this too besides the bKeyChar/bKeyDown:
oBtn1:nDlgCode = DLGC_WANTALLKEYS
oBtn2:nDlgCode = DLGC_WANTALLKEYS
oBtn3:nDlgCode = DLGC_WANTALLKEYS
oBtn4:nDlgCode = DLGC_WANTALLKEYS |
Assign a button control to arrow key | Antonio,
Still no luck. Again, the focus is moved to the next control.
Jeff |
Assign a button control to arrow key | Jeff,
We are going to build a sample and try to get it working |
Assign a button control to arrow key | Thanks Antonio. |
Assign a button control to arrow key | Jeff,
Ok, its working <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
You have to modify Class TButton Method KeyDown() this way:
[code:356sx7m8]
METHOD KeyDown( nKey, nFlags ) CLASS TButton
::oWnd:nLastKey := nKey
do case
case nKey =... |
Assign a button control to arrow key | Success <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Thanks Antonio, it is now working.
Jeff |
Assign a button control to arrow key | [quote="Jeff Barnes":3r6nx70q]Thanks Antonio.[/quote:3r6nx70q] |
Assigning columns to listbox programmatically | Is there anything wrong with the way I have created the columns at runtime?
And how do I remove these columns and replace them with others? I want to change the columns in the listbox when the user changes the database order for example.
[code:4dwuqteh] DEFINE COLUMN BROWSE oListBox ID 40 OF oDlg_Search UPDATE O... |
Assigning columns to listbox programmatically | Prueba con esto?
[code:11d95pce]FOR i := 1 TO LEN( aFlds )
MakeBrow( aFld, oListBox, aTitle, aWidths, i )
NEXT i
//BLABLA
function MakeBrow( aFld, oLisBox, aTitle, aWidths, i )
local cTemp := aFlds[ i ]
ADD TO BROWSE oListBox DATA &cTemp HEADER aTitles[ i &#... |
Assigning columns to listbox programmatically | Hi, maybe I was misunderstood. The code DOES WORK, I am just not sure if it is 'good' programming practice to use a ¯o like this. If its ok, I will leave it as it is because it works.
What I still do need to know is how to change the columns that are displayed. E.g. When the user changes the Database order from... |
Assigning columns to listbox programmatically | Ollie,
> I want the columns shown to be different
You just need to refresh the browse oBrowse:Refresh() |
Assigning columns to listbox programmatically | Ok, I get that, but how do I REMOVE the columns I don't want, so I can add new columns? |
Assigning columns to listbox programmatically | Ollie,
oBrowse:aColumns := {}
... add columns |
Assigning lUseHaruPdf when TPrinter is sub-classed | If I sub-class class TPrinter;
[code=fw:3edyu1xn]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">class</span> XPrinter <span style="color: #0000ff;">from</span> TPrinter</div>[/code:3edyu1xn]
What is the correct way to assign var lUseHaruPdf?
xPrinter():lUseHaruPdf or TPrinter():... |
Assigning lUseHaruPdf when TPrinter is sub-classed | Dear Hua,
::lUseHaruPdf |
Assigning lUseHaruPdf when TPrinter is sub-classed | [quote:2d2d8to5]xPrinter():lUseHaruPdf or TPrinter():lUseHaruPdf[/quote:2d2d8to5]
You can use any. |
Assigning lUseHaruPdf when TPrinter is sub-classed | Thanks for the replies Antonio and Rao |
Assigning lUseHaruPdf when TPrinter is sub-classed | I get this error message
[code=fw:25vukz9c]<div class="fw" id="{CB}" style="font-family: monospace;"> Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1005</span> <span style="color: #0000ff;">Message</span> not found: <span style="color: #000000;">FWPDF</spa... |
Assigning lUseHaruPdf when TPrinter is sub-classed | When tested using lUseFWPdf, pdfs are generated but
1. User is prompted for a file name for the pdf
2. The word "FiveWin Report" is embedded into the pdf
Would still like to use Haru pdf to see what size is the pdf generated |
Assigning lUseHaruPdf when TPrinter is sub-classed | [quote="hua":mehhlj4s]I get this error message
[code=fw:mehhlj4s]<div class="fw" id="{CB}" style="font-family: monospace;"> Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1005</span> <span style="color: #0000ff;">Message</span> not found: <span style="color: #000000;... |
Assigning lUseHaruPdf when TPrinter is sub-classed | I see so when lUseHaruPdf = .t. I am actually using FWPDf not TPrinter.
Understood. Thanks |
Assigning lUseHaruPdf when TPrinter is sub-classed | Is it possible to print to a pdf driver such as Microsoft Print To Pdf, CutePdf, etc programmatically without prompting user for filename? |
Assigning lUseHaruPdf when TPrinter is sub-classed | [quote="hua":n1hi78bw]IS it possible to print to a pdf driver such as Microsoft Print To Pdf, CutePdf, etc programmatically without prompting user for filename?[/quote:n1hi78bw]
By default, FWH uses Microsoft Word to read emf and print as PDF.
The programmer does not have to do anything for it.
There is really no need ... |
Assigning lUseHaruPdf when TPrinter is sub-classed | To avoid having to re-code my report routine I tried using :lUseFWPdf
[code=fw:2hukgzt4]<div class="fw" id="{CB}" style="font-family: monospace;"> XTPrinter<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #000000;">lUseFWPdf</span> := .t.<br /> XPRINTER oPr... |
Assigning lUseHaruPdf when TPrinter is sub-classed | We can not comment on your derived class.
but
[code=fw:1po7ov5q]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">PRINT</span> oPrn FILE cPdf</div>[/code:1po7ov5q]
does not ask for a file name again. |
Assigning lUseHaruPdf when TPrinter is sub-classed | Thanks for the info Rao. The dialog now no longer appears
Unfortunately when it's printing in a loop (a bunch of staffs tax calculation), it will eventually generates internal error
[code=fw:3h1i4uu9]<div class="fw" id="{CB}" style="font-family: monospace;"><br />* hb_out.log<br />Application Internal Error - F:\test\h... |
Assigning lUseHaruPdf when TPrinter is sub-classed | Using original printer class or derived class?
Using 'FILE cPdf" ? |
Assigning lUseHaruPdf when TPrinter is sub-classed | >Using original printer class or derived class?
Using derived class as I don't want to rewrite the report.
>Using 'FILE cPdf" ?
Yes |
Assigning lUseHaruPdf when TPrinter is sub-classed | [quote:27up9e7a]Unfortunately when it's printing in a loop (a bunch of staffs tax calculation), it will eventually generates internal error
[/quote:27up9e7a]
After how many times in the loop? |
Assigning lUseHaruPdf when TPrinter is sub-classed | About 18 and some of the generated pdfs are blank with a filesize of 1.4KB only |
Assigning lUseHaruPdf when TPrinter is sub-classed | I tested this program to generate 200 pdf files silently and all 200 files were created in 1.1 seconds and no crash, no errors and no log files about excess font release.
I have used native fwh library without modifications.
I tested it with FWH1912.
[code=fw:qgnz4dkp]<div class="fw" id="{CB}" style="font-family: mono... |
Assigning lUseHaruPdf when TPrinter is sub-classed | Thanks Rao.
I was using :lUseFWPdf instead of :lUseHaruPdf in my test that ends up with internal error.
I'll try to slowly shift to :lUseHaruPdf and see how it goes |
Assigning object xBrowse | I have an application that generates a daily report with the ability to view reports from previous dates. For this genre a file, write it to disk and lifted him TTxtFile class. The object generated with class I show that a xBrowse follows:
[code=fw:3oerbn00]<div class="fw" id="{CB}" style="font-family: monospace;"><br... |
Assignment = or := ? | I have noticed that in FIVEWIN the assign is done with = and := .
Could someone explain when to use = and when := .
Thanks in advance
Otto |
Assignment = or := ? | = is the normal assignment operator while := in the inline version of the same operator. As an example:
REDEFINE BUTTON ACTION x = 1 // wrong!
REDEFINE BUTTON ACTION x := 1 // ok!
x = 1 // ok!
x := 1 // ok! It's the same
a = b = 1 // means a = .T. if b = 1 or .F. if b != 1
a = b := 1 // means a = 1 and b... |
Assignment = or := ? | Otto,
If you have the Clipper help file, there are good descriptions in there.
Regards,
James |
Assignment = or := ? | Hello Enrico, hello James,
Thank you for explaining to me.
For example in TRBGroup-class assignments are made with := in TBtnBmp classe with =
( VB6 style which I don’t like). I thought that there is maybe a difference which I am not aware of.
Best regards,
Otto |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.