Page 1 of 1
					
				DCGROUP under Windows 10
				Posted: Sun Aug 21, 2016 5:48 am
				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
			 
			
					
				Re: DCGROUP under Windows 10
				Posted: Sun Aug 21, 2016 7:11 am
				by rdonnay
				Put this at the beginning of your program and see if it works:
DC_GroupBoxFix(.t.)
			 
			
					
				Re: DCGROUP under Windows 10
				Posted: Sun Aug 21, 2016 7:38 am
				by D. Schuster
				This function doesn't change something.
Dieter
			 
			
					
				Re: DCGROUP under Windows 10
				Posted: Sun Aug 21, 2016 10:42 am
				by Cliff Wiernik
				Are you using Xbase 2.0.  If so, is it a recent update, like April 2016 and later.
Cliff
			 
			
					
				Re: DCGROUP under Windows 10
				Posted: Mon Aug 22, 2016 4:52 am
				by D. Schuster
				I use xbase++ 1.90.331 and eXPress++ 2.0.264
Dieter
			 
			
					
				Re: DCGROUP under Windows 10
				Posted: Thu Aug 25, 2016 5:17 am
				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
***
			 
			
					
				Re: DCGROUP under Windows 10
				Posted: Thu Aug 25, 2016 6:57 am
				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 (55.56 KiB) Viewed 16857 times