FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Mr. Rao, xbrowse oBrw:oMultiSelCol.
Posts: 389
Joined: Wed Nov 29, 2006 01:51 PM
Mr. Rao, xbrowse oBrw:oMultiSelCol.
Posted: Wed May 19, 2021 10:17 PM

Buenas tardes,

si defino en un xbrowse :

oBrw:oMultiSelCol()

como hago para en ejecucion para deshabilitarlo ?

Saludos.

Posts: 389
Joined: Wed Nov 29, 2006 01:51 PM
Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.
Posted: Thu May 20, 2021 10:09 PM

????

Posts: 389
Joined: Wed Nov 29, 2006 01:51 PM
Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.
Posted: Fri May 21, 2021 11:34 PM

Alguna respuesta ???

Gracias.

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.
Posted: Sat May 22, 2021 06:21 PM

I did not understand your requirement well.
Can you explain more clearly?

if you do not want to use oMultiSelCol, why do you use it in the first place?

Regards



G. N. Rao.

Hyderabad, India
Posts: 389
Joined: Wed Nov 29, 2006 01:51 PM
Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.
Posted: Sat May 22, 2021 10:44 PM

Mr. Rao,

lo que planteo es podes habilitar o deshabilitar la seleccion multiple en ejecucion.
me entiende ?

Saludos

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.
Posted: Mon May 24, 2021 04:05 AM
This is not possible in the current version.
We are providing this in the next version.

If you like, you can make this modification in xbrowse.prg now.
Please locate this line 8867 in the METHOD SelectRow( nOperation ):
Code (fw): Select all Collapse
   if nOperation != nil


Please change it as:
Code (fw): Select all Collapse
   if nOperation != nil .and. ( ::oMultiSelCol == nil .or. ::oMultiSelCol:nEditType > 0 )


With this change, we can disable the multi-selection feature by setting oBrw:oMultiSelectCol:nEditType := 0.
We can enable it again by setting this value to 1.
Regards



G. N. Rao.

Hyderabad, India
Posts: 389
Joined: Wed Nov 29, 2006 01:51 PM
Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.
Posted: Mon May 24, 2021 11:35 AM

Mr. Rao,

muchas gracias.

Saludos.

Continue the discussion