FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse not display the contents of the column
Posts: 392
Joined: Tue Jul 29, 2008 01:55 PM
xBrowse not display the contents of the column
Posted: Sat Jul 18, 2015 05:28 PM

Hi FiveWinners.

PRIVATE aMOVTOS:={" ","FALTA","PERMISO","ASISTENCIA","RETARDO","DESCANSO","ENFERMEDAD","MATERNIDAD","LABORIESGO","INCAXAT","VACACION","TXTIEMPO"}

ADD COLUMN oComb TO oBrw DATA (cNAlias)->NA_TIPMOV ;
HEADER "Movimiento" ;
SIZE 120 EDITABLE

oComb:bOnPostEdit := {|o, v, n| iif( n != VK_ESCAPE, ( NW_REPLACE("NA_TIPMOV", v, .F., cNAlias ) ), ) }

WITH OBJECT oBrw:Movimiento
:nEditType := EDIT_LISTBOX
:aEditListTxt := ArrTranspose( aMOVTOS ) [ 1 ]
:aEditListBound := ArrTranspose( aMOVTOS ) [ 1 ]
END

This code allows me to show a combobox column , but when I select a value from the list , this is not displayed in the column, however, replacing the data in table is correct.

As I show the data in the column?

Thank You

Visite Chiapas, el paraiso de México.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse not display the contents of the column
Posted: Sun Jul 19, 2015 11:09 AM
Code (fw): Select all Collapse
WITH OBJECT oBrw:Movimiento
   :nEditType := EDIT_LISTBOX
   :aEditListTxt := aMOVTOS
END
Regards



G. N. Rao.

Hyderabad, India
Posts: 392
Joined: Tue Jul 29, 2008 01:55 PM
Re: xBrowse not display the contents of the column
Posted: Sun Jul 19, 2015 05:52 PM

Hello Mr. Nages
could you give me your email ?

Thank You

Visite Chiapas, el paraiso de México.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse not display the contents of the column
Posted: Sun Jul 19, 2015 07:41 PM
Regards



G. N. Rao.

Hyderabad, India

Continue the discussion