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,220
Last Active
Roles
Administrator

Comments

  • HI Matt, Ah, shucks. I caught that bug and thought I had reported it before 2.7. Looks like it caught it just after the fact. So, I am working with the 2.7.1 release candidate now and I think these issues are solved. I do have a question for you r…
  • Just following up on this thread. The latest SRP Editor (v2.7 as of this comment) should be pulling up the correct URL for online based help. Let me know if you find this not to be the case.
  • Colin, I have not tested this, but does the BeforeUpdate event not aid you in this? Also, when you say AfterUpdate...seems its too late, in what way do you mean? Does the AfterUpdate not fire until after the CLOSE event of the form?
  • Colin, It seems that the main form is not triggering the Close event on the panel form, which is the issue here. Yes, that much we can expect based on the implementation Kevin was required to use (DestroyWindow). If there could be some event trig…
  • Kevin, Thank you for the clear explanation. It helps to understand the nature of the beast. I don't think Colin's embedded form was databound. His main issue is that the main form (which is either databound or simply employs a Save warning) is cau…
  • Kevin, In what way are you closing the embedded forms? Are you simply sending a CLOSE event, a WM_CLOSE message, or are you destroying the object? I am asking for two reasons: * If the embedded form has the ability to intercept the close request …
  • Colin, Okay, this was easy to replicate and I concur that the pre-system CLOSE event handler does close the embedded window within the SRP Panel control. I am curious if this also affects forms that are embedded with SRP ShortcutBar controls as wel…
  • Colin, I will have to test this to see it happening and then figure out how to proceed. Your code has me curious. What is the purpose of the ReturnState variable? I don't see anywhere where this gets changed.
  • Colin, Just so I am clear on your configuration, you used the SetForm method to add an OI form onto an SRP Panel control? That seems clear enough but I wanted to confirm. Unless there is some underlying connection I am unaware of between the Panel…
  • Mark, What you are essentially doing is rolling out your own control viz-a-viz a combination of other controls and relying upon the SRP Panel control to be your host. In princple this is conceptually the same concept as the way the Form Designer's …
  • Colin, Ahhhhh...I see. Yes, @Window would have been the form which is itself subclassed into the Panel control. I think it just never occurred to me that the event handler is coming from parent form of the Panel control. This is why I was surprised…
  • Colin, Within your application, what is in @Window and what is in ParentWindow?
  • Colin, My guess is that the modal dialog is more successful because it suspends the calling process and keeps everything under tight control. What bothers me is that simply calling a modeless dialog can result in this behavior. In my mind, what is …
  • Colin, I am somewhat relieved that even Msg(), especially when called as an Up Banner message, has the same problem. This tells me the problem is universal with modeless dialog boxes. I realize a modal dialog box defeats the purpose for what you n…
  • Colin, I truly appreciate your willingness to jump through these hoops. It wouldn't surprise me if you asked yourself the question, Why doesn't Don just test this himself? The simple answer is, I don't have an application handy with the SRP Panel c…
  • Colin, My apologies. You said the form was closed but I overlooked that comment while I was responding. What happens if you close the form manually? What about using End_Window?
  • Colin, I get that this works fine when you do not launch this from the SRP Panel control so I am not questioning your technique. I do want to better understand the intent So if you don't mind I am going to ask a few clarifying questions: * You a…
  • Mark, The answer to the first question is easy: yes, databinding is retained. The SRP Panel control was created originally to satisfy a requirement for a project that needed to display several databound controls within a scrollable panel. We were e…
  • Guys, Your ongoing comments, and patience, is appreciated. Please know that we are going to look into this carefully ASAP. As you both know the conference is this week and our team has had to focus on getting ready for it. I have already discussed …
  • Colin, I really appreciate the time you have taken to post your code. I am surprised that making the panel controls invisible is actually helping. However, if you wanted to make them invisible in the first place, why not make them invisible in the …
  • Colin, Setting the SIZE property will cause a window to become visible. However, I do not know if loading the form in the panel control is causing this this happen as you suggested. This might be a fruitless pursuit, but I am still curious about t…
  • Colin, Am I correct that all three panel controls are on the same window and you put the form in the panel during the CREATE event of this window? If so, is this window visible or invisible when the CREATE event is firing?
  • Colin, I am not as well versed with the SRP Panel control so I suspect another member on my team will respond. However, I am curious, do you have the parent window (i.e., the ones with the SRP Panel controls) invisible at design time? If not, what …
  • Colin, I will look into this and get back to you. We do not use the SRP Panel control internally very much, but we have some customers who are doing marvelous things with it. Hopefully they can also respond with their own experience.
  • James, Have you considered rolling out your own OnMouseExit event? Your idea is sound, but I am not sure when we can add this feature at this point in time. We have used the WM_SETCURSOR WinAPI to trap mouse movement through the entire application.…
  • Barry, No, just SRPControls.ocx. That is the main point of our There Can Be Only One blog article from a few months ago. If you happen to use the SRP Editor then you will also need to register SRPUtil.ocx. But SRPUtil.ocx is never used within an a…
  • Chris, Did you read Kevin's last response? Did you send him an RDK he can use to test with?
  • You need to set it up on the Terminal Server side. Win 2008 Terminal Server forces 16-bit color depth, regardless of how the client side RDP is setup. We are going to do a write-up on this, but it won't be ready for a day or two. In the meantime, yo…
  • Chris, I don't think we need any more information at this time. Your circumstances mimic our other incident report identically. In this other customer's case, he does have a Win2008 server which works and another one which does not work. We are try…
  • Chris, I believe your problem is different from Mark's but it sounds very similar to a problem that was recently reported to us by another customer. All fingers point to Terminal Server. Are you using any other SRP controls on your forms that displ…