Alaska Software Inc. - size crt windows
Username: Password:
AuthorTopic: size crt windows
Hector Pezoasize crt windows
on Fri, 28 Feb 2014 21:27:05 -0300
I have a GUI application where a i create the CRT window like this

 Public oCrt
oCrt := XbpCrt():New()
oCrt:FontName   := 'Lucida Console'
oCrt:FontHeight := 16
oCrt:FontWidth  := 10
oCrt:Create( SetAppWindow(),, { 100, 100 }, 26, 90, 'Prueba', .T. )

somewhere in the program , I change the window size by changing the number 
of rows and columns using the method :Configure()

in Windows XP to run this method the window is resized, content disappears 
and the window is transparent and can see the wallpaper, but remains active 
window border

I need them to give me feedback to help me solve this problem,

thank you very much

Hector
Andreas Gehrs-Pahl
Re: size crt windows
on Sat, 01 Mar 2014 18:47:33 -0500
Hector,

What is the actual source code that you use to reconfigure your XbpCrt 
object? You might not use the correct oParent value or something similar. 
Can you show us some compilable code?

I don't use XbpCrt objects in my GUI apps, but I did a quick test using the 
sample code in the "...\XppW32\Source\Samples\Basics\XbpStyle\CrtStyle.prg" 
file, and it worked just fine for me on Windows XP as well as Windows 7, 
using Xbase++ 1.90.355 (with all hot fixes).

I have attached the modified program, but the attachment might be corrupt, 
as I had lately some issues with sending attachments.

Andreas

Andreas Gehrs-Pahl
Absolute Software, LLC

phone: (989) 723-9927
email: Andreas.GP@Charter.net
web:   http://www.Aerospace-History.net

CrtStyle.prg
Hector PezoaRe: size crt windows
on Sun, 02 Mar 2014 22:00:28 -0300
Hi Andreas
to show some data I reconfigure the size 28 x 90
using the method M-> OCRT: Configure (,, aPos, 28, 90) and this is where the 
problem occurs in exceptional cases and the funny thing is the visual effect 
where the background becomes transparent and box remains active

in this procedure if I press the escape key, confirmbox () displays 
perfectly, but no output crt
and..., if a excecute M->oCrt:Configure( ,, aPos, 26, 90 ) again, the 
background continue transparent
Only two pc windows xp mistake happens, no problem with win7 or win8

Thank you very much

Best Regard
Hector



<Andreas Gehrs-Pahl> escribi en el mensaje 
news:1hnb6d8xcoqgm.uy8qfle4x8am.dlg@40tude.net...
> Hector,
>
> What is the actual source code that you use to reconfigure your XbpCrt
> object? You might not use the correct oParent value or something similar.
> Can you show us some compilable code?
>
> I don't use XbpCrt objects in my GUI apps, but I did a quick test using 
> the
> sample code in the 
> "...\XppW32\Source\Samples\Basics\XbpStyle\CrtStyle.prg"
> file, and it worked just fine for me on Windows XP as well as Windows 7,
> using Xbase++ 1.90.355 (with all hot fixes).
>
> I have attached the modified program, but the attachment might be corrupt,
> as I had lately some issues with sending attachments.
>
> Andreas
> -- 
> Andreas Gehrs-Pahl
> Absolute Software, LLC
>
> phone: (989) 723-9927
> email: Andreas.GP@Charter.net
> web:   http://www.Aerospace-History.net