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
DCGROUP under Windows 10
Re: DCGROUP under Windows 10
Put this at the beginning of your program and see if it works:
DC_GroupBoxFix(.t.)
DC_GroupBoxFix(.t.)
The eXpress train is coming - and it has more cars.
-
- Posts: 38
- Joined: Mon Feb 15, 2010 4:01 am
Re: DCGROUP under Windows 10
This function doesn't change something.
Dieter
Dieter
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: DCGROUP under Windows 10
Are you using Xbase 2.0. If so, is it a recent update, like April 2016 and later.
Cliff
Cliff
-
- Posts: 38
- Joined: Mon Feb 15, 2010 4:01 am
Re: DCGROUP under Windows 10
I use xbase++ 1.90.331 and eXPress++ 2.0.264
Dieter
Dieter
-
- Posts: 38
- Joined: Mon Feb 15, 2010 4:01 am
Re: DCGROUP under Windows 10
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
***
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
***
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: DCGROUP under Windows 10
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.