Search found 196 matches

by don lowenstein
Fri Feb 03, 2017 5:57 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWSavePreviewToPDF 32-bit vs. 64-bit
Replies: 24
Views: 5748

Re: FWSavePreviewToPDF 32-bit vs. 64-bit

HB_FUNC( GDIPLUSEMFTOJPG ) this function is used by FWSavePreviewToPDF to create a jpeg file. for some reason the file created by DDIPLUSEMFTOJPG contains a file extension of JPEG followed by Chinese-looking characters. LPWSTR filefin = ( LPWSTR ) hb_parc( 3 ); CLSID cClsid ; CLSIDFromString( L"...
by don lowenstein
Fri Feb 03, 2017 5:02 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWSavePreviewToPDF 32-bit vs. 64-bit
Replies: 24
Views: 5748

Re: FWSavePreviewToPDF 32-bit vs. 64-bit

FWSavePreviewToPDF is called by that button using a TPreview object I believe.
by don lowenstein
Thu Feb 02, 2017 4:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWSavePreviewToPDF 32-bit vs. 64-bit
Replies: 24
Views: 5748

Re: FWSavePreviewToPDF 32-bit vs. 64-bit

I used Image2pdf.dll from utility warrior.

it is a 32-bit library and I can't seem to find this vendor anymore.
by don lowenstein
Thu Feb 02, 2017 3:28 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWSavePreviewToPDF 32-bit vs. 64-bit
Replies: 24
Views: 5748

Re: FWSavePreviewToPDF 32-bit vs. 64-bit

clicking on the Export to PDF from the FiveWin previewer produces on that can be copy/pasted as text.

how does that happen?
by don lowenstein
Thu Feb 02, 2017 2:44 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWSavePreviewToPDF 32-bit vs. 64-bit
Replies: 24
Views: 5748

Re: FWSavePreviewToPDF 32-bit vs. 64-bit

If I choose to preview the file first using the FWH preview, then click the "Save to PDF" button, I can indeed copy / paste text.

I don't see why the button on the report-preview screen from FWH will allow the copy / paste of text.
by don lowenstein
Thu Feb 02, 2017 2:08 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWSavePreviewToPDF 32-bit vs. 64-bit
Replies: 24
Views: 5748

Re: FWSavePreviewToPDF 32-bit vs. 64-bit

Correction - I use a different library for 32-bit PDF files.

therefore, my question is, how can I create FWH pdf file that allows the text to be copy/paste as text and not an image?
by don lowenstein
Thu Feb 02, 2017 2:05 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWSavePreviewToPDF 32-bit vs. 64-bit
Replies: 24
Views: 5748

FWSavePreviewToPDF 32-bit vs. 64-bit

I use FWSavePreviewToPDF to create .PDF files using FWH 32-bit version I can copy/paste text from the output. using FWH 64-bit version COMPILING SAME EXACT CODE, I can not copy/paste text from the output. I can only copy an image section of the .PDF. what can I do so that the 64-bit FWH allows me to...
by don lowenstein
Fri Jan 27, 2017 12:46 am
Forum: FiveWin for Harbour/xHarbour
Topic: remove formatting within a memo field
Replies: 6
Views: 1066

Re: remove formatting within a memo field

correct.

I'm wishing to print the memo data on a report without all of the embedded formatting.
by don lowenstein
Thu Jan 26, 2017 9:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: remove formatting within a memo field
Replies: 6
Views: 1066

Re: remove formatting within a memo field

Cristobal,

That is essentially what I did.
thanks for providing your input.

Don.
by don lowenstein
Thu Jan 26, 2017 4:19 pm
Forum: FiveWin for Harbour/xHarbour
Topic: remove formatting within a memo field
Replies: 6
Views: 1066

remove formatting within a memo field

I am reading a SQL database via ADO. one of the data Items I'm using is a memo field, with embedded formatting. here is an example: {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}} \viewkind4\uc1\pard\f0\fs17 JH - Sue let me know that their rep had notice...
by don lowenstein
Fri Sep 09, 2016 1:59 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FHW 64 Harbour Console Debugger
Replies: 3
Views: 446

Re: FHW 64 Harbour Console Debugger

In 32 bits I do the following: In source code: REQUEST HB_GT_WIN REQUEST HB_GT_WIN_DEFAULT procedure hb_gt_gui_default return In Link I OMIT the -aa switch: f:\prod\bcc582\BIN\ilink32.exe -Gn -Tpe -s - Iobj32 -Lf:\prod\bcc582 @%sys%.lnk In the .lnk file the debugger libs appear BEFORE the FiveWin li...
by don lowenstein
Thu Sep 08, 2016 9:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FHW 64 Harbour Console Debugger
Replies: 3
Views: 446

FHW 64 Harbour Console Debugger

Does the Harbour console debugger work wtih FWH-64 and Microsoft Visual Studio Complier/Linker?
by don lowenstein
Tue Apr 07, 2015 8:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Disable Mouse Wheel on combobox controls
Replies: 5
Views: 658

Re: Disable Mouse Wheel on combobox controls

Your suggestion did in fact disable the scroll on the ComboBox. My goal was to scroll the dialog (when it did not all fit on the screen) with the mouse wheel. In order to re-direct the mousewheel event to the dialog my combo-box scroll method looks like below. This works great. METHOD ComboWheel( nK...
by don lowenstein
Tue Apr 07, 2015 5:58 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Disable Mouse Wheel on combobox controls
Replies: 5
Views: 658

Re: Disable Mouse Wheel on combobox controls

I've tried this in my DEFAULT Method for this class. The value does in fact scroll, after going thru my logic. Somewhere the event is handled at a Super: level after control goes thru this method. ************************************************** //--------------------------------------------------...
by don lowenstein
Tue Apr 07, 2015 5:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Disable Mouse Wheel on combobox controls
Replies: 5
Views: 658

Disable Mouse Wheel on combobox controls

How can I "turn off" the wheel of the mouse in a combo-box?

My problem is, if focus is on a combo-box and the user wishes to scroll a dialog, the combobox values change by default, in stead of the dialog scrolling with the mouse wheel as it does with control on a different type of control.