Mr. Rao, xbrowse oBrw:oMultiSelCol.

Mr. Rao, xbrowse oBrw:oMultiSelCol.

Postby Ariel » Wed May 19, 2021 10:17 pm

Buenas tardes,

si defino en un xbrowse :

oBrw:oMultiSelCol()

como hago para en ejecucion para deshabilitarlo ?

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

Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.

Postby Ariel » Thu May 20, 2021 10:09 pm

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

Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.

Postby Ariel » Fri May 21, 2021 11:34 pm

Alguna respuesta ???

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

Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.

Postby nageswaragunupudi » Sat May 22, 2021 6: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
User avatar
nageswaragunupudi
 
Posts: 10662
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.

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

Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.

Postby nageswaragunupudi » Mon May 24, 2021 4: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: Select all  Expand view  RUN
  if nOperation != nil
 


Please change it as:
Code: Select all  Expand view  RUN
  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
User avatar
nageswaragunupudi
 
Posts: 10662
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Mr. Rao, xbrowse oBrw:oMultiSelCol.

Postby Ariel » Mon May 24, 2021 11:35 am

Mr. Rao,

muchas gracias.

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


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 72 guests