Page 1 of 1
DCBROWSE and UseVisualStyle
Posted: Wed Feb 24, 2010 11:14 am
by Wolfgang Ciriack
Hi Roger,
is there a Get/Set function to set the UseVisualStyle:=.T. for all browses ?
Re: DCBROWSE and UseVisualStyle
Posted: Wed Feb 24, 2010 11:47 am
by rdonnay
Try this:
Code: Select all
oConfig := DC_XbpBrowseConfig():new()
oConfig:useVisualStyleBrowse := .t.
DC_XbpBrowseDefault(oConfig)
Re: DCBROWSE and UseVisualStyle
Posted: Wed Feb 24, 2010 10:45 pm
by Wolfgang Ciriack
Thanks Roger,
but this does not work for me.
So i add the line
to every DCBROWSE.
Re: DCBROWSE and UseVisualStyle
Posted: Thu Feb 25, 2010 5:27 am
by Tom
@Wolfgang: What version are you using?
Roger introduced the USEVISUALSTYLE clause for DCBROWSE several months ago. Use that instead of EVAL-whatever. And DC_XbpBrowseConfig works definitely with build 253.
Re: DCBROWSE and UseVisualStyle
Posted: Thu Feb 25, 2010 10:35 am
by Wolfgang Ciriack
Ok, i will give it a next try at the weekend.