Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

DonBakke

About

Username
DonBakke
Joined
Visits
3,219
Last Active
Roles
Administrator

Comments

  • If the big rectangle on the left is the SRP Panel control and the label and editline on the right are the controls you are trying to add to the SRP Panel control, their x-positions are beyond the width of the SRP Panel control. Thus, you are adding …
  • Just an obvious question without studying your code too closely, are the controls on the form in an x/y position that would be visible within the size of the Panel control?
  • I don't use Select_Into but I did quick search for you and there was a post with this exact same error. Here is the response from Bob Carten: Select_into_Callback uses a variable named common to store store the results of a callback. if method eq …
  • Outstanding work!
  • ...I don't know what's missing that I haven't stumbled across as yet. For that I would just write a quick utility that rummaged through the SYSREPOSWINS and/or SYSREPOSWINEXES and then looked for a missing corresponding SYSREPOS pointer and then c…
  • I don't know of anything that rebuilds SYSREPOS records based on the source records. How and why these would go missing is obviously a big mystery and unexpected. I don't have any grand ideas as to what may be causing this other than perhaps GFEs. D…
  • I don't think you are wrong. It's a all or nothing proposition.
  • Long ago I asked for a way to bind controls on the form that can't be bound in the normal way (e.g., ActiveX controls) so that all of this could still be managed by the semantic logic layer. Mike had agreed to consider it but later on he noted the l…
  • I've not tried this, but I wonder if you could use the Point argument that comes through the OnClick event and the GetItemRectEx method to determine if you are clicking on the expansion button.
  • I realize this is coming in late, but it occurred to me that you would be interested in the OIWIN_COMM_INIT insert. Sprezz does a good job of documenting this starting on page 16 of their August 1997 S/ENL.
  • Are you saying you upgraded to the latest SRP Utilities and are still getting the error? As to your other questions, I'm assuming you are just thinking out loud. I have no way of answering those questions.
  • Good job in getting this far. Yes, the SRP Array functions have been known to crash if unexpected data is passed in. We've addressed these when they've been reported so I recommend you verify which version you have and upgrade if necessary. You can …
  • This isn't our error message but that doesn't mean our tools are exempt from the cause. It just says OINSIGHT.exe but perhaps something OINSIGHT.exe is calling (like a DLL method) is causing problems. These messages are usually very unhelpful. Perha…
  • I can achieve this by appending a bunch of columns to each item in the itemList which contain data that allow me to sort the rows correctly, but i'd rather not do this, as the code is quite hard to read. Honestly, I do this myself to make sorting…
  • Do you really mean customer compare or custom compare? If the latter, can you elaborate on what kind of custom compare you are interested in?
  • The TIMER event isn't intrusive. It waits for the user to be idle. You also have control over how frequently the TIMER event fires. So, you can experiment to find the right balance. The trick is to make sure that each time the TIMER event fires you …
  • So if a node, has a child, we will give it a fake child, and defer loading its actual children till the user expands the node. I think you will find this is how other systems work when the number of items is sufficiently large. You can also spin…
  • @josh relying on OI indexes is always your best bet. I didn't suggest this earlier because somehow I was under the impression you didn't have indexes on this table. I'm not sure why I thought that. Btree.Extract is an excellent tool to use when you …
  • I'll make you a deal. I won't pursue this any further since you seem to have a tailor made data set. If, however, you run into another roadblock then let me know and I'll happily revisit this.
  • Aha...gotcha. I overlooked that you actually portray this relationship in the previous Tree control screen shot. Thank you for helping me understand this better. I can now appreciate what you were explaining earlier regarding the challenges. Let me …
  • Your sample list of Key IDs and your sample screen shot of the Tree control only shows a 2-tier relationship (which makes sense if all your Key IDs are 2-part). I was just curious if that is true for all your Key IDs and how the Tree control will lo…
  • I think this is doable. I just have two questions before I work out a proof of concept for you: * Is the Tree always 2-tier? * Is it possible for the child keys to duplicate across different parents? For instance, I see you have a Key ID of 800…
  • Are you suggesting that because your data doesn't allow you to build your array in a predictable order that this is what is preventing you from using ItemList? I'm pretty sure there is a way for you to still code this, but I want to understand your …
  • @josh - As Mark pointed out, use ItemList instead of AddItems. You probably haven't seen it, but we wrote a blog article that explains when it is better to use properties or methods when it comes to populating our ActiveX controls. Your code by its…
  • Resolving the list means that the query has already been resolved fully before control is returned back to the calling routine. All applicable Key IDs have been identified and placed in a cursor so you can work off of. Resolved (or "active") lists d…
  • It has not been my experience that long RList queries allow me to interact with OI...at least not in any meaningful way. However, for now let's assume that this works for you. This means that RList itself (or another routine that it calls) has embed…
  • OpenInsight is single threaded so all processes running in the current engine will run synchronously. You can simulate asynchronous processing by injecting a lot of Yield() statements in your code, but this assumes you have control over the process.…
  • Just thought it was a terminology that most people were aware of. (I am very old school and not au fait with newer jargon) It's a tiresome task keeping up with newer jargon. :) Truthfully, web services and web APIs are synonymous. However, there …
  • Please, don't be embarrassed. I appreciate the questions since this probably reveals where the documentation needs to be focused. This version of the HTTP Framework introduces so many new features that the documentation is not as complete as I would…
  • Sorry...I forgot to remove the second link so this is confusing you. Version 4 of the HTTP Framework introduces a very different structure to building APIs (in fact, we are now calling them APIs instead of Services to help make this point clear). I…