Code: Select all
nWidth += ::ColAtPos( nPos++ ):nWidth + COL_SEPARATOR
Code: Select all
Error description: Error BASE/1081 Argument error: +
Args:
[ 1] = U
[ 2] = N 2
Any workaround?
EMG
Code: Select all
nWidth += ::ColAtPos( nPos++ ):nWidth + COL_SEPARATOR
Code: Select all
Error description: Error BASE/1081 Argument error: +
Args:
[ 1] = U
[ 2] = N 2
Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg, oBrw
USE CUSTOMER
DEFINE DIALOG oDlg;
SIZE 800, 600
@ 0, 0 XBROWSE oBrw ALIAS "CUSTOMER";
ON RIGHT CLICK oBrw:InsCol( 1 )
oBrw:CreateFromCode()
ACTIVATE DIALOG oDlg;
ON INIT oBrw:AdjClient();
CENTER
CLOSE
RETURN NIL
Code: Select all
WITH oBrw:InsertCol( nPos )
:bEditValue := { |x| ... } // bSetGet
:cHeader := <header>
:nWidth := <width in pixels>
:bOnPostEdit := // if you want edit
// more depending on your requirements
:Adjust()
END
oBrw:Refresh()