DCBROWSE and UseVisualStyle

This forum is for eXpress++ general support.
Post Reply
Message
Author
Wolfgang Ciriack
Posts: 484
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

DCBROWSE and UseVisualStyle

#1 Post by Wolfgang Ciriack »

Hi Roger,
is there a Get/Set function to set the UseVisualStyle:=.T. for all browses ?
_______________________
Best Regards
Wolfgang

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DCBROWSE and UseVisualStyle

#2 Post by rdonnay »

Try this:

Code: Select all

oConfig := DC_XbpBrowseConfig():new()
oConfig:useVisualStyleBrowse := .t.

DC_XbpBrowseDefault(oConfig)
The eXpress train is coming - and it has more cars.

Wolfgang Ciriack
Posts: 484
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: DCBROWSE and UseVisualStyle

#3 Post by Wolfgang Ciriack »

Thanks Roger,
but this does not work for me.
So i add the line

Code: Select all

EVAL {|o| o:UseVisualStyle:=.T. }
to every DCBROWSE.
_______________________
Best Regards
Wolfgang

User avatar
Tom
Posts: 1234
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: DCBROWSE and UseVisualStyle

#4 Post 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.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

Wolfgang Ciriack
Posts: 484
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: DCBROWSE and UseVisualStyle

#5 Post by Wolfgang Ciriack »

Ok, i will give it a next try at the weekend.
_______________________
Best Regards
Wolfgang

Post Reply