Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GenRepoX error
Message
From
06/08/1999 19:27:14
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
00247197
Message ID:
00250973
Views:
21
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform