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

Reply To: c1TextBox foreColor

$
0
0

Hi Reema

Ok thanks, I will code them to return to white after I have updated the text

Thanks for your help
Kind Regards
Scott


GetValueInternal error in Numeric Editor Up/Down Button Press

$
0
0

Hi ,

I have got the Below Error When i am Pressed the
C1.Silverlight.Extended.PropertyGrid.NumericEditor up/Down button frequently in Silverlight Project.

EXCEPTION : [Line: 0 Position: 0]
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.GetValue(IManagedPeerBase managedPeer, DependencyProperty property)
at System.Windows.DependencyObject.GetValueInternal(DependencyProperty dp)
at System.Windows.FrameworkElement.GetValueInternal(DependencyProperty dp)
at System.Windows.Data.BindingExpression.GetDataContext(FrameworkElement targetFE)
at System.Windows.Data.BindingExpression.AttachToMentor(FrameworkElement mentor)
at System.Windows.Data.BindingExpression.InheritanceContextChanged(Object sender, EventArgs e)
at System.Windows.DependencyObject.OnInheritanceContextChanged(Object sender, EventArgs e)
at MS.Internal.JoltHelper.c__DisplayClass4.b__1()

Thanks,
Rithika .P

DblClick on FlexGrid sends a Click-Event to another Form

$
0
0

Hi Forum!

- sorry for my bad English -

i’m using FlexGrid8L in Access 2010.
In general all things work as they should. But there is one little crazy behavior:

imagine an Access-Form with a Textbox on it. This Textbox stores e-mail-addresses and has one procedure:

Private Sub txtEmail_Click()
    subEMail Nz(Me.txtEmail, "")
End Sub

if you click on the Textbox it opens an Outlook-NewMail-Object. All works great.

now imagine further you got a 2nd Form. This 2nd form is a popup and can be opened from the 1st form. It contains my FlexGrid.
The use of this 2nd form is to display some lines – get a DblClick on one line – returning the value and close the popup.
The Code is simple:

Private Sub MyFlexGrid_DblClick()
    ..do some sql stuff..
    DoCmd.Close acForm, Me.Name
End Sub

and now there comes the "error" when you do this:
- open the 1st form, fill in an e-mail-address
- open the 2nd form
- move the 2nd form in a position that 1 line of the grid is at the same position as the E-Mail-Textbox of the 1st form (the gridline should "hover" over the Textbox)
- perform a DblClick on that gridline

At 1st the Sub MyFlexGrid_DblClick() will be executed. OK.. within this Sub the 2nd form is closed. And after this the Sub txtEmail_Click() is executed !!

I’ve tried a lot of things and found 2 things out:
1) it only happens when you use the VS FlexGrid! There is no other control that has this behavior
2) when you fill in some extra code the error is "solved"

Private Sub MyFlexGrid_DblClick()
    ..do some sql stuff..

'extra super special code
DoEvents
apiSleep 100 ' an API-call that will do a break of 100 ms 
DoEvents

    DoCmd.Close acForm, Me.Name
End Sub

I have to use DoEvents 2 times! With only 1 DoEvents it won’t work.

Now can anyone explain this behavior?
Maybe it’s not a bug, it’s a feature?!

Greetings,
Thomas

Reply To: Format of datetime column

$
0
0

I mean, where can I see a list of formats, ex:

c = currency
d = short date
n = number

more?

Reply To: How do you caputre mouse over?

$
0
0

The link is in the answer post is no longer available. Would you please re-post it?

Reply To: Drag Drap Manager with a Grid

$
0
0

OK, I found the issue. The Grid had a transparent background, thus the mouse could not "see" it as a drop target. Once I changed the background to a color, it started working fine.

Greg

Reply To: Parsing Repeated Words with Break Words in Mixed Case

$
0
0

Hello David,

I am able to reproduce this and am escalating it to the development team.

Thanks for reporting this.

Best Regards,
Richa

Reply To: Parsing Repeated Words with Break Words in Mixed Case

$
0
0

Cool! Always fulfilling to help improve an already great product.


Ignoring GUIDs

$
0
0

How would you suggest ignoring GUIDs when spell checking?

