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

KevinFournier

About

Username
KevinFournier
Joined
Visits
2,163
Last Active
Roles
Administrator

Comments

  • I am a bit confused as to what you are asking for. You just want a button that fires an event right? Just like any other button except that it won't mess with focus? Have you not used our button before?
  • The SRP Button should do this well enough for you. SRP Buttons, when using a tooltip style (see the Style property), do not pull focus away from the current control, which is ideal in these circumstances. As for look and feel, you can set the BackVi…
  • This will only work for SRPControls.ocx 3.1 and later, as I only just added it for the latest release. Obj = OleCreateInstance("SRP.ControlInfo") SRPUtilVersion = OleCallMethod(Obj, "GetProVersionNumber")
  • Thanks, Mark! Merry Christmas to you as well. :-)
  • If you have the SRP Editor, you can run it and go to Help -> About. In the About dialog, there is a hyperlink that reads, "View Version Information." Click that and you will see what controls are registered on your machine as well as your licensi…
  • Jim, Use the UnRegDLL command for unregistering OCX files: UnRegDLL $INSTDIR\SRPCore.OCX UnRegDLL $INSTDIR\SRPEditTable.OCX ... Then use the delete command to remove them: Delete $INSTDIR\SRPCore.OCX Delete $INSTDIR\SRPEditTable.OCX ...
  • Yes. You are looking for the Utility method, specifically the OBJECTLIST service.
  • There is no way to register controls without 'run as administrator.' That is a Windows Vista+ standard security wall. You can create an NSIS installer, but if the user is not allowed to run it as administrator (which it will attempt to do automatica…
  • Try the official release of version 2.7.1.
  • Jim, Sorry for the delay in responding. I have been offline for a bit while my new internet service was being installed and configured. Sprezz has published a solution to this in one of their SENL newsletters. Go to page 10 and read the content un…
  • Sorry, Bryan, but I don't have any experience with RevDotNet. Any time I need access to .NET, I tend to write my own .NET dlls and expose them as COM objects for ease of use within OI. If you haven't already, I recommend posting this on the Revelat…
  • The problem is that OpenInsight tends to be pretty big. Every file that OI touches will have to be pulled over the internet, leading OI to feel incredibly sluggish. None of this generally gets cached (though I could be wrong), so the sluggishness wi…
  • I should also point out that after you enforce these events, you need to recompile your forms as well. Then restart OI.
  • Open UI Workspace utility and select "Design Events..." from the Tools menu. Make sure you set the enforce flag to Yes for these events and restart OI.
  • I just wanted to add that Paulo's experience in upgrading is very different from our usual experience. It takes months of planning, documentation, and testing--all with copious amounts of digital paperwork. Thankfully, the next upgrade gap is not as…
  • I'm not sure how familiar you are with accessing the WinAPI from OpenInsight, but the short answer is that you need to use the "Tool Help" functions. CreateToolhelp32Snapshot gets a snapshot of what's running, then you use the handle returned from t…
  • Assuming you already have instantiated the ActiveSheet object, the code would look something like this. (This code has not been tested): objShapes = OleGetProperty(objActiveSheet, "Shapes") If OleStatus() then Error = "Could not get the Shapes…
  • I don't have any suggestions at this mostly because I'm not familiar with the Excel automation API. If you have code, I'd be happy to see if anything stands out.
  • Unfortunately, an application cannot elevate itself into Administrator mode once it's already running, so your OI script is not going to work. You'll have to make OI always run at Administrator mode from Windows itself. NSIS works because Windows r…
  • A simple fix, thankfully. Try SRPControls.ocx 3.2.1 RC6.
  • Sorry for all my whining yesterday. I took it like a man and updated the Panel control. Version 3.2.1 RC3 of the SRPControls.ocx can be downloaded here. A new event called OnParentClosing has been added. This fires only when the user tries to close…
  • Don, I am using the DestroyWindow API. The reason is because I have do get rid of the window after the user clicks the X button but before the parent form knows it's closing. Otherwise, the WM_CLOSE message is sent to the embedded form instead. If …
  • I'm sorry for not replying sooner. I wasn't getting email notifications and this dropped off my radar. The issue is that the Panel has to force-destroy the embedded forms when the parent form is closing. This was necessary because embedded forms wo…
  • Mark, This... is... awesome. So, when you first proposed the idea, I envisioned very simple controls, but this makes total sense. Really, this shortcut control is conceptually a form unto itself anyway. The Panel control allows you to drop it in m…
  • I suppose this theoretically doable, but this only makes (some) sense to me if you created a re-usable control that is composed of several more controls. To have a panel with a single control doesn't make much sense to me since you could acheive the…
  • Mark, No traction yet. The current work around is to pull out those embedded forms and close them yourself first. I want to resolve this, but I have a huge fire I'm trying to put out this week.
  • I know I wrote some code to deal with this issue, for it was brought up for both the Ribbon and Panel controls during the Ribbon's beta. If you are not already testing with the latest prelease (version 3.2 RC15), then please download it form here an…
  • Please download a beta build of either SRPControls.ocx if you have a Pro license or SRPPanel.ocx. Let me know if it fixes your MouseEnter/Exit woes.
  • I see. I better understand your situation now. The issue is that the Panel's event fires an exit event even when you hover over one of it's children. Yes. this is MS behavior, but it might be something I can mitigate. I'll add it to my to-do list an…
  • Mouse exit is definitely one of this things that can give you more events than you wanted. Our MouseExit event is really just an extension of Windows' WM_MOUSELEAVE message, so yes, the overzealousness stems from Microsoft's implementation. In other…