Search found 55 matches

by Demont Brecht
Sun May 20, 2012 11:24 am
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : EDIT_GET_BUTTON
Replies: 0
Views: 330

XBROWSE : EDIT_GET_BUTTON

When the edit mode is activated with 'Enter' , it is ok , the action-button is shown

It is not when activated with the mouse (lDblClick)


Frank
by Demont Brecht
Mon Apr 30, 2012 1:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse : using 'Ctrl-PgDn' or key 'end'
Replies: 1
Views: 481

Re: xBrowse : using 'Ctrl-PgDn' or key 'end'

Sory , reindexing the dbf solves the problem.

Frank
by Demont Brecht
Mon Apr 30, 2012 12:55 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse : using 'Ctrl-PgDn' or key 'end'
Replies: 1
Views: 481

xBrowse : using 'Ctrl-PgDn' or key 'end'

Hello ,

Using xbrowse with a dbf (dbfcdx) i have 3 columns with a index.

When the first column (with a index) is seekcolumn and i press 'Ctrl-PgDn' or key 'end' , the browse shows the first 12 records followed with the last record.

Moving the mouse to the top line from the dialog , clear the ...
by Demont Brecht
Tue Apr 10, 2012 11:23 am
Forum: FiveWin for Harbour/xHarbour
Topic: Trapping down arrow with bKeyDown
Replies: 5
Views: 1212

Re: Trapping down arrow with bKeyDown

Rick ,

If you have the intention to trap changing from row , you can use bChange as :

oBrw:lColChangeNotify := .T.
oBrw:bChange := {|oBrw,lRow|MyFunc(oBrw,lRow,@GehRec)}

MyFunc(oBrw,lRow,Gehrec)
**********************************


IF lRow is .T. , there was a changing from row.

To know if it ...
by Demont Brecht
Sun Apr 01, 2012 10:19 am
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE ARRAY AUTOSORT
Replies: 6
Views: 1281

Re: XBROWSE ARRAY AUTOSORT

Hello,

Now i am working with FWH12.03 , but it seems that there is a problem with ordering the first time in next situation :

@ 0,0 XBROWSE oBrw ARRAY Arr PIXEL OF oDlg FONT oFont;
COLUMNS aCol;
HEADERS aHead;
COLSIZES aWidth;
SORT aSort;

I checked
aCol : 1,2,3,4
aSort: 4,2,3,4

If i ...
by Demont Brecht
Fri Mar 30, 2012 3:13 pm
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : SELECT clausule in xbrowse.ch
Replies: 1
Views: 569

Re: XBROWSE : SELECT clausule in xbrowse.ch

Comparing with wbrowse.prg with his ch.file , it is clear that method Setfilter is missing (with parameters to pass)

Frank
by Demont Brecht
Fri Mar 30, 2012 7:27 am
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : SELECT clausule in xbrowse.ch
Replies: 1
Views: 569

XBROWSE : SELECT clausule in xbrowse.ch

Hello,

I tryed to understand and to use the select clausule in xbrowse.ch
#xcommand @ <nRow>, <nCol> [ COLUMN ] XBROWSE <oBrw> .... ;
[ SELECT <cField> FOR <uValue1> [ TO <uValue2> ] ] ;


Taking Testxbr3.prg as sample , i changed in RddBrwAllColsWin :

@ 0,0 XBROWSE oBrw OF ownd ALIAS cAlias ...
by Demont Brecht
Tue Mar 20, 2012 10:54 am
Forum: FiveWin for Harbour/xHarbour
Topic: exe run's from xmate , not stand alone
Replies: 3
Views: 1131

Re: exe run's from xmate , not stand alone

Antonio ,

Thank you very much for your answer.

I had some problems with GetCurDir and changed as :
# ifdef FWH12
LOCAL cDir := GetCurDir() + "\"
IF ! (cDir=CurDrive()+":\")
cDir := CurDrive() + ":\" + GetCurDir() + "\"
END
# else
LOCAL cDir := CurDrive() + ":\" + GetCurDir() + "\"
# endif

In ...
by Demont Brecht
Tue Mar 20, 2012 9:46 am
Forum: FiveWin for Harbour/xHarbour
Topic: exe run's from xmate , not stand alone
Replies: 3
Views: 1131

exe run's from xmate , not stand alone

Hello,

After two month from conversion from fxh8.10 and xhb comercial to fwh12.02 and bcc582 , i try the final version.

Building the aplication with xmate , it works fine.

When the exe-file is launched from the command line , the aplication freezes on the paint clausule from the main window ...
by Demont Brecht
Sun Mar 18, 2012 6:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE ARRAY AUTOSORT
Replies: 6
Views: 1281

Re: XBROWSE ARRAY AUTOSORT

Nages

compiling with FWH12.02 it is ok. I didn't test it with 12.01

Frank
by Demont Brecht
Sat Mar 10, 2012 8:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : Method oCol(cHeader)
Replies: 1
Views: 455

XBROWSE : Method oCol(cHeader)

Hello ,

Looking in the source from xbrowse , i see :

METHOD oCol( u ) CLASS TXBrowse
local nAt := AScan( ::aCols, { |o| o == u } )

Calling this method , u will be a character expression , so we have left from == a column object , right a character expression.

I tryed with oBrw:aCols[1]=="First ...
by Demont Brecht
Fri Mar 09, 2012 8:42 am
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE ARRAY AUTOSORT
Replies: 6
Views: 1281

Re: XBROWSE ARRAY AUTOSORT

nageswaragunupudi wrote:I remember this was an issue in older versions. I think this is working correctly in the recent versions .
May I know the FWH version you are using?


It was tested with FWH12.01

Frank
by Demont Brecht
Thu Mar 08, 2012 11:23 am
Forum: FiveWin for Harbour/xHarbour
Topic: tDatepick : error in 12.02
Replies: 3
Views: 618

tDatepick : error in 12.02

Hello,

Updating from fwh 8.10 to fwh 12.02 gives a error in tDtepick

Error description: Error BASE/1004 Class: 'NIL' has no exported method: EVAL
Args:
[ 1] = U
[ 2] = O TDATEPICK

Stack Calls
===========
Called from: => EVAL( 0 )
Called from: .\source\classes\TDTPICKE.PRG => (b)TDATEPICK ...
by Demont Brecht
Mon Mar 05, 2012 7:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Get class and focus
Replies: 4
Views: 709

Re: Get class and focus

Michel

Changing focus seems always to be dificult and unprecditable.

I have much better results with :

*****************************************************************************************function xSetFocus&#40; oObx &#41;**************************// function from local.fivewin.english 4/1 ...
by Demont Brecht
Mon Mar 05, 2012 8:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE ARRAY AUTOSORT
Replies: 6
Views: 1281

XBROWSE ARRAY AUTOSORT

Hello ,

When an array is build as :

XBROWSE oBrw ARRAY Columns 2,1,..... AUTOSORT

The array is at startup wrongly sorted on the first column from the array ( second column from the browse)

It should be the first column from the browse (second from the array)

Frank