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.

TBrowse:OnRClick

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

TBrowse:OnRClick

Mensaje 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
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9463
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TBrowse:OnRClick

Mensaje 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
>
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

TBrowse:OnRClick

Mensaje 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
>>
>
>
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9463
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TBrowse:OnRClick

Mensaje 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
>>>
>>
>>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder