Página 1 de 1

TBrowse:OnRClick

Publicado: Mar Nov 29, 2005 8:18 am
por Ingo
Hello,
when I click with the right mouse button on a browse row the selected row is
not changing to the row I clicked on. How can I change the selected row
inside the OnRClick method that the row I right clicked on becomes to the
selected row?
How to convert the mouse row to the browse row?
How to set the active (nRowSel) row in TBrowse?
Thank you in advance
Ingo

TBrowse:OnRClick

Publicado: Mar Nov 29, 2005 9:47 am
por ignacio
Ingo,
Check on the documentation:
TBrowse:SelectCellFromPoint
Regards,
"Ingo" <ingo.jh@web.de> escribió en el mensaje
news:[email=438c00de@ozsrvnegro.ozlan.local...]438c00de@ozsrvnegro.ozlan.local...[/email]
> Hello,
>
> when I click with the right mouse button on a browse row the selected row
> is not changing to the row I clicked on. How can I change the selected row
> inside the OnRClick method that the row I right clicked on becomes to the
> selected row?
>
> How to convert the mouse row to the browse row?
>
> How to set the active (nRowSel) row in TBrowse?
>
> Thank you in advance
>
> Ingo
>

TBrowse:OnRClick

Publicado: Mar Nov 29, 2005 10:14 am
por Ingo
Ignacio,
I can not use TBrowse:SelectCellFromPoint with the OnRClick event, but I'm
using now the OnContextMenu event.
Thanks for the helpfull information.
"Ignacio Ortiz de Zúñiga" <InvalidAccount@ozs.com> schrieb im Newsbeitrag
news:438c158e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Ingo,
>
> Check on the documentation:
>
> TBrowse:SelectCellFromPoint
>
> Regards,
>
> "Ingo" <ingo.jh@web.de> escribió en el mensaje
> news:[email=438c00de@ozsrvnegro.ozlan.local...]438c00de@ozsrvnegro.ozlan.local...[/email]
>> Hello,
>>
>> when I click with the right mouse button on a browse row the selected row
>> is not changing to the row I clicked on. How can I change the selected
>> row inside the OnRClick method that the row I right clicked on becomes to
>> the selected row?
>>
>> How to convert the mouse row to the browse row?
>>
>> How to set the active (nRowSel) row in TBrowse?
>>
>> Thank you in advance
>>
>> Ingo
>>
>
>

TBrowse:OnRClick

Publicado: Mar Nov 29, 2005 10:37 am
por ignacio
Ingo,
This code is from the sample DbfBuilder:
METHOD ArrayBrowse1RButtonDown( oSender, nKeyFlags, nPosX, nPosY ) CLASS
TForm1
oSender:SelectCellFromPoint( nPosX, nPosY )
RETURN Nil
Regards,
"Ingo" <ingo.jh@web.de> escribió en el mensaje
news:438c1bff$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Ignacio,
>
> I can not use TBrowse:SelectCellFromPoint with the OnRClick event, but I'm
> using now the OnContextMenu event.
> Thanks for the helpfull information.
>
>
> "Ignacio Ortiz de Zúñiga" <InvalidAccount@ozs.com> schrieb im Newsbeitrag
> news:438c158e$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Ingo,
>>
>> Check on the documentation:
>>
>> TBrowse:SelectCellFromPoint
>>
>> Regards,
>>
>> "Ingo" <ingo.jh@web.de> escribió en el mensaje
>> news:[email=438c00de@ozsrvnegro.ozlan.local...]438c00de@ozsrvnegro.ozlan.local...[/email]
>>> Hello,
>>>
>>> when I click with the right mouse button on a browse row the selected
>>> row is not changing to the row I clicked on. How can I change the
>>> selected row inside the OnRClick method that the row I right clicked on
>>> becomes to the selected row?
>>>
>>> How to convert the mouse row to the browse row?
>>>
>>> How to set the active (nRowSel) row in TBrowse?
>>>
>>> Thank you in advance
>>>
>>> Ingo
>>>
>>
>>
>
>