Dear All,
I can define TXBrowse as "Windows Style=0x50210000" in .RC or .RES. But if I need to define from source code with out .RC or .RES.
How do I can define it?
Thanks
#include "FiveWin.Ch"
FUNCTION TEST()
LOCAL oDlgTEST
LOCAL oFnt
LOCAL oBtIDOK
LOCAL oXBRW101
DEFINE FONT oFnt NAME "MS Sans Serif" SIZE 0, -8
DEFINE DIALOG oDlgTEST ;
FROM 15,6 TO 45,84 ;
TITLE "TXBrowse demo" ;
STYLE WS_POPUP|DS_MODALFRAME|WS_CAPTION|WS_SYSMENU|WS_VISIBLE
@ 211, 252 BUTTON oBtIDOK ;
SIZE 50, 14 ;
OF oDlgTEST ;
FONT oFnt ;
PIXEL
@ 5, 4 XBROWSE oXBRW101 ;
SIZE 297, 202 ;
OF oDlgTEST ;
FONT oFnt ;
PIXEL
oXBRW101:lDrawBorder := .T.
oXBRW101:CreateFromCode()
ACTIVATE DIALOG oDlgTEST
RETURN 0
nageswaragunupudi wrote:Mr. Dutch
Set
oBrw:lDrawBorder := .t.
dutch wrote:Is it included in FWH 18.05?
How can I change border color to light blue?
also if there is a scroolbar in the xbrowse, border is not impressed.
dutch wrote:Dear Mr.Rao,
I need TXBRowse with flat border style as picture.
@ nRow, nCol XBROWSE ....
... STYLE FLAT NOBORDER
// :lFlatStyle := .T.
//:nClrBorder := Rgb( 73, 134, 231 ) // only in Fwh 18.05
:lDrawBorder := .T.
nageswaragunupudi wrote:In 18.05, we can specify oBrw:nClrBorder
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: MGA and 73 guests