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

Comments

  • Albert, Are you running VSPRINTER or VSPRINTER2? What happens if you switch to the other one? Both problems you are reporting sound like permissions issues. For the first problem you may also want to install a new printer driver, such as an HP Las…
  • Albert, This appears to be a problem with your print driver. What is the default printer you have selected on your workstation? Would it happen to be a label printer?
  • Jim, I have been away for a while so I was unable to get back to you on this. I also see that have been cross posting your questions on the Rev site. FWIW, we are not averse to posting on the Rev site nor are we trying to replace the Rev forum with…
  • Jim, Is this something you are starting in design mode or just during runtime?
  • Jim, I don't have a magic bullet for this, but I do want to get some clarity. Are you unable to stretch the MDI Frame when it is in resizable mode or are you simply saying that when you maximize the form it won't stretch? I was able to stretch my M…
  • Jim, Well Carl has the advantage of seeing the internal code so he would know better than me. However, my comments come from multiple conversations with Bob Carten, who is using ADO to create the OpenInsight SQL Connector. Here is a comment he sent…
  • Jim, I cannot tell you if performance is faster. I think all of this goes through the same API sooner or later. ADO is just more flexible and is the solution Microsoft is promoting again after they came to realize that OLE DB is not a viable altern…
  • Jim, One way to do this is to create an entry in SYSREPOSDATASOURCES programmatically. You will probably want to use the Repository function to do this as I am sure that XOInstance will use the Repository to get access to this record. The other wa…
  • Jim, We use XOInstance in our internal OpenInsight based billing application. In our case we connect to a MySQL database that support our web-based project management system (JIRA). We have a window that our developers use to pull down the JIRA wor…
  • 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…