ورود

View Full Version : مشکل Report Preview شخصی



abdorreza
شنبه 18 خرداد 1387, 04:12 صبح
من دارم یک Report Preview شخصی درست میکنم. مشکلی که دارم اینه که وقتی چیزی روی فرم نوشته میشه و یا گزارش را به پرینتر میفرستم ، Shape ی که گزارش توش ظاهر میشه سفید میشه و در این حالت باید به صفحه ی بعد یا قبل برم تا مشکل حل بشه. کسی از دوستان میدونه مشکل کار من کجاست؟!

ممنون.

abdorreza
یک شنبه 19 خرداد 1387, 17:21 عصر
عجیبه ! از دوستان کسی نمیدونه ؟

rezaTavak
دوشنبه 20 خرداد 1387, 07:25 صبح
مشکل ظاهرا مربوط به خود فاکس است.

binyaz2003
دوشنبه 20 خرداد 1387, 11:51 صبح
* This is necessary because when the form is redrawn (such as during a resize),
* the container is redrawn and therefore the preview is lost. We also need to
* wrap this in a TRY because it could be that the form is being painted before
* the listener has finished rendering the first page.

with This
if vartype(.oListener) = 'O'
try
.oListener.OutputPage(.nCurrentPage, .oPreviewContainer, ;
LISTENER_DEVICE_TYPE_CTL)
catch
endtry
endif vartype(.oListener) = 'O'
endwith