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,129
- Last Active
- Roles
- Administrator
Comments
-
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…
-
This kind of error has been reported before and we have addressed it whenever we've been able to duplicate the problem. It's always a use case scenario so I can't give you a general answer to the "What can be the problem?" question. However, you rea…
-
Xlate won't bypass any MFS routines in the chain, so if that is important then you might want to roll-out your own solution. We have our own solution that does this for just this very reason. Note: Xlate only caches up to 9 reads (regardless of whi…
-
Read/O statements initiate the MFS/BFS chain, so calling the BFS directly offers a little less overhead. For individual transactions the benefits are negligible. If you are processing thousands of transactions then it might add up. Caching simply m…
-
In my opinion, Xlate is only preferable for two reasons: * Syntax convenience. * Caching benefits. If you want the absolute fastest performance then call the BFS directly.
-
I'll have our engineer for this control take a deeper look to see if any of the properties (or methods) can do exactly what you want. In the meantime, what about just setting the FocusItem to the root item?
-
What's the likelihood that if I switch to the client object, that some of those that worked with the server object will subsequently fail and I'll be back to a works for some not for others scenario? No way to answer that. This is so environmental…
-
Sorry for the delayed response on my part. I was traveling and offline for much of it. There is no way to do what you want based on the built-in functionality of OpenInsight popups.
-
Something isn't quite right with your system. We might need to look at this together. I'm out of town this week so we can schedule something next week if you like. The latest version of OI is 9.4.4. So you could very well be several patches behind.…