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.

Tarraybrowse keyboard cmd

Xailer professional forum in English
Responder
david fung
Mensajes: 257
Registrado: Mié Jul 19, 2006 8:48 am

Tarraybrowse keyboard cmd

Mensaje por david fung »

1. Can a Column take on TDateEdit nature ?
2. Can a Column be "lZeroFill"ed ?
3. Is "Keyboard" command still working in xHarbour ? if so, can I issue a
Keyboard VK_F12
to simulated a "F12" keystroke
Regards
David Fung
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9443
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Tarraybrowse keyboard cmd

Mensaje por ignacio »

David,
> 1. Can a Column take on TDateEdit nature ?
I am afraid is not possible
> 2. Can a Column be "lZeroFill"ed ?
Use Column:OnGetData event to transform the value
> 3. Is "Keyboard" command still working in xHarbour ? if so, can I issue a
> Keyboard VK_F12
Keyboard command does not work in GUI applications. BTW you may simulate the
keystroke this way:
oEditControl:PostMsg( WM_KEYDOWN, VK_F12 )
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:[email=455d628f@news.xailer.com...]455d628f@news.xailer.com...[/email]
>
> 1. Can a Column take on TDateEdit nature ?
>
> 2. Can a Column be "lZeroFill"ed ?
>
> 3. Is "Keyboard" command still working in xHarbour ? if so, can I issue a
> Keyboard VK_F12
>
> to simulated a "F12" keystroke
>
>
> Regards
> David Fung
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

Tarraybrowse keyboard cmd

Mensaje por NoName »

David,
> 1. Can a Column take on TDateEdit nature ?
I am afraid is not possible
> 2. Can a Column be "lZeroFill"ed ?
Use Column:OnGetData event to transform the value
> 3. Is "Keyboard" command still working in xHarbour ? if so, can I issue a
> Keyboard VK_F12
Keyboard command does not work in GUI applications. BTW you may simulate the
keystroke this way:
oEditControl:PostMsg( WM_KEYDOWN, VK_F12 )
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:[email=455d628f@news.xailer.com...]455d628f@news.xailer.com...[/email]
>
> 1. Can a Column take on TDateEdit nature ?
>
> 2. Can a Column be "lZeroFill"ed ?
>
> 3. Is "Keyboard" command still working in xHarbour ? if so, can I issue a
> Keyboard VK_F12
>
> to simulated a "F12" keystroke
>
>
> Regards
> David Fung
david fung
Mensajes: 257
Registrado: Mié Jul 19, 2006 8:48 am

Tarraybrowse keyboard cmd

Mensaje por david fung »

Ignacio Ortiz de Zúñiga wrote:
> David,
>
>> 1. Can a Column take on TDateEdit nature ?
>
> I am afraid is not possible
>
>> 2. Can a Column be "lZeroFill"ed ?
>
> Use Column:OnGetData event to transform the value
>
>> 3. Is "Keyboard" command still working in xHarbour ? if so, can I issue a
>> Keyboard VK_F12
>
> Keyboard command does not work in GUI applications. BTW you may simulate the
> keystroke this way:
>
> oEditControl:PostMsg( WM_KEYDOWN, VK_F12 )
>
When will this event (:PostMsg) be fired ?
Moreover, when will :SendMsg event be fired ?
Thanks
David
david fung
Mensajes: 257
Registrado: Mié Jul 19, 2006 8:48 am

Tarraybrowse keyboard cmd

Mensaje por david fung »

Ignacio Ortiz de Zúñiga wrote:
> David,
>
>> 1. Can a Column take on TDateEdit nature ?
>
> I am afraid is not possible
>
>> 2. Can a Column be "lZeroFill"ed ?
>
> Use Column:OnGetData event to transform the value
>
>> 3. Is "Keyboard" command still working in xHarbour ? if so, can I issue a
>> Keyboard VK_F12
>
> Keyboard command does not work in GUI applications. BTW you may simulate the
> keystroke this way:
>
> oEditControl:PostMsg( WM_KEYDOWN, VK_F12 )
>
When will this event (:PostMsg) be fired ?
Moreover, when will :SendMsg event be fired ?
Thanks
David
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Tarraybrowse keyboard cmd

