Mr. Rao, xbrowse oBrw:oMultiSelCol.

Post Reply
Ariel
Posts: 378
Joined: Wed Nov 29, 2006 1:51 pm
Location: Rosario - Argentina

Mr. Rao, xbrowse oBrw:oMultiSelCol.

Post by Ariel »

Buenas tardes,

si defino en un xbrowse :

oBrw:oMultiSelCol()

como hago para en ejecucion para deshabilitarlo ?

Saludos.
Ariel
Posts: 378
Joined: Wed Nov 29, 2006 1:51 pm
Location: Rosario - Argentina

Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.

Post by Ariel »

????
Ariel
Posts: 378
Joined: Wed Nov 29, 2006 1:51 pm
Location: Rosario - Argentina

Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.

Post by Ariel »

Alguna respuesta ???

Gracias.
User avatar
nageswaragunupudi
Posts: 10729
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 10 times
Contact:

Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.

Post by nageswaragunupudi »

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
Ariel
Posts: 378
Joined: Wed Nov 29, 2006 1:51 pm
Location: Rosario - Argentina

Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.

Post by Ariel »

Mr. Rao,

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

Saludos
User avatar
nageswaragunupudi
Posts: 10729
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 10 times
Contact:

Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.

Post by nageswaragunupudi »

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: Select all | Expand

  if nOperation != nil
 


Please change it as:

Code: Select all | Expand

  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
Ariel
Posts: 378
Joined: Wed Nov 29, 2006 1:51 pm
Location: Rosario - Argentina

Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.

Post by Ariel »

Mr. Rao,

muchas gracias.

Saludos.
Post Reply