For Antonio (some required changes)

For Antonio (some required changes)

Postby byte-one » Wed Jan 14, 2009 11:22 am

Antonio, the following points are to review and solve:

*********************************************************
If empty cells to export to Excel or fields with CRLF in Text (memo), this changes are required.

Code: Select all  Expand view
METHOD ClpRow( lFullRow ) CLASS TXBrowse

   local nLast := Len( ::aCols )
   local n, RetVal := ""

   DEFAULT lFullRow := ( ::nMarqueeStyle >= 4 )

   if lFullRow
      for n := 1 to nLast
         if ! ::aCols[ n ]:lHide
*            if ! Empty( RetVal )
*               RetVal   += Chr( 9 )
*            endif
            RetVal += strtran(::aCols[ n ]:ClpText,CRLF," ; ") + Chr( 9 ) //changed byte-one
         endif
      next
   else
      RetVal   := strtran(::SelectedCol():ClpText,CRLF," ; ")
   endif

return RetVal


*********************************************************
CLASS TFolder FROM TControl
.
METHOD SetPrompts( aPrompts , aHelps ) //add ", aHelps"
.
ENDCLASS
**********************************************************
TButton
METHOD New()
nHelpId := 100 //should NOT! be defined
**********************************************************
TControl
DATA nHelpPosX //both datas are to erase! (is from an older code for HTML-Help)
DATA nHelpPosY
********************************************************
TPrinter
METHOD Say()

ExtTextOut( ::hDCOut, nRow, nTemp,;
{ nRow, nCol, nRow+oFont:nHeight*1.5, nCol+nWidth },; //add "*1.5" to show also the part of the letter under the groundline z.B. "g"
cText, ETO_CLIPPED )
*********************************************************
TWindow
METHOD __HelpTopic() CLASS TWindow
if ::oWnd != nil ;
.and. Upper( ::oWnd:ClassName() ) != "TFOLDER" ;
.and. Upper( ::oWnd:ClassName() ) != "TPAGES" ;
.and. Upper( ::oWnd:ClassName() ) != "TDIALOG" ;
.and. Upper( ::oWnd:ClassName() ) != "TWINDOW" //add also this for Help-system
***********************************************************
Last edited by byte-one on Fri Jan 23, 2009 12:23 pm, edited 1 time in total.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: For Antonio (some required changes)

Postby byte-one » Fri Jan 23, 2009 11:15 am

Antonio, have you seen this points? For next release please check this.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: For Antonio (some required changes)

Postby Antonio Linares » Fri Jan 23, 2009 9:27 pm

Günther,

We have added all your suggested changes, thanks :-)

Except this one:
CLASS TPrinter METHOD Say(), 1.5 modification as we think that we could break existing working applications. Not sure about it. Feedback is welcome.

Also, in:
.and. Upper( ::oWnd:ClassName() ) != "TWINDOW"
shouldn't we also add TMDIFRAME and TMDICHILD ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41898
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: For Antonio (some required changes)

Postby byte-one » Sat Jan 24, 2009 11:20 am

Antonio, the multiplicator from 1.5 i use many years ago. No sideeffects are seen! Its only increase the high of the paint-window from the text. oFont:nHight is only from the groundline from the last textline to the groundline from the actual line. And then are cutted the "g" etc.
Maybee this are an help (in German): http://msdn.microsoft.com/de-de/library/xwf9s90b.aspx

The other point I will test. Or are all this lines to to erase. I will tell you.

Another bug? i seen is the font from folders:

DEFINE WINDOW oWnd.....
oWnd:setfont(oFont)
REDEFINE DIALOG oDlg OF oWnd ....
REDEFINE FOLDER OF oDlg ......
The font from the dialog is the same of the window, but the font of the folder dialogs are standard. When i use REDEFINE DIALOG oDlg FONT oFont)... , then it is functioning.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: For Antonio (some required changes)

Postby Antonio Linares » Sun Jan 25, 2009 10:29 pm

Günther,

> the multiplicator from 1.5 i use many years ago. No sideeffects are seen!

Ok, we have included it for next FWH 9.01 build. Thanks

Please start a new thread to discuss that reported bug, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41898
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: For Antonio (some required changes)

Postby byte-one » Mon Jan 26, 2009 2:58 pm

Antonio, the following change from xbrowse as above is not included in 9.01!?
If empty cells to export to Excel or fields with CRLF in Text (memo), this changes are required.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: For Antonio (some required changes)

Postby Antonio Linares » Mon Jan 26, 2009 3:10 pm

Günther,

We missed it, sorry.

We are going to include it and publish it again today.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41898
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: For Antonio (some required changes)

Postby byte-one » Mon Jan 26, 2009 3:13 pm

Thanks Antonio, FIVEWIN is a "Great Thing"!!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: For Antonio (some required changes)

Postby Antonio Linares » Mon Jan 26, 2009 3:35 pm

Günther,

Already uploaded FWH 9.01 again with such change,

We are a great community of friends :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41898
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 43 guests