error when I minimize a window and then maximized
error when I minimize a window and then maximized
Hi Roger
I have this error when I minimize a window and then maximized
having a browse with database
Paulino Nolberto
Regards
I have this error when I minimize a window and then maximized
having a browse with database
Paulino Nolberto
Regards
- Attachments
-
- Error eXpress.JPG (176.71 KiB) Viewed 15819 times
Nolberto Paulino
Regards
Regards
Re: error when I minimize a window and then maximized
I see that the error states that the alias does not exist as though the database has been closed.
Click on DOT in the error window to open a dot prompt and then observe if the database has been closed.
Click on DOT in the error window to open a dot prompt and then observe if the database has been closed.
The eXpress train is coming - and it has more cars.
Re: error when I minimize a window and then maximized
Hi Roger
Not because the database are closing, if I give the error will break the database and re-run
Not because the database are closing, if I give the error will break the database and re-run
- Attachments
-
- eXpress.JPG (132.45 KiB) Viewed 15814 times
Nolberto Paulino
Regards
Regards
Re: error when I minimize a window and then maximized
Hi Roger
Look at these two screen that send
Screen 1 has a Thread: 5 and presents all dbf and Screen 2 maximized when I minimize and then switches to Thread: 1 and does not have the dbf
Thread is like change at some point
Paulino Nolberto
Regards
Look at these two screen that send
Screen 1 has a Thread: 5 and presents all dbf and Screen 2 maximized when I minimize and then switches to Thread: 1 and does not have the dbf
Thread is like change at some point
Paulino Nolberto
Regards
- Attachments
-
- eXpress.JPG (125.33 KiB) Viewed 15795 times
Nolberto Paulino
Regards
Regards
Re: error when I minimize a window and then maximized
This appears to be a problem with threads.
It looks like your window and databases are opened in thread 5 but when your window is minimized and then normalized again, the thread is now thread 1.
Is there a sample program you can give me that displays this behavior?
I will need to be able to compile and run.
It looks like your window and databases are opened in thread 5 but when your window is minimized and then normalized again, the thread is now thread 1.
Is there a sample program you can give me that displays this behavior?
I will need to be able to compile and run.
The eXpress train is coming - and it has more cars.
Re: error when I minimize a window and then maximized
Hi Roger
The difference is when I put the bitmap in the bottom of the screen, I think that's what creates the problem.
Paulino Nolberto
Kind regards.
The difference is when I put the bitmap in the bottom of the screen, I think that's what creates the problem.
Paulino Nolberto
Kind regards.
Nolberto Paulino
Regards
Regards
Re: error when I minimize a window and then maximized
Hi Roger
The problem is this creating this function to change the Bitmap
the bottom of the screen
STATIC FUNCTION ChangeBitmap (oDlg)
DC_PointerWait ()
if VALTYPE (oDlg) = "O"
oDlg: options: = XBP_IMAGE_SCALED
oDlg: SizeRedraw: =. T.
oDlg: bitmap: = DC_GetBitmap (cFondoEmpresa)
oDlg: configure (): InvalidateRect ()
End If
DC_PointerArrow
return ()
I can have another solution?
Paulino Nolberto
Regards
The problem is this creating this function to change the Bitmap
the bottom of the screen
STATIC FUNCTION ChangeBitmap (oDlg)
DC_PointerWait ()
if VALTYPE (oDlg) = "O"
oDlg: options: = XBP_IMAGE_SCALED
oDlg: SizeRedraw: =. T.
oDlg: bitmap: = DC_GetBitmap (cFondoEmpresa)
oDlg: configure (): InvalidateRect ()
End If
DC_PointerArrow
return ()
I can have another solution?
Paulino Nolberto
Regards
Nolberto Paulino
Regards
Regards
Re: error when I minimize a window and then maximized
My guess is that the problem is related to oDlg:configure().
There may be no solution.
Why are you changing the bitmap?
Also, what is the class name of oDlg? It is not an XbpDialog class. Is it a ::DrawingArea ?
There is no :bitmap iVar in the XbpDialog class. I am assuming that it is the drawingArea which is an XbpIWindow class.
There may be no solution.
Why are you changing the bitmap?
Also, what is the class name of oDlg? It is not an XbpDialog class. Is it a ::DrawingArea ?
There is no :bitmap iVar in the XbpDialog class. I am assuming that it is the drawingArea which is an XbpIWindow class.
The eXpress train is coming - and it has more cars.
Re: error when I minimize a window and then maximized
Why are you changing the bitmap?
the name of oDlg is: DrawingArea
and I just want to paint on a Bitmap screen
the name of oDlg is: DrawingArea
and I just want to paint on a Bitmap screen
Nolberto Paulino
Regards
Regards
Re: error when I minimize a window and then maximized
If you remove the :configure(), does the error go away?
The eXpress train is coming - and it has more cars.