DCGET COMBO on Win 7

This forum is for eXpress++ general support.
Message
Author
BruceN
Posts: 280
Joined: Thu Jan 28, 2010 7:46 am
Location: Slidell, LA

DCGET COMBO on Win 7

#1 Post by BruceN »

the drop down combo box works great on XP, but on win 7 it always covers up part of the vertical scroll bar (see attached sample). Making the box wider doesn't seem to help, it just adds more blank space at the end of the line. Is there a setting to adjust that somwhere to allow the whole scroll bar to display?
Attachments
win7.jpg
win7.jpg (11.98 KiB) Viewed 17340 times
There are only 10 kinds of people - those who understand binary and those who don't :)

Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Re: DCGET COMBO on Win 7

#2 Post by Cliff Wiernik »

Roger, I see this behavior on all my windows 7 dialogs. Everything appears to be shifted a few pixels to the right and cut off. I will get you a few sample of the WinXP vs Win7 look.

Cliff.

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

Re: DCGET COMBO on Win 7

#3 Post by rdonnay »

I don't see that problem under Win 7. It looks normal to me.

It must have something to do with your Windows settings.
The eXpress train is coming - and it has more cars.

BruceN
Posts: 280
Joined: Thu Jan 28, 2010 7:46 am
Location: Slidell, LA

Re: DCGET COMBO on Win 7

#4 Post by BruceN »

any idea what setting(s) that would be?
There are only 10 kinds of people - those who understand binary and those who don't :)

Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Re: DCGET COMBO on Win 7

#5 Post by Cliff Wiernik »

I am using whatever the default settings are. I will get some samples to show you.

User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

Re: DCGET COMBO on Win 7

#6 Post by RDalzell »

Bruce,

Any possibility of changing to DCCOMBOBOX ?

User avatar
Auge_Ohr
Posts: 1422
Joined: Wed Feb 24, 2010 3:44 pm

Re: DCGET COMBO on Win 7

#7 Post by Auge_Ohr »

BruceN wrote:any idea what setting(s) that would be?
"Border Padding" ist the Name of the "filling" of a Border. default is 4 (Pixel) wide

Code: Select all

// Defines used with the GetSystemMetrics()-API, see
// xbpGetSystemMetrics()

#define SM_CXDLGFRAME            7
#define SM_CYDLGFRAME            8
#define SM_CXPADDEDBORDER       92

LOCAL nWidthBorder   := xbpGetSystemMetrics( SM_CXDLGFRAME )
LOCAL nHeightBorder  := xbpGetSystemMetrics( SM_CYDLGFRAME )
LOCAL nBorderPadding := 0

  IF OnOSVersion() > 5                          // Vista-Win7 DVW Aero
      nBorderPadding := xbpGetSystemMetrics(SM_CXPADDEDBORDER)
  ENDIF
greetings by OHR
Jimmy

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

Re: DCGET COMBO on Win 7

#8 Post by rdonnay »

There should be no border at all on a DCGET .. COMBO.

Do you get the same result when running the GET Combo sample in XDEMO.EXE - Sample Group 2 ?
The eXpress train is coming - and it has more cars.

skiman
Posts: 1194
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: DCGET COMBO on Win 7

#9 Post by skiman »

Cliff Wiernik wrote:Roger, I see this behavior on all my windows 7 dialogs. Everything appears to be shifted a few pixels to the right and cut off. I will get you a few sample of the WinXP vs Win7 look.

Cliff.
Hi Cliff,

I solved this problem with the following:

Code: Select all

DCGETOPTIONS ;
   FITPAD 25
DC_GetOptDefault(GetOptions)
I don't check on the Windows version. With the above value it is always correct.
Best regards,

Chris.
www.aboservice.be

Koverhage
Posts: 151
Joined: Mon Feb 01, 2010 8:45 am

Re: DCGET COMBO on Win 7

#10 Post by Koverhage »

Hi Roger,

i have the same problem.

Sample Group 2 you use the POPUP clause an biuild your own screen.

See Array edit in Group 2 (Xsample_49) or group 6 Scoped Drop down.

Hi Chris,

this does not work here.
Klaus

Post Reply