FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xbrowse in FW 1002
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
xbrowse in FW 1002
Posted: Tue Mar 09, 2010 03:27 PM
Hello

I have this when I click on the last header


Regards Maurizio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: xbrowse in FW 1002
Posted: Tue Mar 09, 2010 11:25 PM

Maurizio,

We are unable to reproduce it here.

Could you please provide us a small self contained example to reproduce it ? thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Re: xbrowse in FW 1002
Posted: Wed Mar 10, 2010 08:16 AM
Antonio ,

the problem is the vertical scrollbar

this is the code
Code (fw): Select all Collapse
#include "FiveWin.ch"
#include "XBrowse.ch"

function Main()

   local oDlg, oBrw

   USE CUSTOMER 

 
   DEFINE DIALOG oDlg RESOURCE "Test"
   REDEFINE XBROWSE oBrw ID 10 OF oDlg 
   ACTIVATE DIALOG oDlg

return nil



And this is the RC
Code (fw): Select all Collapse
LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US

TEST DIALOG DISCARDABLE 68, 43, 336, 213
STYLE WS_POPUP|DS_MODALFRAME|WS_CAPTION|WS_SYSMENU|WS_VISIBLE
CAPTION "Test"
FONT 8, "MS Sans Serif"
{
  CONTROL "", 10, "Edit", WS_VSCROLL|WS_BORDER|WS_TABSTOP, 0, 0, 335, 182
}
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xbrowse in FW 1002
Posted: Wed Mar 10, 2010 11:22 AM

In the RC file, please replace "Edit" with "TXBrowse". It works correctly with this change. Behavior is the same in previous versions also.

Regards



G. N. Rao.

Hyderabad, India
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Re: xbrowse in FW 1002
Posted: Wed Mar 10, 2010 01:56 PM

Rao

Thank

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: xbrowse in FW 1002
Posted: Wed Mar 10, 2010 03:32 PM

Dear Rao,

Very good observation :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion