Hi Guys,
Is there some way to define an initial value for a xbrowse column, IF a cell of this column is edited ?
I have tried with bEditValue, but don't work...
#include "fivewin.ch"
function Main()
local oDlg, oBrw
USE CUSTOMER NEW ALIAS CUST SHARED
DEFINE DIALOG oDlg SIZE 600,400 PIXEL TRUEPIXEL
@ 20,20 XBROWSE oBrw SIZE -20,-20 PIXEL OF oDlg ;
DATASOURCE "CUST" ;
COLUMNS "FIRST", "CITY", "SALARY" ;
CELL LINES FASTEDIT NOBORDER
WITH OBJECT oBrw
:nEditTypes := EDIT_GET
WITH OBJECT :Salary
:bOnPreEdit := { |o| o:oEditGet:cText := 0 }
END
:CreateFromCode()
END
ACTIVATE DIALOG oDlg CENTERED
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 103 guests