bug xBrowse Win7 style FW 11.7

Post Reply
User avatar
ukservice
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

bug xBrowse Win7 style FW 11.7

Post by ukservice »

Hello.

Recent change in Win7 style does not work.

I move scroll to Johnny but it remains at top Homer:

Image

Uploaded with ImageShack.us

Code: Select all | Expand

#include 'fivewin.ch'
#include 'xbrowse.ch'



static oFont, ovFont

function main()

   local oWnd, oBrw

   use customer

   DEFINE FONT oFont NAME 'TAHOMA' SIZE 0,-12
   DEFINE FONT oVfont NAME 'TAHOMA' SIZE 0,-12 NESCAPEMENT 900

   DEFINE WINDOW oWnd
   oWnd:SetFont( oFont )

   @ 0,0 XBROWSE oBrw ;
      COLUMNS 'First', 'Last', 'Age' ;
      OF oWnd ;
      ALIAS 'CUSTOMER' ;
      LINES CELL

   WITH OBJECT oBrw:oCol( "Age" )
      :oHeaderFont := oVFont
      :cHeader := "Age Of Employee"
      :AddBmpFile( '..\bitmaps\attach.bmp' )
      :nHeadBmpNo := 1
   END


  oBrw:nMarqueeStyle       := 7
  oBrw:nColDividerStyle    := LINESTYLE_BLACK
  oBrw:lColDividerComplete := .T.
  oBrw:nHeaderLines        := 1.5
  oBrw:lRecordSelector     := .F.  
  oBrw:nStretchCol = STRETCHCOL_LAST


   oBrw:CreateFromCode()
   oWnd:oClient := oBrw

   SET MESSAGE OF oWnd TO "XBrowse Vertical Fonts" 2007
   ACTIVATE WINDOW oWnd MAXIMIZED

return nil
//===========================
 
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: bug xBrowse Win7 style FW 11.7

Post by nageswaragunupudi »

Cursor movement of MARQSTYLE_HIGHLWIN7 works the same way as MARQSTYLE_HIGHLROWMS.

When we scroll with scroll wheel, the new position is shown with dotted rectangle and the high-lite remains at the original row. When we click on the new row or move with cursor keys highlite also is moved. This behavior is same in both cases including multi-select functionality.

This behavior is also similar to windows 7 browsing style.
Please see the screen shot below where it can be seen that the highlite remains at the original position and the current position is shown in dotted rectangle till clicked or moved to with cursor keys.
Image
Screen shiot from xbrwin7
Similar to window 7 ( not exactlyidentical)
Image
Regards

G. N. Rao.
Hyderabad, India
User avatar
ukservice
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: bug xBrowse Win7 style FW 11.7

Post by ukservice »

Mr. Nao,

Thank you for your reply.

I need previous highlite with Windows 7 style. How can I get it please?.

Why don´t rename this 11.7 new feature as other new style and keep previous as number 7?.

I can´t change design to my customers. Also, maybe others want to keep tradicicional highlite with Windows 7 look.

Thank you.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: bug xBrowse Win7 style FW 11.7

Post by nageswaragunupudi »

Previous implementation of WIN7 style was not like windows 7 style. That was the complaint earlier, which is now fixed. Now WIN7 is like windows 7 style this is exactly the beahavior of xbrowse full horizontal bar multiselect mode also.
Regards

G. N. Rao.
Hyderabad, India
User avatar
ukservice
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: bug xBrowse Win7 style FW 11.7

Post by ukservice »

Well, i need previous windows7 look.

It could be named as 2007 or other.

But I can´t change suddenly xbrowse behaviour.

Thank you.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
ukservice
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: bug xBrowse Win7 style FW 11.7

Post by ukservice »

Hello.

Any solution to keep old Win7 style behaviour with a different name?.

Thanks
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: bug xBrowse Win7 style FW 11.7

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
ukservice
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: bug xBrowse Win7 style FW 11.7

Post by ukservice »

Antonio,

Fixes work fine but I would appreciate a permanent solution so as not changing xbrowse.prg with every update.

Maybe defining a new style?.

Por example, WIN7OLD?
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: bug xBrowse Win7 style FW 11.7

Post by Antonio Linares »

Listened and planning it... :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
ukservice
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: bug xBrowse Win7 style FW 11.7

Post by ukservice »

Thank you Antonio.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: bug xBrowse Win7 style FW 11.7

Post by Antonio Linares »

Implemented in FWH 11.09

oBrw:lMultiselect := .F.

Mr. Rao has implemented it in a very nice way, thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply