Search found 142 matches

by Frank Demont
Mon Mar 28, 2011 6:56 am
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse array autosort behaviour
Replies: 7
Views: 2335

Re: Xbrowse array autosort behaviour

Mr. Frank There have been a lot of improvements to fwh and xbrowse over these years. I have seen the code you posted in the other post. All that would not be needed now. yes , i see now it is possible as described. Thank you very much for the explanation. Personally i am convinced that using ::bOrd...
by Frank Demont
Sun Mar 27, 2011 9:10 am
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse array autosort behaviour
Replies: 7
Views: 2335

Re: Xbrowse array autosort behaviour

Nages ,

I am using FWH 8.10 and tested :

1 ) Select BRINK (4 names) , Change between A and D several times , select item changes (between the for names)

2) click on married , no brinks more selected.

Sorry when it works now as expected

Frank
by Frank Demont
Sun Mar 27, 2011 8:49 am
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse : Arraysort and arrayseek (again)
Replies: 1
Views: 591

Example with column recno

Column 2 and column 8 are made unique . Clicking column 8 or 2 (several times) may NOT change the record !!!! #include "FiveWin.ch" #include "xbrowse.ch" #include "InKey.ch" # include "common.ch" # define bORDER1             {|a|IIF(pCount()==0 , a := {FIELD->...
by Frank Demont
Sun Mar 27, 2011 8:02 am
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse array autosort behaviour
Replies: 7
Views: 2335

Re: Xbrowse array autosort behaviour

Richard , Nages : Using Customer.dbf , index on FIELD->Last (column2 ) 1) Ordering a dbf (using an index) and ordering a array (column) will not give the same results for equal fields when we look ar the recordnumber. For 'Bink' we have 125 , 152 ,176 , 382 there is a subkey record number In the arr...
by Frank Demont
Sun Mar 20, 2011 11:49 am
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse : Arraysort and arrayseek (again)
Replies: 1
Views: 591

xBrowse : Arraysort and arrayseek (again)

Browsing a array make it possible to have each column as seek column , a dbf only the columns with a index. A index can be very complicated, see in the example column3 , numbers are omitted from the ordering (and seek) In many cases i try to use a array instead from a dbf. To have the same results f...
by Frank Demont
Sun Feb 13, 2011 5:28 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse array autosort and seek with secundury keys
Replies: 2
Views: 1090

Re: Xbrowse array autosort and seek with secundury keys

Thank you for the answer and the sugestions , i learned again something new. Browse a dbf on a index is not a problem , the problem is that i try to become the same results in a array seek . The dbf example is only in the sample to compare with the array seek. I am using 8.10 , maybe i miss some pos...
by Frank Demont
Sun Feb 13, 2011 10:15 am
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse array autosort and seek with secundury keys
Replies: 2
Views: 1090

Xbrowse array autosort and seek with secundury keys

Hello, A few days ago i asked how we can sort in a array with a secundary key (i.e. column 1 + column 2). Answer from nages : oCol:cSortOrder := { |oCol| <yourfunction> } It works very good , but i try to have the same result when using a dbf with an index like PAD(UPPER(Trim(first) + trim(Last)),20...
by Frank Demont
Thu Feb 10, 2011 12:22 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse , autosort
Replies: 2
Views: 757

Re: Xbrowse , autosort

Thanks very much , very easy to implement !!!!!

Frank
by Frank Demont
Thu Feb 10, 2011 10:57 am
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse , autosort
Replies: 1
Views: 397

Xbrowse , autosort

Hello, Clicking on a header , the array is sorted with the data from this colum. In some cases i want to add a second key , or column , like we can do in a index expression. I tryed to add a new data to TXBrwColumn (bOrder) , but it seems to be too complicated. How can it be done without changing th...
by Frank Demont
Thu Feb 10, 2011 10:21 am
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse , autosort
Replies: 2
Views: 757

Xbrowse , autosort

Hello, Clicking on a header , the array is sorted with the data from this colum. In some cases i want to add a second key , or column , like we can do in a index expression. I tryed to add a new data to TXBrwColumn (bOrder) , but it seems to be too complicated. How can it be done without changing th...
by Frank Demont
Fri Nov 12, 2010 3:59 pm
Forum: FiveWin for Harbour/xHarbour
Topic: dbSkip / Tautoget question
Replies: 5
Views: 1065

Re: dbSkip / Tautoget question

Marc

On 6-10 there was a discussion : cmxShared()

Have you tried to use cmxShared(.f.) ?

Frank
by Frank Demont
Fri Sep 24, 2010 8:02 am
Forum: FiveWin for Harbour/xHarbour
Topic: hash with (x)harbour - knowledge base
Replies: 20
Views: 6347

Re: hash with (x)harbour - knowledge base

A Good example from using hashes is when tabels or dbf's must be totalisized. See code //# define NOHASH FUNCTION MAIN LOCAL aTabel := {{"CL1",10},{"CL1",20},{"CL1",30},{"CL1",40},{"CL2",10},{"CL2",20}} LOCAL el , i , ClNr # ifdef NOHASH LO...
by Frank Demont
Fri Feb 23, 2007 9:48 am
Forum: FiveWin for Harbour/xHarbour
Topic: Sending a logo in an email
Replies: 18
Views: 5492

Michel,

Build your output as every print output from fivewin . You can use bitmaps, ......

As printer : PDFcreator (must be installed) , or a better solution is Image2Pdf.dll (i have working sample) in combination with OLE outlook or SMTP

Then you can send a e-mail with attachement PDF file

Frank
by Frank Demont
Wed Feb 21, 2007 4:42 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Some questions about OLE
Replies: 4
Views: 1568

Michel , If you know the filename , you can : DO WHIL .T. hWnd := FINDWND( cFileName ) IF !EMPTY( hWnd ) ? "Tijdelijke rtf-file is nog niet gesloten : " + CRLF + GETWINDOWTEXT( hWnd ) ? "Het programma probeert dit nu zelf te doen " SENDMESSAGE( hWnd, 16 ) //CloseWindow(hWnd) ELSE...
by Frank Demont
Wed Feb 21, 2007 2:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Some questions about OLE
Replies: 4
Views: 1568

1. Where can I find a list of the OLE-commands and -functions which can be used in FiveWin and xHarbour ? c:\program Files\Microsoft Office\OFFICE11\1043\VBAOL11.chm 4. A question about a current problem : how can I check through OLE that there is still a document opened (no matter which one) in Wor...