Search found 28 matches

by Gary Woodley
Mon Oct 31, 2011 2:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse ToExcel
Replies: 2
Views: 650

XBrowse ToExcel

Hi, I have had 2 errors when exporting to excel from an xbrowse. 1. Argument error: ALLTRIM which was called from xbrowse.prg => TXBRWCOLUMN:CLPTEXT(11406) Original Code:- if ::bEditValue == nil       if ::bStrData == nil          RetVal   := ""       else          RetVal   :=  AllTrim(Eva...
by Gary Woodley
Wed Oct 12, 2011 2:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Copy/Paste
Replies: 29
Views: 5245

Copy/Paste

We have found a problem, where copy/paste does not work correctly if copying from one get to another, unless the get we are pasting to is a multiline get. We have testing this on an older version(10.06) of fivewin and works fine. When you paste it looks like only the first letter is pasted. Any sugg...
by Gary Woodley
Wed Aug 18, 2010 9:44 am
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Xbrowse and SQL Server
Replies: 2
Views: 525

Re: Problem with Xbrowse and SQL Server

Hi, Have also found problems with setting relationships using xHarbour SQLRDD to display data in XBrowse. ROUTMAST->(DBSETRELATION( "RENTAL", {|| ROUTMAST->AGREE}, "ROUTMAST->AGREE" )) RENTAL->(DBSETRELATION( "CUSTOMER", {|| RENTAL->RENT_ACCNB}, "RENTAL->RENT_ACCNB...
by Gary Woodley
Tue Aug 17, 2010 2:46 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Xbrowse and SQL Server
Replies: 2
Views: 525

Re: Problem with Xbrowse and SQL Server

Have done some more test and the problem seems to be with the line ::Skip( nRowPos - ::nRowSel ) in the LButtonDown method of Xbrowse (Line 3075).

Regards

Gary
by Gary Woodley
Tue Aug 17, 2010 2:30 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Xbrowse and SQL Server
Replies: 2
Views: 525

Problem with Xbrowse and SQL Server

Hi, We are having problems using the June 2010 xbrowse woth SQL Server, which did not happen with the previous version of FiveWin or when usind DBF's. When you left click on an item in the list, the selection jumps to the top of the list, hiding all the items above it. We have tried adding an older ...
by Gary Woodley
Fri Mar 26, 2010 11:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: Convert HEX vector to image
Replies: 11
Views: 2650

Re: Convert HEX vector to image

Works perfectly thanks!

Next question, How do I save the image to a file?

Thanks

Gary
by Gary Woodley
Fri Mar 26, 2010 9:04 am
Forum: FiveWin for Harbour/xHarbour
Topic: Convert HEX vector to image
Replies: 11
Views: 2650

Re: Convert HEX vector to image

Hi, I just tested the conversion using 564B564B574A58495948594759455944584357415641554054404F404C404940434040423E433D453A473A49384C384 E35533358325B325D325F32613264366739693C6A3F6C426D457049724A724B724F72517254715570556F556E556C55 6953685267526651654D644C634B634A634A6249614A614E60505F515E535E545E545...
by Gary Woodley
Thu Mar 25, 2010 2:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Convert HEX vector to image
Replies: 11
Views: 2650

Convert HEX vector to image

I have an image that has been stored as in HEX vector pairs format. An example is:- 83B483B489B294AA97A49C999E8C9B8595818C7C8279777872776A7762775B775979577A567D5680578461866 B867D82847E867C887B8A7B8C7B8C7BFFFF. The code i have been supplied as an example is in PHP, has anybody any idea how I can cov...
by Gary Woodley
Wed Jan 20, 2010 11:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: Call Help from ? on dialog
Replies: 1
Views: 330

Call Help from ? on dialog

Hi,

I have help files called either from a menu or by pressing F1 but would like to use the ? on the system menu of a dialog (created in an .rc file) to also call the relevant help file. What command or code should I use?

Thanks in advance

Gary
by Gary Woodley
Wed Nov 25, 2009 4:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Window WM_CLOSE
Replies: 4
Views: 850

Re: Window WM_CLOSE - Solved

Hi Antonio, Problem solved, we issue a SendMessage( FindWindow( 0, "NEWSCHED" ), WM_CLOSE ) followed by Inkey(.1) to the window (NEWSCHED) that was causing the problem and now functions correctly. Needed the time delay as well, I assume to allow the mdi to close before the main window clos...
by Gary Woodley
Wed Nov 25, 2009 3:46 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Window WM_CLOSE
Replies: 4
Views: 850

Re: Window WM_CLOSE

Hi Antonio, Does that mean I have to change my original class that created the MDI Window? Unfortunately I don’t get an error log, but the Visual Studio Just-in-time debugger displays stating ‘An unhandled Win32 exception has occurred’ . If I run the program on a Vista system no error seems to occur...
by Gary Woodley
Fri Nov 20, 2009 3:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Window WM_CLOSE
Replies: 4
Views: 850

Window WM_CLOSE

Hi, We have a Main.exe program that calls various other executeables. When we close the Main program we send as an example:- SendMessage( FindWindow( 0, default_text("TITLE","ORDERS") ), WM_CLOSE ) to all the seperate executeables. One of our programs (ORDERS.exe) opens a seperat...
by Gary Woodley
Fri Nov 13, 2009 2:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Tranparent bitmap
Replies: 1
Views: 347

Tranparent bitmap

Hi, I am using a modified PaintTranparent function as below to create a bitmap in a window. Is there any way I can use centering rather than recalculate the x and y co-ordinates? Then I will only have to scale the image, assuming thats possible. FUNCTION PaintTransparent( hDC, hBitmap, nRow, nCol ) ...
by Gary Woodley
Wed Nov 04, 2009 10:30 am
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse problem
Replies: 1
Views: 383

xBrowse problem

Hi, We have an xbrowse which is displaying filtered data from a SQL Server database. The browse displays the data correctly until the down arrow is pressed until it goes past the end record or if the 'end' and 'home' buttons are pressed alternatively. Additional duplicate records then seem to be dis...
by Gary Woodley
Fri Oct 16, 2009 8:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: Hand-drawing lines on a Google map
Replies: 9
Views: 1716

Re: Hand-drawing lines on a Google map

Hi Alvaro,

Could you send me your code for the example to gary@plsoft.co.uk

Many Thanks

Gary