Página 1 de 1

Tarraybrowse keyboard cmd

Publicado: Vie Nov 17, 2006 8:19 am
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

Tarraybrowse keyboard cmd

Publicado: Vie Nov 17, 2006 9:30 am
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

Tarraybrowse keyboard cmd

Publicado: Vie Nov 17, 2006 9:30 am
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

Tarraybrowse keyboard cmd

Publicado: Vie Nov 17, 2006 10:49 am
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

Tarraybrowse keyboard cmd

Publicado: Vie Nov 17, 2006 10:49 am
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

Tarraybrowse keyboard cmd

Publicado: Vie Nov 17, 2006 10:58 am
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

Tarraybrowse keyboard cmd

Publicado: Vie Nov 17, 2006 10:58 am
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

Tarraybrowse keyboard cmd

Publicado: Vie Nov 17, 2006 11:56 am
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 ?

Tarraybrowse keyboard cmd

Publicado: Vie Nov 17, 2006 11:56 am
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 ?

Tarraybrowse keyboard cmd

Publicado: Vie Nov 17, 2006 12:17 pm
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

Tarraybrowse keyboard cmd

Publicado: Vie Nov 17, 2006 12:17 pm
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