FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour xbrowse y multiselecci贸n
Posts: 1364
Joined: Wed Jun 21, 2006 12:39 AM
xbrowse y multiselecci贸n
Posted: Wed Oct 25, 2017 08:52 PM

Colegas, querr铆a saber cuales son las variables de clase ( si existen ) que pintan los renglones seleccionados y tambi茅n como puedo implementar las teclas de repaginar para seleccionar. Much铆simas gracias.

Saludos

Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: xbrowse y multiselecci贸n
Posted: Wed Oct 25, 2017 09:30 PM
Horacio

Consider this code .. first you have to use this MarqueeStyle :
Code (fw): Select all Collapse
聽oLbx:nMarqueeStyle := MARQSTYLE_HIGHLROWMS 聽// multi-row select


Then to process the Hi-lighted rows you can use a For\Next loop and do whatever :
Code (fw): Select all Collapse
//----------------------------
Static Func _TranAll( oLbx )

Local aCols,i

aCols := oLbx:aSelected

For i = 1 to Len(aCols)

聽 聽oLbx:BookMark := aCols[i]
聽 聽_DoWhatEver()

Next

Return(nil)


Rick Lipkin

Continue the discussion