Information générale
Catégorie:
Produits tierce partie
>>This caused similar problems to those you were experiencing. Try searching
>>for and making the following changes in genrepox.prg
>>
>>*&& CHANGES MADE BY WES TATTERS
>>*&& IF lcGRXRepName = "'" && OLD LINE
>>IF SUBSTR( lcGRXRepName , 1 , 1 ) = "'"
>> ** The name may be within ' '
>
>Thanks for the hint.
Pleasure ... there are some other patches mainly in the class objects.
creportx breaks some of the hooks you built in creport. For example:
>>
** We raise an event, before we print
IF NOT THIS.BeforeReportExecute()
RETURN .F.
ENDIF
which is in creport gets clobbered in creportx.
>>
in the preview tool bar cmdexit fires a KEYB "{ESC}"
This can be a little problematic in systems that capture ESC
Something along the lines of the following works better.
IF WEXIST( THIS.parent.oreport.previewwindow )
RELEASE WINDOW ( THIS.parent.oreport.previewwindow )
ENDIF
IF WEXIST( THIS.parent.oreport.previewtitle )
RELEASE WINDOW (THIS.parent.oreport.previewtitle)
ENDIF
>>>
Have also made change to the way that the print dialog fires ...
If you set it so that the dialog fire before the command is built up
you can then allow properties to be changed in the dialog box ...
by subclassing it.
Would you like to see a copy of the changes ?
Wes
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement