Página 1 de 1
Multi select DBBrowse?
Publicado: Vie Ago 06, 2010 3:27 pm
por Maarten Roos
Is it possible to select more than 1 row and give the selected rows a different colour? Like the good old TBrowseDB and colorblock?
I want to give the user the possibility to select any rows they want for deleting or printing. Pressing shift and selecting in a row is also fine for me.
Maarten
Multi select DBBrowse?
Publicado: Lun Ago 09, 2010 1:41 pm
por ignacio
Maarten,
Take a look at:
- TBrowse:nMarqueeStyle := bmHIGHLROWMS
- TBrowse:aSelected
- TBrowse:Select
Regards,
"Maarten Roos" <m[dot]roos[at]ecem[dot]com> escribió en el mensaje de
noticias:4c5c0ddd$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Is it possible to select more than 1 row and give the
> selected rows a different colour? Like the good old
> TBrowseDB and colorblock?
>
> I want to give the user the possibility to select any rows
> they want for deleting or printing. Pressing shift and
> selecting in a row is also fine for me.
>
> Maarten
Multi select DBBrowse?
Publicado: Lun Ago 09, 2010 4:22 pm
por Maarten Roos
ignacio,
jup that is what I was looking for.
Thx
Multi select DBBrowse?
Publicado: Lun Ago 09, 2010 5:33 pm
por Maarten Roos
Back again...
How do I catch Ctrl+A ? K_CTRL_A in the clipper days.
Is there a way to capturethe header click of the TBrwRecSel? Like in Excel that will do the same as Ctrl+A (Select All)
Maarten
Multi select DBBrowse?
Publicado: Mar Ago 10, 2010 11:27 am
por ignacio
Maarten,
> How do I catch Ctrl+A ? K_CTRL_A in the clipper days.
It depends if you want to catch it for a control, a form or the complete
App.
1) For a specific control you must use the event OnChar of that control
2) For a form you must use the event OnChar on that form. Be aware that
messages are first received by the control, if it is not processed then is
routed to its conteiner form
3) Use the SetKey() function.
> Is there a way to capturethe header click of the TBrwRecSel?
See on the docs: TBrwColumn:OnHeaderClick
Regards,
"Maarten Roos" <m[dot]roos[at]ecem[dot]com> escribió en el mensaje de
noticias:4c601fba$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Back again...
>
> How do I catch Ctrl+A ? K_CTRL_A in the clipper days.
>
> Is there a way to capturethe header click of the TBrwRecSel?
> Like in Excel that will do the same as Ctrl+A (Select All)
>
> Maarten