Quantcast
Channel: Our ComponentOne » All Posts
Viewing all 14170 articles
Browse latest View live

Reply To: Printing small labels on Printronix

$
0
0

Dear Sonu,

1) In our Production we use different kind of labels. Each Label has his own size.
2) To print the labels we use the Printronix printers.
3) In the property of the Printronix printer. I have to create the format of the label, this
means (Height/Width/Left/Right) otherwise the printer will not recognise it. Please see
picture no 1 already attached.
4) I set the Printronix printer as my standard printer.
5) I create a new C1Flexreport and under Page Setup i have choosen the format that i created.
Please see Picture no 2 already attached.

The problem is as follow:
The C1Flexreport does not reflect the format that i have choosen. even i can see it under Page Setup. It does not matter which parameter in the Report properties i Change no way.

Is there a sample code to assign all the printer parameters (Printer Name, Format, etc.)
or
properties in the C1Flexrpeport that i have to set to get the Label according the my parameters.

Best regards
Said nai


Disable month dropdown and year edit

$
0
0

Hi
How is the month dropdown and year edit disabled or hide in c1DateEdit?

C1Report / C1ReportDesigner - EditDataSource issue

$
0
0

Hi,

After upgrading to C1Report.4 / C1.Win.C1ReportDesigner.4, Version: 4.0.20152.74 from your 2.0 framework version we no longer get the ellipsis button on the datasource after setting the C1Report.EditDataSourceDelegate. (see attachment for details)

Thanks for your help,
Rob Panosh
Advanced Software Designs

C1Input display problems

$
0
0

DropDown image is not scaling properly in high DPI (200%) as mentioned at this topic

http://our.componentone.com/groups/topic/c1-win-c1input-display-problem-on-screen-mode-200-pdi/

I tested this situation with C1Input version 4.0.20171.248 and the problem has not been fixed at all. As you can see my attached screenshot, three controls at top (C1DropDown, C1DateEdit, C1NumericEdit) have small arrow images, the last one is standard ComboBox with properly size arrow image in DPI scaling 200%.
I tested on Windows 10 64bit in 200% DPI scaling, the sample has built with dpiAware=True setting in manifest file.

Some other small issue:

- All C1DropDown, C1DateEdit, C1NumericEdit got some flicker at drop-down button when user moves mouse on them.

- When I change properties of C1DropDown, C1DateEdit, C1NumericEdit: VisualStyle=System and BorderStyle=Fixed3D and my Windows OS theme is disabled, they still have flat border instead of classic 3D border as standard TextBox, ComboBox... (you can see in my attach screenshot).

- By the way, could you add an option for C1Input controls to able to custom draw drop-down button totally by coding. Now, I can assign custom image to ButtonImages but C1Input controls always add some effect (drawing border, changing background color of my custom image) when mouse hovered.

Thank you!

Reply To: Print function: Style Sources - create c1d-files

$
0
0

Hi,

Once you enabled printing for the GanttView by setting its EnablePrinting property to true, you can follow the below steps to save the file in c1d format:
1. Select Preview option from the Print dialog that appears on clicking the Print button available in GanttView's toolbar.
2. Click on the 'Save' button from the Print Preview dialog that appears.
3. Select the FileType as .c1d from the dropdown available in SaveFileDialog and save the file.

You can refer the following documentation link in addition:

http://helpcentral.componentone.com/nethelp/C1GanttView/PrintOverview.html

Thanks,
Pragati

Reply To: Visual studio 2017 , .Net 4.7

Reply To: C1Report / C1ReportDesigner - EditDataSource issue

$
0
0

Hi,
I found ellipsis button on the data source display only when you clicked.
Behavior in the both designer(V2 and V4) are same in latest build.

Latest build can be downloaded from the link below:
[V4]
http://prerelease.componentone.com/dotnet40/C1WinForms/2017-T1/C1WinForms.4_4.0.20171.248.zip
[V2]
http://prerelease.componentone.com/dotnet20/C1WinForms/2017-T1/C1WinForms.2_2.0.20171.248.zip

Thanks,
Sonu

Mix of Numedit and Combobox

$
0
0

Hi,
I need a mix of a numedit-object (Input free numbers) and a combobox (list with fixed numbers).
How can I do this?

Thanks Horst


Reply To: Filter RightToLeft Layout

$
0
0

Hi,

I could also observe the same behaviour at our end. I am discussing it with the developers (internal tracking ID: 257514) and will let you know once there is any information from them.

Thanks,
Pragati

