How can I specify, at startup from config file or environment parameter, a fixed width to the display area window for search results reported by recoll ?
The dimension I am trying to control is marked up below:
Issue has been redirected to developer who, per his response, will pursue the issue.
Related
I would like to take a screenshot of an open window / app. The environment might have a multiple displays or a single display as well as the application can be a full screen or windowed.
Here are the list of things I need to be able to get it right;
Find a Window by process name, for example app.exe.
Take a full screenshot of the app.
Take a portioned screenshot. Such as only top right corner with determined width and height.
It looks like github.com/lxn/win provides some functionality but not sure what exactly I need to use to get it done as I'm not familiar with WIN API or how to use it at all (not a Win user).
I looked into github.com/kbinani/screenshot but it takes a screenshot of a desktop of given screen index. Put me in a bit of right direction but couldn't get it done.
I'd appreciate any help in that matter.
This is in Crystal Reports 2008 version 12.2.0.290
I am working on a report a previous employee created. I want to change one of the groups but the window size is too small to see the full field name and I don't see any way to resize it or to see the entire field name. Many of the groups are different only by the right most portion of the field name for example Here are groups 1-4:
SUMMARY_AGED_ACCOUNTS_RECIEVABLE_1
SUMMARY_AGED_ACCOUNTS_RECIEVABLE_2
SUMMARY_AGED_ACCOUNTS_RECIEVABLE_3
SUMMARY_AGED_ACCOUNTS_RECIEVABLE_4
Since I can't see all the way to the right it is an annoying process of trial and error.
Secondly in design and previous views the section chooser area to the left is too small and truncates the field name in a similar manner. Is there anyway to resize these portions of the program? Is there another area of the program where I can choose groups and see the entire field? You can see what I mean in the screenshot below.
When I run my report from VS10, I have to switch everytime to print-layout. Because I need to make 100+ small adjustment to my big table, I have to press the print-layout button everytime to see the result.
Is there a way, I can set it up, so I start by seeing the print-layout when running the form?
It´s an old post but found the exact answer. Setting Print-Layout instead of setting Zoom mode for the ReportViewer.
ReportViewer1.SetDisplayMode(DisplayMode.PrintLayout)
It looks like you can adjust report viewer properties. I found a adjustment that sets the zoom, in your case (print layout = whole page) so the default would need to be changed.
Here is the VB script for it from MS.
'Declaration
<CategoryAttribute("Appearance")> _
<DefaultValueAttribute(ZoomMode.Percent)> _
Public Property ZoomMode As ZoomMode
'Usage
Dim instance As ReportViewer
Dim value As ZoomMode
value = instance.ZoomMode
instance.ZoomMode = value
I don't know if you have to use a # like value = 50 or if you can use value = Whole Page, it seems like the latter can be used since it bases the figures dimensions on the logical page to assume the view size.
Goood luck and check http://msdn.microsoft.com/en-us/library/microsoft.reporting.winforms.reportviewer.zoommode.aspx for further guidance and different code options.
I have a problem with screen size. In my computer, I set form size is 1915*1130. However, when open project in other computer (the same resolution), form size is change into 1910x1020.
2 computer resolutions is set as the same.
Is there any property to prevent that.
Does anyone have the same issue?
Please help me.
Thanks,
Ankata
Try this, http://forums.aspfree.com/visual-studio-how-to-73/windows-form-height-size-cant-be-made-bigger-than-screen-382576.html
He puts a panel control onto the form with scroll bars on. This allows you to set the size of the panel and somehow the form accommodates it. Haven't tried it myself.
I'm playing around with my first lightswitch application and am trying to change the size of a list control. Does anyone know how to do that? I've tried:
this.FindControl("PersonList").SetProperty("Height", 200);
but get told the height property doesn't exist. I've had a quick look thorugh the lightswitch namespaces in the object browser but so far haven't found anything useful.
That code looks like it should work (just change 200 to 200.0 - Height is a double). I've just verified almost identical code on my machine.
Here's a few things you can try:
Ensure you're using the right name for the control - Select the control in Visual studio and check the name in the properties window. Lightswitch creates lots of name variations, and it's easy to miss that the actual name is "PersonList2" for example.
Ensure that you've selected "Pixels" for height control in the properties window for the control
Once you can access the Height property it won't actually do anything until you set the control alignment to "Top". If it remains on "Stretch" it will ignore anything written to the Height property.
Let me know if you still have trouble getting this to work.