Error WINDOWHEIG WindowWidth DCGETOPTIONS 880 710 NOMAXBUTTO
Error WINDOWHEIG WindowWidth DCGETOPTIONS 880 710 NOMAXBUTTO
Hi Roger
I have problem with my system, when using
HT WINDOWHEIG WindowWidth DCGETOPTIONS 880 710 NOMAXBUTTO NOMAXBUTTON
If mimizan when Maximo System generates this error I blink a lot and also
Nolberto Paulino
Hola Roger
Tengo Problema con mi sistema, cuando uso
DCGETOPTIONS WINDOWWIDTH 880 WINDOWHEIGHT 710 NOMAXBUTTON
Si mimizo el Sistema cuando lo Maximoso me genera este error y ademas Palpade mucho
Nolberto Paulino
I have problem with my system, when using
HT WINDOWHEIG WindowWidth DCGETOPTIONS 880 710 NOMAXBUTTO NOMAXBUTTON
If mimizan when Maximo System generates this error I blink a lot and also
Nolberto Paulino
Hola Roger
Tengo Problema con mi sistema, cuando uso
DCGETOPTIONS WINDOWWIDTH 880 WINDOWHEIGHT 710 NOMAXBUTTON
Si mimizo el Sistema cuando lo Maximoso me genera este error y ademas Palpade mucho
Nolberto Paulino
- Attachments
-
- Bitmap
- Error Express.JPG (181.04 KiB) Viewed 16272 times
Nolberto Paulino
Regards
Regards
Re: Error WINDOWHEIG WindowWidth DCGETOPTIONS 880 710 NOMAXBUTTO
Hi, Nolberto.
You don't have a problem with the size settings, but there is a lost workarea reference (alias) inside the to-be-resized-dialog. Refreshing the dialog (after resize) rereads the values of the dialog elements. And at least one of those points to a workarea which is not available anymore. You maybe close the workarea somewhere (in DCREAD .. EVAL?).
You don't have a problem with the size settings, but there is a lost workarea reference (alias) inside the to-be-resized-dialog. Refreshing the dialog (after resize) rereads the values of the dialog elements. And at least one of those points to a workarea which is not available anymore. You maybe close the workarea somewhere (in DCREAD .. EVAL?).
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: Error WINDOWHEIG WindowWidth DCGETOPTIONS 880 710 NOMAXBUTTO
Thanks Tom for your help
I do not close the work area, only minimizes the system and restore it when I get that problem.
It seems that are closing in work areas but that only happens with dcbrowse.
but if you use EVAL {| o | o: setFrameState (XBPDLG_FRAMESTAT_MAXIMIZED)), that does not give the error.
I do not close the work area, only minimizes the system and restore it when I get that problem.
It seems that are closing in work areas but that only happens with dcbrowse.
but if you use EVAL {| o | o: setFrameState (XBPDLG_FRAMESTAT_MAXIMIZED)), that does not give the error.
Nolberto Paulino
Regards
Regards
Re: Error WINDOWHEIG WindowWidth DCGETOPTIONS 880 710 NOMAXBUTTO
This does not make any sense to me. Your error window shows that DC_AutoResize() is being called. This would mean that you must also have an AUTORESIZE clause in your DCGETOPTIONS command, but you do not show this. Are you using DC_GetOptDefault() ?
Which particular clause of DCGETOPTIONS is causing the problem?
Which particular clause of DCGETOPTIONS is causing the problem?
The eXpress train is coming - and it has more cars.
Re: Error WINDOWHEIG WindowWidth DCGETOPTIONS 880 710 NOMAXBUTTO
Roger if I am using
DCGETOPTIONS TOOLTIPCOLOR GRA_CLR_BLACK, XBPSYSCLR_INFOBACKGROUND ;
NOESCAPEKEY ; &&& AUTOWINDOWMENU ; CHECKGET ;
COLORGETS {{GRA_CLR_BLACK,GRA_CLR_YELLOW},{GRA_CLR_BLUE,GRA_CLR_WHITE}} ;
ICON ICON_PV ;
HILITEGETS GRA_CLR_RED ;
NOSUPERVISE ;
MESSAGEINTO oMsgBox ;
TOOLTIPFONT '08.Arial Bold' ;
AUTORESIZE ;
CONFIRM
** AUTORESIZE
** DISABLEDCOLOR GRA_CLR_WHITE ; XBPSYSCLR_TRANSPARENT
** DISABLEDCOLOR { 50,0,0 } ;
DC_GetOptDefault( GetOptions )
DCGETOPTIONS BITMAP cFondoEmpresa ;
TOOLTIPCOLOR GRA_CLR_BLACK, XBPSYSCLR_INFOBACKGROUND ;
NOESCAPEKEY ;
CHECKGET ;
COLORGETS {{GRA_CLR_BLACK,GRA_CLR_YELLOW},{GRA_CLR_BLUE,GRA_CLR_WHITE}} ;
ICON ICON_PV ;
HILITEGETS GRA_CLR_RED ;
WINDOWHEIGHT nHeight ;
WINDOWWIDTH nWidth ;
MESSAGEINTO oMsgBox ;
TOOLTIPFONT '08.Arial Bold' ;
SCROLLBARS XBP_SCROLLBAR_VERT+XBP_SCROLLBAR_HORIZ ;
AUTORESIZE ;
ABORTQUERY MSG {||DC_WinAlert("Esta Seguro de Salir del Sistema "+NSD_TituloPrograma( cTipoMenuActivo )+" Fácil e Integrada","Atención",XBPMB_YESNO,XBPMB_WARNING,,oDlg) = XBPMB_RET_YES } ;
CLOSEQUERY MSG {||DC_WinAlert("Esta Seguro de Salir del Sistema "+NSD_TituloPrograma( cTipoMenuActivo )+" Fácil e Integrada","Atención",XBPMB_YESNO,XBPMB_WARNING,,oDlg) = XBPMB_RET_YES }
** MAXSIZE 1036,780
DCREAD GUI ;
TITLE NSD_TituloPrograma( cTipoMenuActivo )+" Fácil e Integrada" ;
PARENT @oDlg ;
OPTIONS GetOptions ;
SETAPPWINDOW ;
CLEAREVENTS ;
EVAL {|o|o:setFrameState( XBPDLG_FRAMESTAT_MAXIMIZED ), SetTimerEvent(100,{||_UpdateStats(GetList,oUserStatic)}), ;
MarcarDesMarcarPrinter( oMenuPrinter, aPos[1], "1" ), ;
MarcarDesMarcarPrinter( oTipoPapel , aPos[2], "2" ), ;
ChangeBitmap( @oDlg:drawingArea ),;
oThreadTPV:Animation( @oTpvStatic, {LED_ON,LED_OFF} ),;
oThreadTPV:Receive( ),;
aGetListMenu := GetList,;
SetAppFocus(o) }
DCGETOPTIONS TOOLTIPCOLOR GRA_CLR_BLACK, XBPSYSCLR_INFOBACKGROUND ;
NOESCAPEKEY ; &&& AUTOWINDOWMENU ; CHECKGET ;
COLORGETS {{GRA_CLR_BLACK,GRA_CLR_YELLOW},{GRA_CLR_BLUE,GRA_CLR_WHITE}} ;
ICON ICON_PV ;
HILITEGETS GRA_CLR_RED ;
NOSUPERVISE ;
MESSAGEINTO oMsgBox ;
TOOLTIPFONT '08.Arial Bold' ;
AUTORESIZE ;
CONFIRM
** AUTORESIZE
** DISABLEDCOLOR GRA_CLR_WHITE ; XBPSYSCLR_TRANSPARENT
** DISABLEDCOLOR { 50,0,0 } ;
DC_GetOptDefault( GetOptions )
DCGETOPTIONS BITMAP cFondoEmpresa ;
TOOLTIPCOLOR GRA_CLR_BLACK, XBPSYSCLR_INFOBACKGROUND ;
NOESCAPEKEY ;
CHECKGET ;
COLORGETS {{GRA_CLR_BLACK,GRA_CLR_YELLOW},{GRA_CLR_BLUE,GRA_CLR_WHITE}} ;
ICON ICON_PV ;
HILITEGETS GRA_CLR_RED ;
WINDOWHEIGHT nHeight ;
WINDOWWIDTH nWidth ;
MESSAGEINTO oMsgBox ;
TOOLTIPFONT '08.Arial Bold' ;
SCROLLBARS XBP_SCROLLBAR_VERT+XBP_SCROLLBAR_HORIZ ;
AUTORESIZE ;
ABORTQUERY MSG {||DC_WinAlert("Esta Seguro de Salir del Sistema "+NSD_TituloPrograma( cTipoMenuActivo )+" Fácil e Integrada","Atención",XBPMB_YESNO,XBPMB_WARNING,,oDlg) = XBPMB_RET_YES } ;
CLOSEQUERY MSG {||DC_WinAlert("Esta Seguro de Salir del Sistema "+NSD_TituloPrograma( cTipoMenuActivo )+" Fácil e Integrada","Atención",XBPMB_YESNO,XBPMB_WARNING,,oDlg) = XBPMB_RET_YES }
** MAXSIZE 1036,780
DCREAD GUI ;
TITLE NSD_TituloPrograma( cTipoMenuActivo )+" Fácil e Integrada" ;
PARENT @oDlg ;
OPTIONS GetOptions ;
SETAPPWINDOW ;
CLEAREVENTS ;
EVAL {|o|o:setFrameState( XBPDLG_FRAMESTAT_MAXIMIZED ), SetTimerEvent(100,{||_UpdateStats(GetList,oUserStatic)}), ;
MarcarDesMarcarPrinter( oMenuPrinter, aPos[1], "1" ), ;
MarcarDesMarcarPrinter( oTipoPapel , aPos[2], "2" ), ;
ChangeBitmap( @oDlg:drawingArea ),;
oThreadTPV:Animation( @oTpvStatic, {LED_ON,LED_OFF} ),;
oThreadTPV:Receive( ),;
aGetListMenu := GetList,;
SetAppFocus(o) }
Nolberto Paulino
Regards
Regards
Re: Error WINDOWHEIG WindowWidth DCGETOPTIONS 880 710 NOMAXBUTTO
There is a possibility that DC_AutoResize() is getting called from another thread, but I would not know why.
click on the "Dot" button from the error window.
This should bring up DC_Dot() and will display the thread number in the title bar.
It should display Thread 1.
click on the "Dot" button from the error window.
This should bring up DC_Dot() and will display the thread number in the title bar.
It should display Thread 1.
The eXpress train is coming - and it has more cars.
Re: Error WINDOWHEIG WindowWidth DCGETOPTIONS 880 710 NOMAXBUTTO
The Dot does not have anything in the Workareas is as if someone gave you close the dbf, or is it possible that another thread
- Attachments
-
- Ejemplo
- Error Express 2.JPG (143.11 KiB) Viewed 16231 times
Nolberto Paulino
Regards
Regards
Re: Error WINDOWHEIG WindowWidth DCGETOPTIONS 880 710 NOMAXBUTTO
Ok, I can see that it is not a thread problem. It appears that you have a browse window that is being resized and it has lost the connection to the alias because that database has been closed. Do you have a hidden window or a window that was not destroyed properly?
What have you added to your code to make this start happening?
What have you added to your code to make this start happening?
The eXpress train is coming - and it has more cars.
Re: Error WINDOWHEIG WindowWidth DCGETOPTIONS 880 710 NOMAXBUTTO
Ok, Roger
I'm just changing the size of the Main Menu window, and the choice of products just call it with this
function
PROCEDURE LaunchPad(cFunc,a,b,c,e,f)
local oThread:= Thread():New():Start(cFunc,a,b,c,e,f)
return
After loading the product option to give him of Minimize button that has the main menu screen, when maximizing the system generates a series of blink and then
generates the error.
I'm just changing the size of the Main Menu window, and the choice of products just call it with this
function
PROCEDURE LaunchPad(cFunc,a,b,c,e,f)
local oThread:= Thread():New():Start(cFunc,a,b,c,e,f)
return
After loading the product option to give him of Minimize button that has the main menu screen, when maximizing the system generates a series of blink and then
generates the error.
Nolberto Paulino
Regards
Regards
Re: Error WINDOWHEIG WindowWidth DCGETOPTIONS 880 710 NOMAXBUTTO
Ok, so this DOES have something to do with another thread.
It appears that the main thread is trying to resize a window in another thread.
Try DCGETOPTIONS NOAUTORESIZE in the other thread.
It appears that the main thread is trying to resize a window in another thread.
Try DCGETOPTIONS NOAUTORESIZE in the other thread.
The eXpress train is coming - and it has more cars.