Hello All,
How can I make a column editable in TcBrowse ? I did use EDITABLE clause in ADD COLUMN TO. It does does accept the new value when double clicked, but on pressing Enter original value appears back. What am I doing wrong ?
TIA
Milan
Antonio Linares wrote:Milan,
What FWH version are you using ? This was recently fixed in 2.7 version.
Antonio Linares wrote:Milan,
Our mistake, sorry. Its going to be published in a few days.
We email you the Class TCBrowse so you can test it. Thanks.
ADD COLUMN TO BROWSE oBrw ;
DATA { | u | If( PCount() > 0, Order->AgentCode := u, Order->AgentCode ) };
HEAD "ftuz" ;
WIDTH 50 ;
EDITABLE
Antonio Linares wrote:Milan,
Please try this code:
- Code: Select all Expand view RUN
ADD COLUMN TO BROWSE oBrw ;
DATA { | u | If( PCount() > 0, Order->AgentCode := u, Order->AgentCode ) };
HEAD "ftuz" ;
WIDTH 50 ;
EDITABLE
ADD COLUMN TO BROWSE oBrw ;
DATA bSETGET( Order->AgentCode ) ;
HEAD "ftuz" ;
WIDTH 50 ;
EDITABLE
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 60 guests