I am referring here to GUIDs such as {"3F2504E0-4F89-11D3-9A0C-0305E82C3301″} that appear. for example, in Assembly Info files.

I presume one can create a wild card sequence such as ????????-????-????-……

Would it make sense to ignore those in the parser? Which one will be faster?

Thanks

David

Reply To: C1PropertyGrid.ValueChanged not fired on PropertyChanged event

$
0
0

Hi Upkars,
I realize it still happens with the ItypeEditor inheriting from Textbox, no need to inherit from a User Control to replicate the issue.

Here is an ITypeEditor for a "Percent" class which takes an integer in the constructor and exposes a formated DisplayValue:

Public Class PGEditor_Percent
    Inherits TextBox
    Implements ITypeEditorControl


    Public Sub Attach([property] As PropertyAttribute) Implements ITypeEditorControl.Attach
        Dim oBinding As New Binding([property].MemberName & ".DisplayValue")
        oBinding.Mode = BindingMode.TwoWay
        Me.SetBinding(TextBox.TextProperty, oBinding)

    End Sub

    Public Function Create() As ITypeEditorControl Implements ITypeEditorControl.Create
        Dim retval As New PGEditor_Percent
        Return retval
    End Function

    Public Sub Detach([property] As PropertyAttribute) Implements ITypeEditorControl.Detach
    End Sub

    Public Function Supports([Property] As PropertyAttribute) As Boolean Implements ITypeEditorControl.Supports
        Return ([Property].PropertyInfo.PropertyType Is GetType(Percent))
    End Function

    Public Event ValueChanged(sender As Object, e As ComponentModel.PropertyChangedEventArgs) Implements ITypeEditorControl.ValueChanged

End Class

Whenever I use a C1PropertyGrid for an instance of an Object using a property of Percent Class, I can’t get C1PropertyGrid ValueChanged event fired when I type an alternative value on it, despite the ValueChanged event of the editor is fired. However, if I change the value of any other property using a built-in editor, the event gets fired.

Secured URLs, D2H, & Google

$
0
0

Our help files are accessed via secured (i.e., users are assigned an ID/pw by us) URLs. If a URL is copied/pasted/forwarded to an unauthorized person and they click on the link, they go to a login page.
Is it possible to add Google Analytics, Google Page Translation, and Google Search to non-public, secured locations such as described above?
Our help files do not document computer software and are not linked to or accessed by a Help menu.
Thanks.
Joan

Reply To: Report Generation, Loading the image from custom location

$
0
0

Well, you may be right, but with your current code how I can control page breaks, (Say for example I don’t want an image to be displayed half in one page and another half in other page, it should be displayed in one page fully). For this Do I need to keep track of page size, remaining space etc?

Please advice me on this

Regards,
M.P

Reply To: Filtering and refactoring!

$
0
0

Hi Deepankar,

I download the latest build and still same exception pops up.

I am going to create a small sample so you can see what I mean.

Regards,

Vlado

VSOCX6 License information for this component not found.

$
0
0

I’ve problem with Video soft 6 on Window XP system in design mode using VB 6.0. I recently formatted OLD XP system which was working fine without any issues. After I formatted, I installed video soft software and register using CD key but it not working in design mode. It giving “License information for this component not found. You do not have an appropriate license to use this functionality in the design environment”
Is anyone knows how to fix this issue? I really appreciate your help!

Reply To: Filtering and refactoring!

$
0
0

Hi Deepankar,

I am sending you the test application where you can reproduce the case.
Run the TestApp and try to sort the Ground column.

Also I added screenshot of the exception.

Cheers,

Vlado


Reply To: Filtering and refactoring!

$
0
0

Let’s try again to upload the sample.

Reply To: Filtering and refactoring!

$
0
0

And again :)
I just forgot to exclude ReSharper Test App from the folder. Sorry about that.

Reply To: Format of datetime column

$
0
0

Hello Jorge,

In order to display the full datetime values, you can set the format of first column as "G" i.e.

 C1FlexGrid1.Cols(1).Format = "G"

For complete list of datetime formats, you may refer to this link:

http://msdn.microsoft.com/en-us/library/az4se3k1.aspx

For the concatenated column, you may convert it as datetome column by casting it in the sql query. Here is the modified query which you may use:

 Dim sql As String = "select a2,a2 as a2_formated,concat(a2,'') as a2_workarround,CAST(CONCAT(a3,' ',a4) as DATETIME) from test"

Hope it helps.

Regards

Reply To: Chart.EndUpdate throws error

$
0
0

Hello,

I am not able to replicate this issue with the latest build of C1Chart for Silverlight(5.0.20132.332).
I have created and attached a sample application for you . Please test it with the latest build and let me know if you are able to replicate the issue with this.

Thanks,
Deepak Sharma

Reply To: error converting docx to html5

$
0
0

HI,

I tested the same on my end using one of the sample project at

//Documents/My Doc-To-Help Projects/Samples/EmployeeHandbook

And it worked fine for me, I’d request you to send me the sample doc, along with
Word version, IE and OS in use, so that I can try to replicate it in the same scenario.

Regards,

Viewing all 14170 articles
Browse latest View live