Por qué el oDLG cambia de color?

Por qué el oDLG cambia de color?

Postby Armando » Sat Nov 30, 2024 2:12 am

Amigos foreros:

La pregunta es esa, Por qué el color de fondo y texto de los folders contenidos en un dialogo
cambian de color?, me explico con las siguientes imágenes:

En esta primera imagen los folders se muestran sin color de fondo (default) y es correcto
pues no les estoy definiendo color alguno.

Image

Después de dejar "dormida" mi PC por un tiempo largo (Media hora o más) el color
de fondo y texto de los folders cambian de color, toman el color del dialogo que los
contiene.

Image

Es un caso para la araña !

Saludos
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3242
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Por qué el oDLG cambia de color?

Postby karinha » Sat Nov 30, 2024 4:19 pm

probablemente porque no definiste un color para los controles y las ventanas se suponen generales. Muestra el código que es más fácil de modificar para que quede perfecto. Fivewin es simplemente FANTÁSTICO.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7872
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Por qué el oDLG cambia de color?

Postby nageswaragunupudi » Sun Dec 01, 2024 4:08 am

In this first image the folders are shown without a background color (default) and it is correct
because I am not defining any color for them. After leaving my PC "asleep" for a long time (half an hour or more) the background and text colors of the folders change color, they take the color of the dialog that contains them . It is a case for the spider! Greetings


Surprising.
I need to test it overnight.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10690
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Por qué el oDLG cambia de color?

Postby Armando » Sun Dec 01, 2024 4:40 pm

Mr. Rao:

Please, if you need anything else, let me know

greetings
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3242
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Por qué el oDLG cambia de color?

Postby Armando » Sat Dec 14, 2024 6:36 pm

Up
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3242
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Por qué el oDLG cambia de color?

Postby Antonio Linares » Sat Dec 14, 2024 6:51 pm

Armando,

Usas algún TIMER en la aplicación ?

Puede ser que se estén agotando los recursos en la aplicación. Usa SetResDebug( .T. ) al comienzo de tu aplicación
y CheckRes() antes de salir de la aplicación y se genera un fichero checkres.txt

Copia aqui el contenido de checkres.txt, gracias
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Por qué el oDLG cambia de color?

Postby karinha » Sat Dec 14, 2024 7:31 pm

Armando, ¿puedes hacer un DEMO demostrando el problema? Llevo AÑOS usando RECURSOS y no tengo este efecto secundario. ¿En qué versión de FiveWin está sucediendo esto?

Gracias,

Regards, saludos
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7872
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Por qué el oDLG cambia de color?

Postby Armando » Sat Dec 14, 2024 11:50 pm

Master Antonio:

Este es el contenido de CheckRes.Txt

Code: Select all  Expand view  RUN

14/12/2024 17:46:32: D:\Sirse30\Sirse30.Exe -- BMP,-570093934,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(215)->MAIN(158)
   
14/12/2024 17:46:32: D:\Sirse30\Sirse30.Exe -- BMP,453317101,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(220)->MAIN(158)
   
14/12/2024 17:46:32: D:\Sirse30\Sirse30.Exe -- BMP,-33222578,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(225)->MAIN(158)
   
14/12/2024 17:46:32: D:\Sirse30\Sirse30.Exe -- BMP,1090850343,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(266)->MAIN(158)
   
14/12/2024 17:46:32: D:\Sirse30\Sirse30.Exe -- BMP,251990033,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(277)->MAIN(158)
   
14/12/2024 17:46:32: D:\Sirse30\Sirse30.Exe -- BMP,1174736286,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(283)->MAIN(158)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-301657948,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(367)->MAIN(158)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-838529548,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(372)->MAIN(158)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-100331320,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(377)->MAIN(158)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,1409618529,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(383)->MAIN(158)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-1610282077,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(388)->MAIN(158)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,1258623205,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(394)->MAIN(158)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,553980494,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(399)->MAIN(158)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,1225066575,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(404)->MAIN(158)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-788196856,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(410)->MAIN(158)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-1174074071,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(415)->MAIN(158)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,1812271508,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(421)->MAIN(158)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-351989856,TMENUITEM:NEW(470)->MENUADDITEM(380)->HAZMENU(427)->MAIN(158)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- FONT,67766313,TMDIFRAME:GETFONT(3129)->TMDICLIENT:GETFONT(3106)->TMDICLIENT:NEW(147)->TMDIFRAME:NEW(181)->MAIN(158)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BRUSH,-871362216,TMSGBAR:SETCOLOR(2904)->TMSGBAR:DEFAULT(292)->TMSGBAR:NEW(183)->MAIN(160)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,1124405330,TMDIFRAME:DRAWITEM(1265)->TMDIFRAME:HANDLEEVENT(0)->_FWH(3693)->SHOWWINDOW(0)->TMDIFRAME:ACTIVATE(1094)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-1073412436,TMSGBAR:PAINT(653)->(b)TMSGBAR(72)->TMSGBAR:DISPLAY(0)->TMSGBAR:HANDLEEVENT(1823)->_FWH(3693)->UPDATEWINDOW(0)->TMDIFRAME:ACTIVATE(1095)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BRUSH,-1357901224,TBAR:SETCOLOR(2904)->TBAR:SETGRADIENTS(269)->TBAR:NEW(186)->LABARRA(529)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-49999279,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(543)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,1208290985,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(550)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-301657861,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(557)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,923078749,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(567)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,889524267,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(574)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,1426395794,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(584)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,1057296597,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(591)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-2012934955,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(598)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,1208290805,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(605)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-955969209,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(612)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,1443172058,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(619)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-670756749,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(626)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,637865975,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(633)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-570094001,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(640)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,251989948,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(647)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-1090187741,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(654)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,-1442508697,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(661)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- BMP,1711608410,(b)TWINDOW(604)->TBTNBMP:READIMAGE(0)->TBTNBMP:SETIMAGES(1219)->TBTNBMP:LOADBITMAPS(1247)->TBTNBMP:NEWBAR(589)->LABARRA(670)->(b)MAIN(178)->TMDIFRAME:ACTIVATE(1104)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- ICON,8260005,EDITAR(808)->(b)SIRSE01A(351)->TBTNBMP:CLICK(792)->TBTNBMP:LBUTTONUP(1083)->TCONTROL:HANDLEEVENT(1847)->TBTNBMP:HANDLEEVENT(2135)->_FWH(3693)->WINRUN(0)->TMDIFRAME:ACTIVATE(1118)->MAIN(178)
   
14/12/2024 17:46:34: D:\Sirse30\Sirse30.Exe -- ==================================================================================================== 
 


Saludos
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3242
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Por qué el oDLG cambia de color?

Postby Armando » Sat Dec 14, 2024 11:51 pm

Karinha:

Tengo la versión 2307 con Harbour

Lo siento, debido a que no encontré solución opté por eliminar el Folder y deje todo dentro de un dialogo.

Saludos
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3242
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 86 guests