Search found 142 matches

by Frank Demont
Sat Jan 20, 2007 11:18 am
Forum: FiveWin for Harbour/xHarbour
Topic: GetTextWidth(oPrn:hDc,cText,oFont)
Replies: 1
Views: 763

GetTextWidth(oPrn:hDc,cText,oFont)

Hello Using ARIAL as font , i noticed that Gettextwidth didn't give the right result 1) oPrn:Say(nRow,10*KolStap,LEFT(cText,71),oFont) nKol := 10*KolStap + GetTextWidth(oPrn:hDc,LEFT(cText,71),oFont) oPrn:Say(nRow,nKol,SUBSTR(cText,72),oFont) Should give a text without white space , it isn't 2)trace...
by Frank Demont
Tue Jan 16, 2007 12:30 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Add news resource ids to app ?
Replies: 4
Views: 1046

Hi,

Antonio , can objects from source be merged with objects from resources ?

Maybe a better aproach is to first redefine all objects from the dll , but then hide what not is needed

frank
by Frank Demont
Wed Dec 27, 2006 8:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: FONT , which file ?
Replies: 1
Views: 534

FONT , which file ?

Hello,

I have problems with the print results from different cliënts , so i have to know which file ('COURIER NEW') is loaded.

Can we know which file defines a FONT ?

Frank
by Frank Demont
Sat Dec 23, 2006 9:34 am
Forum: FiveWin for Harbour/xHarbour
Topic: bgotfocus from dialog in MDI enverronnement
Replies: 1
Views: 562

bgotfocus from dialog in MDI enverronnement

Hello, Having 2 dialogs in a MDI envorronement , i try to use the actual values from the first dialog in the second. In the second dilaog , bgotfocus is set , supposing that when in the first dialog lCheck is changed , the second dialog must first receive focus (clicking on it) , and execute bgotfoc...
by Frank Demont
Mon Dec 18, 2006 3:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple Lines xbrowse
Replies: 2
Views: 801

oBrw:nDataLines := 2

Frank
by Frank Demont
Mon Dec 18, 2006 9:13 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using Image2PDF.DLL , I2PDF_IMAGESTAMP
Replies: 2
Views: 1024

Fantastic product. Friday evening , i reported 4 problems to adrian Nelson : 1) Using importwmf from fwh wasn't possible : Solved , received new DLL 2) Problems with FONTS with UNDERLINE clause Solved 3) € sign not converted : not yet solved , he is working on it 4) Imagestamp : not yet solved , he ...
by Frank Demont
Sat Dec 16, 2006 7:35 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using Image2PDF.DLL , I2PDF_IMAGESTAMP
Replies: 2
Views: 1024

Using Image2PDF.DLL , I2PDF_IMAGESTAMP

Hello, In a printprogram i use on every page : oPrn:ImportWMF( "BITMAP\MCLSKop.emf" ) // entire page , a logo on top and foot When the emf files are send to buildpdf , only blanco pages are build So i tryed to build the emf-files WITHOUT importWMF , but to use I2PDF_IMAGESTAMP instead (wit...
by Frank Demont
Wed Nov 29, 2006 3:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Text Autocompletion?
Replies: 3
Views: 832

#include "FiveWin.ch" //------------------------------------------------------------------------// function Main() local oDlg local cText := "AUTOFILL" local oGet DEFINE DIALOG oDlg TITLE "Just a get" @ 2, 2 SAY "Date:" OF oDlg @ 2, 6 GET oGet VAR cText OF oD...
by Frank Demont
Mon Nov 20, 2006 9:43 am
Forum: FiveWin for Harbour/xHarbour
Topic: DtePick
Replies: 1
Views: 740

DtePick

Hello, I try to improve the visibility from Dtepicker when it has focus , from resources with DTS_SHOWNONE . When the Date object receives focus , the checkbox should indicate he has focus , but this isn't always clear . In one from mine aplications , there are 3 date objects. All off them seems to ...
by Frank Demont
Fri Nov 03, 2006 11:00 am
Forum: FiveWin for Harbour/xHarbour
Topic: Autofill get from first chatacter
Replies: 0
Views: 406

Autofill get from first chatacter

Hello, Next code did work with previous versions from fw , now it fails : #include "FiveWin.ch" function Main() LOCAL oDlg , butok LOCAL cCad := " " DEFINE DIALOG oDlg TITLE "TGet from " + FWDESCRIPTION @ 1, 2 SAY "Text..:" OF oDlg @ 1, 6 GET oGet VAR cCad OF ...
by Frank Demont
Sat Oct 21, 2006 1:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit
Replies: 3
Views: 988

I have tested testrtf-file , static function PrintBox( lPreview ) ................................................... oPrn:Box( 1000, 500, 2500, 3000 ) ? REPrintBox( oRTF:hWnd, If( lPreview, oPrn:hDCOut, oPrn:hDC ), ; oRTF:IsSelection(), 1020, 510, 2990, 2490 ) With fwh2.7 : returns 399 With fw2.8 :...
by Frank Demont
Fri Oct 20, 2006 4:24 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit
Replies: 3
Views: 988

Richedit

Hello, nFrom := oRtf:Printbox(If( oPrn:lMeta , oPrn:hDCOut, oPrn:hDC ) , Rij*Rijstap , LeftMarge, nWidth - 100 , (Rij + 1)*Rijstap , nFrom) //4590 METHOD PrintBox( hDC, nTop, nLeft, nRight, nBottom, nFrom ) CLASS TRichEdit DEFAULT nFrom := 0 if hDC != 0 nFrom := REPrintBox( ::hWnd, hDC, ::IsSelectio...
by Frank Demont
Sat Oct 14, 2006 2:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DBGENTRY
Replies: 1
Views: 555

DBGENTRY

Trying to compile a example with borland , i have a external :

_HB_FUN__DBGENTRY referencerd from ...errorsysw.obj

Frank

fw2.8 , cvs from a month ago
by Frank Demont
Wed Oct 04, 2006 2:34 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Button , text on two lines
Replies: 1
Views: 581

Button , text on two lines

Hello

Is it possible to have a button , where the text (cCaption) is locatedt in two rows ?

I tryed with :

Code: Select all

@ 1,18 BUTTON "Kies inputtype en " + CRLF + "klik om verder te gaan"   OF oDlg ACTION (lOk := .T. , oDlg:end()) SIZE 110 , 28
No succes

Frank
by Frank Demont
Tue Oct 03, 2006 8:43 am
Forum: FiveWin for Harbour/xHarbour
Topic: Changing color from say
Replies: 2
Views: 602

Antonio,

Ok , it seems that the background color can't be omitted. I supposed that when it is nil , it has not to change. Now i have to know what this color is or ,

oSay:SetColor( CLR_HRED , osay:nClrPane )

Frank