In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

some questions

Foro público de Xailer en español
Responder
Ingo
Mensajes: 330
Registrado: Mié Jul 05, 2006 3:58 pm

some questions

Mensaje por Ingo »

1. How to get the handle (or the object) of the desktopwindow? Is there a
Xailerfunction?
2. What the importance of Xailer's ProcessMessages()? Is it like FW's
SysRefresh()?
3. TDataSet: What the difference between :save() and :update()?
Thanks in advance
Ingo
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

some questions

Mensaje por jfgimenez »

Ingo,
> 1. How to get the handle (or the object) of the desktopwindow? Is there a
> Xailerfunction?
Screen:Handle
> 2. What the importance of Xailer's ProcessMessages()? Is it like FW's
> SysRefresh()?
Yes, both do exactly the same tasks. But while in FW it's used very often,
in Xailer it's used very seldom ;-)
--
Regards,
Jose F. Gimenez
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9463
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

some questions

Mensaje por ignacio »

Ingo,
3)
The Save() method is the equivalent of the xbase command REPLACE var TO
Field, for example:
With Object oDataSet
:aFields[1]:VarPut( "data" )
:Save()
End with
Tthe Update() method performs append and edition operations on a two phases
method, that is used in conjuntion with DataControls to hold the buffer
DataField values, for example:
With Object oDataSet
:AddNew()
IF oMyDataForm:ShowModal() == mrOK
:Update()
ELSE
:Cancel()
ENDIF
End with
I suggest you read the DataControls introduction chapter from Xailer
documentation.
Regards,
"Ingo" <ingo.jh@web.de> escribió en el mensaje
news:[email=43c61f32@ozsrvnegro.ozlan.local...]43c61f32@ozsrvnegro.ozlan.local...[/email]
> 1. How to get the handle (or the object) of the desktopwindow? Is there a
> Xailerfunction?
> 2. What the importance of Xailer's ProcessMessages()? Is it like FW's
> SysRefresh()?
> 3. TDataSet: What the difference between :save() and :update()?
>
> Thanks in advance
>
> Ingo
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Ingo
Mensajes: 330
Registrado: Mié Jul 05, 2006 3:58 pm

some questions

Mensaje por Ingo »

Jose,
I mean the desktopwindow created by Windows. Is it what Xailer means with
"Screen"?
When it is opportun to call "ProcessMessages()"?
Regards
Ingo
"Jose F. Gimenez" <jfgimenez@wanadoo.es> schrieb im Newsbeitrag
news:43c620fa$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Ingo,
>
>> 1. How to get the handle (or the object) of the desktopwindow? Is there a
>> Xailerfunction?
>
> Screen:Handle
>
>> 2. What the importance of Xailer's ProcessMessages()? Is it like FW's
>> SysRefresh()?
>
> Yes, both do exactly the same tasks. But while in FW it's used very often,
> in Xailer it's used very seldom ;-)
>
> --
> Regards,
>
> Jose F. Gimenez
>
Responder