Reply To: Filter Form Font & Bold

$
0
0

Hi Guy,

I am discussing the requirement with the development team (internal tracking ID: 257515). Will get back to you once there is any information from them.

Thanks,
Pragati

Reply To: Need help with copy-paste from Excel to FlexGrid issue

$
0
0

Hi Savitha,

I could also replicate the issue at my end. I have forwarded it to the developers (internal tracking ID: 257516) and will let you know once there is any information from them.

Thanks,
Pragati

Reply To: c1TrueDBGrid expand right to left

$
0
0

Hi,

You can open the child grid from Right to Left by setting RightToLeftLayout and RightToLeft properties of Form to true and Yes respectively. You would also need to set the RightToLeft property of the parent grid to Inherit.


this.RightToLeftLayout = true;
this.RightToLeft = RightToLeft.Yes;
gridMaster.RightToLeft = RightToLeft.Inherit;

Please refer the attached application implementing the same.

There seems to be an issue related to the position of +/- icons of the column in Right to Left layout. We have escalated it to the development team and will let you know once there is any information from them.

Thanks,
Pragati

Copy html from body

$
0
0

Hi,

I'm trying to copy inner html of the editor i.e everything inside body tag, however when i do

Editor.Document.InnerXml 

its return entire xhtml code which i dont want.

How do i get just content inside body only ?

Thanks

how to copy innerhtml inside body ?

$
0
0

Hi,

I\'m trying to copy inner html of the editor i.e everything inside body tag, however when i do

Editor.Document.InnerXml 

its return entire xhtml code which i dont want.

How do i get just content inside body only ?

Thanks

Multi column combo with hidden columns ...

$
0
0

Hi C1,

For exemple, let's say I have a column "Food" in my C1Flexgrid. This column come from a table with that structure :
Table "Food" :
column : "ID" (integer)
column : "Name" (varchar(20))
column : "Color" (varchar(30))

Containing for exemple :
1 Apple Red
2 Grape Red
3 Orange Orange
4 Pineapple Yellow

Here's what I want, I need a column showing the "Name" (but returning the "ID"). And when the user select a food in the combo, I need to display the "Color" (that information need to be hidden (visible = false) in the combo) in another column of the Flexgrid. How can I do that ?

For the moment, with "DataMap" property linked to a "ListDictionary", I managed to show a combo showing the "Name" (and returning the "ID"). But how can I manage to add another column in the combo ?

Thanks,
Pascal


Reply To: Exception when setting the RenderMode to "Direct2D" for FlexChart

$
0
0

Ah OK, seems it may have been related to another assembly reference in the solution (SharpDX perhaps?). Anyways working now, thanks!

Problem with IsNode = True ...

$
0
0

Hi C1,

I tried to create an exemple very simple. I have a simple C1Flexgrid unbound and I want to create a node between row # 4 and row #5.

I set :
.Tree.Column = 1
.Tree.Style = TreeStyleFlags.Lines

I tried different combinaisons but nothing works !
It should be something simple like :
_fg.rows(4).IsNode = True
_fg.rows(5).Node.Level = 1

I need help !!

Thanks
Pascal

Reply To: Assecing chart design

$
0
0

Hi,

In order to access the properties of FlexChart at runtime you need to use PropertyGrid and set it's SelectedObject to C1FlexChart.
However, C1Chart also provides some built in methods like:


            c1Chart1.ShowProperties();
            c1Chart1.ShowWizard();
            c1Chart1.ShowDataBindingDialog();
            c1Chart1.ShowVisualEffectsEditor();
            

Hope it helps.

Thanks,
Akshay

Reply To: Disable month dropdown and year edit

$
0
0

Hi,

I am talking to the developers regarding the requirement. Will get back to you with their insights soon.

Thanks,
Pragati

Reply To: Multi column combo with hidden columns ...

$
0
0

Hi Pascal,

You can set the Color value in another Column of C1FlexGrid, once you have selected 'Food' from the ComboBox. You just need to fetch the corresponding Color for the selected Food from the source DataTable.
For this, you can use ValidateEdit event of C1FlexGrid.


// In the ValidateEdit event
foreach (DataRow row in _tblFood.Rows)
{
       if (row["Id"].ToString() == c1FlexGrid1.Editor.Text)
       {
               c1FlexGrid1[e.Row, e.Col + 1] = row["Color"];
               break;
        }
}

I have also attached a sample for your reference.
Hope it helps you.

Thanks,
Pragati

Viewing all 14170 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>