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,056
- Last Active
- Roles
- Administrator
Comments
-
I can't offer better because you are obviously under constraints from "powers that be", and I don't know enough to offer alternatives that would satisfy their expectations. Otherwise this would be playing 20 questions and nobody got time for that. ;)
-
That is a solution. Not sure if it is the best solution.
-
If this is a beginner programmer perhaps you can change their access level from System Administrator to just Administrator. I think that should disable the Entity menu and avoid accidental deletes.
-
Please clarify something. Is the window launching but only the commuter module isn't being called or is the window not launching at all?
-
I want to make sure I understand a few things... Towards changing one of these currently non-MDI child windows into such, I have created a new DBW window with its own commuter module, and changed all the window events to specify that. I take this…
-
I was guessing it was in a promoted CREATE event handler.
-
Okay. That tells us that Start_MDIChild itself is not your problem. There is something else, most likely in the application logic, that is the problem. I'll leave that to you to unravel.
-
I'm not suggesting we will have arrived at a solution, but it will tell us something if setting the VISIBLE property to 1 actually displays the window. Have you at least tried this?
-
I think it makes sense to make this visible in the commuter module and see if that does anything.
-
Those are track for me. If the windows are not visible, are you doing anything to set the VISIBLE property to 1?
-
Yes. I'm hoping these might reveals clues as to what is happening.
-
To recap: you have windows that are called via Start_MDIChild, they execute their CREATE event handlers, but they are nowhere to be found on the desktop or within the MDI Frame. In the CREATE event handlers, what are the values of the VISIBLE, PARE…
-
My question was whether these problematic windows are calling their CREATE event handlers, not whether they have one. Just trying to help you isolate the problem. BTW, hooking can also be used to determine if there is a speed bump along the way. Yo…
-
I see. Well this is a different problem than what this thread started out to be. I take it that when these windows are not being opened in the frame that they also do not call their own CREATE event handler?
-
Roger - I'm not certain how to create an MDI Child without using Start_MDIChild. This isn't common knowledge or documented anywhere. If I were eager to figure it out, I would create hooks for Start_Window and observe the incoming parameters to see i…
-
Ah...yes it does work. I was testing for the form and it still does not appear to work.
-
Barry - did you actually test this or are you simply going by the existence of the event?
-
I had forgotten about that. I just confirmed that it is still missing in OI 10.2.2. An alternative that will work in OI 9 and OI 10 is putting the SRP Picture control on your form and using its OnFileDrop event. This isn't as convenient of a soluti…
-
Jim - My apologies. That property is a good property, but not 100% for what you are looking to do. I should have pointed you to this property: ACCEPTDROPFILES
-
Jim - Just so I can do an apples-to-apples test, is this an OI edittable or the SRP EditTable?
-
Jim - Did you try it and it didn't work or are you only going off of the documentation? I think when I implemented it, I didn't restrict it to a specific control. I enabled it for the window, and this seemed to work for all controls on the window. …
-
Jim - I think so. I've done this for other OLE controls. Just set the ENABLEDROP property and then use the DROPFILES event.
-
Jim - This is OI 9, correct? I discovered the same issue when I tried to implement a file picker. For some reason the OI code only displays that older looking UI. I gave up and implemented a drag-n-drop solution, which worked even better since the W…
-
Jim - Are you referring to the text in the caption that looks to be clipped out at the bottom?
-
I've never heard of that being an issue before. However, Start_MDIChild is a wrapper around Start_Window so if you were to call it several times in a loop then eventually you would see a performance difference. But for regular launches of a window I…
-
Some has claimed what?
-
@AusMarkB - You'll want to use the OnParentClosing event, which was created for just this scenario.
-
@AusMarkB - Well there was no direct answer to my specific question about whether this occurs only on the same machine so all we can do is surmise.
-
@AusMarkB - I'm curious, have you used this form of redundancy and OLE Automation and seen results or are you just offering general advice? I'm not being critical, but genuinely curious. I had tried that with my Copy issues and no amount of repeatin…
-
HI Roger - No, we never discovered the solution so we created a (much slower) workaround. We know the problem only occurred with Citrix stations.