DCGROUP under Windows 10

This forum is for eXpress++ general support.
Post Reply
Message
Author
D. Schuster
Posts: 38
Joined: Mon Feb 15, 2010 4:01 am

DCGROUP under Windows 10

#1 Post by D. Schuster »

Hello,
I'm testing my programs under Windows 10 and found that effect:
by using function DCGROUP the text of CAPTION is crossed through
by the frame line.
As an example see XDEMO->Samples->Group 1 ->TabStops (Xsample_21)
and Windows 10.
Here doesn't work the use of the TAB-key as well.
Is known a solution to avoid that effect?
Dieter

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

Re: DCGROUP under Windows 10

#2 Post by rdonnay »

Put this at the beginning of your program and see if it works:

DC_GroupBoxFix(.t.)
The eXpress train is coming - and it has more cars.

D. Schuster
Posts: 38
Joined: Mon Feb 15, 2010 4:01 am

Re: DCGROUP under Windows 10

#3 Post by D. Schuster »

This function doesn't change something.
Dieter

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

Re: DCGROUP under Windows 10

#4 Post by Cliff Wiernik »

Are you using Xbase 2.0. If so, is it a recent update, like April 2016 and later.

Cliff

D. Schuster
Posts: 38
Joined: Mon Feb 15, 2010 4:01 am

Re: DCGROUP under Windows 10

#5 Post by D. Schuster »

I use xbase++ 1.90.331 and eXPress++ 2.0.264

Dieter

D. Schuster
Posts: 38
Joined: Mon Feb 15, 2010 4:01 am

Re: DCGROUP under Windows 10

#6 Post by D. Schuster »

Hello,
the same effect occurs with DCSTATIC .... _GROUPBOX

I couldn't solve the problem but found a way to bypass it by avoiding to define the CAPTION clause
and by adding a line with a function HL_GROUP(......). Doing so there is the advantage to define
in more detail the text of CAPTION with FONT, SIZE, COLOUR. See example.

Dieter

* Example

@ 1,74 DCGROUP oGroupLief SIZE 16, 8 FONT "9.Arial" ;
COLOR GRA_CLR_BLACK,GRA_CLR_CYAN PARENT oTADat

==> HL_GROUP(@GetList,"Status","9.Arial",@oGroupLief,0.7)


/*
Name : Headline for DCGROUP, GROUPBOX
Does :
Parameters : GetList, text for headline,Font,Object,Hight
Returns :
Notes :

Author : ds
Date Created : 25.08.2016
Time Created : 09:21:22
Last change: DS 25.08.2016 14:05:50
*/
FUNCTION HL_GROUP(GetList,cTxt,cFontX,oObjX,nHoch)
@ 0.0,2 DCSAY " "+cTxT+" " SAYFONT cFontX SAYSIZE 10,nHoch ;
SAYOPTIONS XBPSTATIC_TEXT_VCENTER ;
SAYCOLOR GRA_CLR_DARKGREEN,GRA_CLR_WHITE SIZE 0 PARENT oObjX

RETURN NIL
***

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

Re: DCGROUP under Windows 10

#7 Post by Cliff Wiernik »

I am using windows 10 and do not see the issue you report. I do see tabstop not navigating and neither does the cursor keys. Express 264, Alaska 1.9.
sample21.jpg
sample21.jpg (55.56 KiB) Viewed 13433 times

Post Reply