Mensaje por jfgimenez »

David,
> When will this event (:PostMsg) be fired ?
>
> Moreover, when will :SendMsg event be fired ?
:PostMsg() put the message on top of the messages queue, and is processed
after all other previous messages. :SendMsg() bypass the messages queue, and
send the message to be processed inmediately. :SendMsg() doesn't return
until the message is processed, while :PostMsg() returns inmediately.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Tarraybrowse keyboard cmd

Mensaje por jfgimenez »

David,
> When will this event (:PostMsg) be fired ?
>
> Moreover, when will :SendMsg event be fired ?
:PostMsg() put the message on top of the messages queue, and is processed
after all other previous messages. :SendMsg() bypass the messages queue, and
send the message to be processed inmediately. :SendMsg() doesn't return
until the message is processed, while :PostMsg() returns inmediately.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
david fung
Mensajes: 257
Registrado: Mié Jul 19, 2006 8:48 am

Tarraybrowse keyboard cmd

Mensaje por david fung »

Jose F. Gimenez wrote:
> David,
>
>> When will this event (:PostMsg) be fired ?
>>
>> Moreover, when will :SendMsg event be fired ?
>
> :PostMsg() put the message on top of the messages queue, and is processed
> after all other previous messages. :SendMsg() bypass the messages queue, and
> send the message to be processed inmediately. :SendMsg() doesn't return
> until the message is processed, while :PostMsg() returns inmediately.
>
Is it that these events will be fired after all others events (for this
control) had completed ?
Any way to fired a PostMsg event without attaching it to a control ?
david fung
Mensajes: 257
Registrado: Mié Jul 19, 2006 8:48 am

Tarraybrowse keyboard cmd

Mensaje por david fung »

Jose F. Gimenez wrote:
> David,
>
>> When will this event (:PostMsg) be fired ?
>>
>> Moreover, when will :SendMsg event be fired ?
>
> :PostMsg() put the message on top of the messages queue, and is processed
> after all other previous messages. :SendMsg() bypass the messages queue, and
> send the message to be processed inmediately. :SendMsg() doesn't return
> until the message is processed, while :PostMsg() returns inmediately.
>
Is it that these events will be fired after all others events (for this
control) had completed ?
Any way to fired a PostMsg event without attaching it to a control ?
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Tarraybrowse keyboard cmd

Mensaje por jfgimenez »

David,
> Is it that these events will be fired after all others events (for this
> control) had completed ?
Yes, in case of PostMsg()
> Any way to fired a PostMsg event without attaching it to a control ?
No. Every message has to be sent to a control. In fact, one of the message's
members is the control's handle, and cannot be 0 nor an unexistent control.
However, you may post a message directly to the form. I.e.: you can post the
special message WM_XAILER to the own form (::PostMsg( WM_XAILER,...)) and
the form will receive it throw a method called WMXailer():
...
::PostMsg( WM_XAILER, 1, 2 )
...
METHOD WMXailer( nWParam, nLParam )
LogDebug( nWParam, nLParam ) // Result is 1 2
RETURN Nil
--
Regards,
Jose F. Gimenez
http://www.xailer.com
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Tarraybrowse keyboard cmd

Mensaje por jfgimenez »

David,
> Is it that these events will be fired after all others events (for this
> control) had completed ?
Yes, in case of PostMsg()
> Any way to fired a PostMsg event without attaching it to a control ?
No. Every message has to be sent to a control. In fact, one of the message's
members is the control's handle, and cannot be 0 nor an unexistent control.
However, you may post a message directly to the form. I.e.: you can post the
special message WM_XAILER to the own form (::PostMsg( WM_XAILER,...)) and
the form will receive it throw a method called WMXailer():
...
::PostMsg( WM_XAILER, 1, 2 )
...
METHOD WMXailer( nWParam, nLParam )
LogDebug( nWParam, nLParam ) // Result is 1 2
RETURN Nil
--
Regards,
Jose F. Gimenez
http://www.xailer.com
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Responder