This would drive me crazy too.
Show me the code for that window.
dcgetoptions ... SCALEFACTOR and TABpages
Re: dcgetoptions ... SCALEFACTOR and TABpages
The eXpress train is coming - and it has more cars.
Re: dcgetoptions ... SCALEFACTOR and TABpages
I don't know where you put the WTF, but xsample_144 does not have scaling.I would expect that the xsample_144 should also pass by the same function in _dcgetbx.prg?
The eXpress train is coming - and it has more cars.
Re: dcgetoptions ... SCALEFACTOR and TABpages
Hi Roger,
I did put the WTF in _dcgetbx.prg on line 2988. And I added a scalefactor to sample144.
Meanwhile I succeeded to modify the sample 144 to create the same problem. Now you can get crazy.
In attachment xsample5.prg with the modification. It is something in the dcgetoptions which I have as default. If you click on the button 'klantzoek20' in the sample, you will get that window.
I did put the WTF in _dcgetbx.prg on line 2988. And I added a scalefactor to sample144.
Meanwhile I succeeded to modify the sample 144 to create the same problem. Now you can get crazy.
In attachment xsample5.prg with the modification. It is something in the dcgetoptions which I have as default. If you click on the button 'klantzoek20' in the sample, you will get that window.
- Attachments
-
- Xsample5.zip
- (14.18 KiB) Downloaded 685 times
Re: dcgetoptions ... SCALEFACTOR and TABpages
Hi,
The problem with the screen is found. When there is a windowheight and windowwidth in the getoptionsdefault, this gives a problem as below. I deleted these two parameters in the default getoption, and the problem went away.
Now the problem with the growing font on the tabpages still remains.
The problem with the screen is found. When there is a windowheight and windowwidth in the getoptionsdefault, this gives a problem as below. I deleted these two parameters in the default getoption, and the problem went away.
Now the problem with the growing font on the tabpages still remains.
Re: dcgetoptions ... SCALEFACTOR and TABpages
Hi Roger,
I found the cause of the problem with the growing font. This is my code as posted previously:
Tabpage 1 has a FONT clause. If I remove this clause, the problem is solved. I have to do this in some places in my code, but this is no big deal.
I found the cause of the problem with the growing font. This is my code as posted previously:
Code: Select all
// TABPAGE 1 //
@ 0.1,0.1 DCTABPAGE aTabPages[1] TABWIDTH 17 CAPTION "~1. "+fMessage(2100) ;
SIZE 92 , 18 ACCELKEY xbeK_ALT_1 FONT amain(9,5) ;
GOTFOCUS {|a,b,oTab| oTab:tofront(), BuildGets(aTabPages,1,GetList,aBuildGets,aApp,oDialog) } ;
PARENT oDlg ANGLE 20 color amain(15,13)
// TABPAGE 2 //
@ 0,0 DCTABPAGE aTabPages[2] CAPTION "~2. "+fMessage(2200) ;
relative aTabPages[1] ACCELKEY xbeK_ALT_2 ;
GOTFOCUS {|a,b,oTab| oTab:tofront(), BuildGets(aTabpages,2,GetList,aBuildgets,aApp,oDialog) } ;
PARENT oDlg when {|| frights("ABCDFH") } color amain(15,13)
// TABPAGE 3 //
@ 0,0 DCTABPAGE aTabPages[3] CAPTION "~3. "+fMessage(2300) ;
relative aTabPages[2] ACCELKEY xbeK_ALT_3 ;
GOTFOCUS {|a,b,oTab| oTab:tofront(), BuildGets(aTabpages,3,GetList,aBuildgets,aApp,oDialog) } ;
PARENT oDlg when {|| frights("ABCDFH") } color amain(15,13)
Re: dcgetoptions ... SCALEFACTOR and TABpages
Now that I know what causes the problem, I can probably fix it. Thanks.Tabpage 1 has a FONT clause. If I remove this clause, the problem is solved.
The eXpress train is coming - and it has more cars.
Re: dcgetoptions ... SCALEFACTOR and TABpages
Here is the fix:
Copy _DCGETBX.PRG to your ..\source\dclipx folder and run BUILD19_SL1.BAT or BUILD20.BAT to build DCLIPX.DLL.
Copy _DCGETBX.PRG to your ..\source\dclipx folder and run BUILD19_SL1.BAT or BUILD20.BAT to build DCLIPX.DLL.
- Attachments
-
- _dcgetbx.zip
- (87.02 KiB) Downloaded 713 times
The eXpress train is coming - and it has more cars.
Re: dcgetoptions ... SCALEFACTOR and TABpages
Hi Roger,
Problem is solved. Thanks for the support.
Problem is solved. Thanks for the support.