Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CRViewer - Far Right Navigation Button is clipped off

Status
Not open for further replies.

MrsPie

Programmer
Jul 23, 2003
20
US
I'm using the CRViewer9 within VB 6.0 to view reports. (Crystal Reports v 9.0, Service Pack 3)

On the toolbar, I have the Print button, the Zoom Control, Navigation Controls and the Search Control. If I remove the Search Control, the Navigation controls display correctly (i.e., the farthest right button is the right arrow with a bar to the right, "end of report"). When I add the Search control, it bumps into the Navigation control, clipping off the bar and making the two right hand navigation buttons the same (two right arrows).

Is there any way to control the placement of the Search Control? I can move it during runtime, but it comes back to a default position. I don't want to eliminate the Search Control.

Thanks for any help you can provide!
 
Increase the width of the form, or make it resizable by the user...

hth,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Even when I widen it there is still blank space to the right of the Search Control. The Search Control is "parked" too close to the navigation buttons.

During runtime, I automatically expand the form and viewer to fit the screen, there is plenty of room. The navigation buttons are still clipped on the right.

The problem must be the default location of the Search Control, but I can't figure out how to reposition it.


 
I can't replicate the behavior you are describing in my CrViewer9 & VB6 application.

hth,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Thanks for checking. I do have the problem on mine. (Although it is subtle - there appears to be a right line, but it's really the moving bar to move the search control to the right - during runtime, if you move the search control, you can see the small black bar appear that belongs there. You can also see the small black bar appear if you delete the Search Control. Those are the only ways to see it.)

I've tried every possible combination of buttons, but it appears that the Search Control defaults to the right of the Navigation Controls, and I can't get it to move over. I'll either accept it as a glitch, or remove the search control.

Thank you!
 
In my viewer I have the search control enabled in the toolbar and it's not causing the problem you are describing.


CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Is this an MDI application? The only way I can make that happen is if I've got a main MDI form, and my viewer form is a child of the main form. If the main form isn't maximized, the viewer form (even if maximized) will truncate certain buttons - like the record selectors - depending on the size of the main form.

-dave
 
No, it's not an MDI application. It's a basic form, with only the CRViewer9 on it. The form is maximized, the viewer is maximized, both in design mode and runtime, and the bar on the right button is clipped off (in design and in runtime).

I didn't even notice this until a user pointed it out to me, all that is missing is the bar that touches the point of the right arrow.

I don't know why this problem can't be reproduced, but since the only way I can eliminate it is to delete the Search Control, that's what I'll do.

Thanks for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top