mol wrote:I've found and error in hmg 3.2 / hmg 3.1.5.
Scenario:
1. Define Main window
2. Define modal window with panel window
3. All controls of panel windows are active
4. Print something from modal window with screen preview
5. Controls in panel window become unusable
What's going on?
What I know, Printer Preview had 4 windows: one for proper Preview, one for Buttons (Next page... Zoom... etc.), one for ThumbNails and one of simulates a WaitWindow.
So the print preview, in order to work MUST disable all previous windows that have been declared as MODAL. Why this ? Because, print view windows couldn't open if a previous modal windows is already open. So, it was implemented a technic to disable these previous windows as modal (see DisableWindow ModalHandle at h_controlmisc.prg). Your example Marek is a tipical case.
So, any way is evident we should correct something, to turn on back modals windows again. I supose this bug is really very old question.
I am speaking all about this, because I had cutted off one of window of print preview (the buttons ones). So from next release will have one window less in print preview.
Read about this
message.
I also have implemented languages (according SET LANGUAGE TO..) into preview buttons.
I will try to look up about and see what can be done.