Search:

Type: Posts; User: webbiz

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. Re: [RESOLVED] How Do You Set Object Properties via Collection reference?

    I'll conclude with this little snippet.

    Although I got it to work in the little sample code (Olaf's ChartJSON demo), I had fits trying to get it to work in my project. It was getting too...
  2. Re: How Do You Set Object Properties via Collection reference?

    Actually, I did not see this post as it snuck in right before my post on my unrefreshed browser.

    Just noticed it now.

    But as you see in my latest post, I did figure it out. The...
  3. Re: How Do You Set Object Properties via Collection reference?

    Just for outside access testing purposes, I put the ShowTrendline() call just before Chart.RenderTo() in DrawChartToPicBox since the CC is created here anyway. In my project I'll fetch the CC so I...
  4. Re: How Do You Set Object Properties via Collection reference?

    I was just about to post this following my last post:



    Noting that the object pointer is not the same.

    I don't believe that DrawChartToPicBox() is what's causing my outside call issue.
    Note...
  5. Re: How Do You Set Object Properties via Collection reference?

    That was what I tried to do initially.

    Declared a temporary object variable and Set it from one of the indexed collection objects.

    Then I'd try to manipulate the properties from the temporary...
  6. Re: How Do You Set Object Properties via Collection reference?

    NEW QUESTION but associated with the @jpbro modified code in this thread.

    The manipulation of the class properties are being done from within the cChart class.

    ModifyTrendTool


    Private...
  7. Replies
    6
    Views
    683

    Re: Export Table and Dependency Viewer

    Cool. Thanks. I'll add this to my list of educational "to-dos". :wave:
  8. Replies
    6
    Views
    683

    Re: Export Table and Dependency Viewer

    I don't know how safe the download was, but I have it now. I'll check it out. Thanks.
  9. Re: How Do You Set Object Properties via Collection reference?

    Yer a very clever guy @jpbro.

    No wonder you understand the RC6 so easily.

    Thanks for tossing that code in. I've not seen that kind of action before. :D
  10. Re: How Do You Set Object Properties via Collection reference?

    I'm puzzled about what happens at the conclusion of this With...EndWith


    With ModifyTrendTool(1)
    ' Modify as many properties as you like in a With block call to ModifyTrendTool
    '...
  11. Replies
    6
    Views
    683

    Re: Export Table and Dependency Viewer

    I actually have that app, although never used it.

    Just thought there was a 'viewer' that was part of VB6 that he was referring to.

    Thanks.
  12. Replies
    6
    Views
    683

    Export Table and Dependency Viewer

    As I go through information graciously provided by @jpbro, I come across a mention about

    "...by examining it's export table using the dependency viewer"

    Where is this Dependency Viewer where I...
  13. Re: How Do You Set Object Properties via Collection reference?

    Oh this is very interesting. Talking about "strange new worlds and civilizations, to boldly go ..."

    I'll be spending some time on this I can tell.

    THANKS for providing this @jpbro



    I...
  14. Re: How Do You Set Object Properties via Collection reference?

    Seriously? 60 views and not one person is knowledgeable about collections and objects???
  15. [RESOLVED] How Do You Set Object Properties via Collection reference?

    Attached is Olaf's JSON demo code where I added what I'm trying to ask.

    189322


    There is a collection of cTrendTool objects.

    To draw these the cChart object's RenderTo() is called that...
  16. Re: [RESOLVED] Does ANYONE have a better line click detector code?

    Thanks for the code example. Very informative.
  17. Re: [RESOLVED] Does ANYONE have a better line click detector code?

    Thanks to all who contributed above.

    Lots of good examples for future reference on VBForums. :)
  18. Re: [RESOLVED] Does ANYONE have a better line click detector code?

    Appreciated it. Superior to the one I did that took me forever to get to that point.
  19. Re: [RESOLVED] Does ANYONE have a better line click detector code?

    While moving it you are making it longer, shorter, changing angles, etc.

    It's a stretchy line and you drag the ends.

    Drag the center, yeah it's one length then.
  20. Re: Does ANYONE have a better line click detector code?

    Line Length is a constant?

    I'm drawing a blank.
  21. Re: Does ANYONE have a better line click detector code?

    Thanks for posting this code.

    Unfortunately it doesn't seem to work as is.

    I've placed a couple of Debug.Print lines so the data can be viewed:


    X1: 672 Y1: 583.8126 X2: 907 Y2: 421.5382...
  22. Re: Does ANYONE have a better line click detector code?

    Searching as in "Site:vbforums.com detect click on line"

    Looking for code that will do this.

    Thanks for the spelunk.

    As it isn't VB6 code, I can only assume the following and unfortunately...
  23. [RESOLVED] Line Clicked Detection - Line Distance Info

    I've tried so many approaches to this. This is the closest I've gotten but it loses accuracy if you click near either end of the line (going in the same direction/angle). And any line near vertical...
  24. [RESOLVED] [VB6 RC6 JSON] How to REPLACE a cCollection Item?

    Just another RC6 question collecting webs.... nm
  25. Re: RC6 CONTROL POINTS, Obj already loaded error, CPs do not show up

    And I figured it out. NM. :wave:

    For future reference (there has to be a conclusion, right?)

    Add a DrawCPs method to the usercontrol.
    Call the DrawCPs method from the tool object.

    uc...
  26. Re: RC6 CONTROL POINTS, Obj already loaded error, CPs do not show up

    I really must be stressed out.
    Of course.
    Too many fires.

    Thanks jpbro. Understood and duh-hee-advised! (how could I not see this????)


    And I'll bet the reason I still have not figured out...
  27. Re: [VB6 RC6] More RC6 Confusion - Context and Surface

    Thank you sir.

    When you said "multiple and wondrous ways" it brought back memories of when Disneyland was that. So long ago....

    But seriously, I do understand this.


    CORRECT ME IF I'M...
  28. Re: RC6 CONTROL POINTS, Obj already loaded error, CPs do not show up

    The reason I had it in the uc resize is because I've been learning from Olaf's Cairo demos and that's where he had it.

    Example from CairoTutorial (6 Spline-Interaction)



    Private Sub...
  29. Re: [VB6 RC6] More RC6 Confusion - Context and Surface

    I didn't mean 'several methods' as in multiple actual class methods.

    I meant 'several methods' as in "several ways/approaches to skin a cat." ;)
  30. Re: RC6 CONTROL POINTS, Obj already loaded error, CPs do not show up

    This code is just a quick test code and I'm taking shortcuts to make it.
    Olaf keeps telling me to include it with the question, so I spent all day putting it together.
    My project itself is too big...
  31. Re: RC6 CONTROL POINTS, Obj already loaded error, CPs do not show up

    Okay, persistence paying off. Seems usercontrol Resize going through a double call.

    1. When the program starts the usercontrol goes into play before the form. This triggers the first usercontrol...
  32. Re: RC6 CONTROL POINTS, Obj already loaded error, CPs do not show up

    The 'object already open' appears to be caused by referencing the main form (fChartHost) from the usercontrol. By commenting out some lines, I got it to tell me that the form is open in designer...
  33. Re: RC6 CONTROL POINTS, Obj already loaded error, CPs do not show up

    Done. Was an oversight. Forgot it was in there.

    Thx.
  34. Re: RC6 CONTROL POINTS, Obj already loaded error, CPs do not show up

    I'm sorry about that. Forgot it was in the same folder.

    I originally created the .exe simply to catch compile errors and forgot to delete.

    Again, my apologies.

    -biz

    Removed .exe and...
  35. Re: RC6 CONTROL POINTS, Obj already loaded error, CPs do not show up

    Clearly explained issue. check.
    Provided short code. check.

    While this thread waits for some response, I'd like to use this empty time to post some thoughts.

    I asked A.I. a question about...
  36. Re: [VB6 RC6] More RC6 Confusion - Context and Surface

    Hey @jpbro

    Been pretty busy, eh? Thanks for responding.

    Their effectively the same.

    Having several methods doing the same thing is where choice confuses the learning.

    :)
  37. [RESOLVED] [VB6 RC6] More RC6 Confusion - Context and Surface

    While retracing my steps trying to find what is causing my errors, I noticed another confusing thing about the RC6 context and surface assignments.

    Public Srf as cCairoSurface
    Public CC as...
  38. [RESOLVED] RC6 CONTROL POINTS, Obj already loaded error, CPs do not show up

    Well, I spent the day writing an 'example' app to try and simulate some issues I've run into. Wish it could be an exact representation, but I think this is close enough.

    The controlpoints are not...
  39. Re: How to allow other classes to draw to a usercontrol's private context?

    Well, I've spent hours today trying to create 'working code' that could be used for posting here to duplicate an issue.

    I've tried starting from your ChartJSON code, but that got pretty convoluted...
  40. Re: How to allow other classes to draw to a usercontrol's private context?

    That's the code I tried.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width