Página 1 de 1

some questions

Publicado: Jue Ene 12, 2006 10:19 am
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

some questions

Publicado: Jue Ene 12, 2006 10:27 am
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

some questions

Publicado: Jue Ene 12, 2006 11:09 am
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
>

some questions

Publicado: Vie Ene 13, 2006 11:02 am
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
>