Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
AusMarkB
About
- Username
- AusMarkB
- Joined
- Visits
- 3,234
- Last Active
- Roles
- Member
Comments
-
Thanks for the insight Don. I have implemented the reusable features concept myself in the manner you describe but I use the Panel control to embed the form rather than the shortcutbar. The advantage? The panel takes up no more real estate on the pa…
-
and in case it helps, here's one of the error messages I received
-
Unfortunately, how a proper child should behave is subject to wide and varied opinion. I take your point about the amount of overhead involved and suspected as much. In my instance I was not using the control the way it would likely be used in prac…
-
Maybe I should clarify a little on that last point. I cater for this now by catching the newapptdrop event and just changing the datetime fields of the oldappointment to the new date and then call the addappts method.
-
Automating the synchronisation works for me. Copying appointments across multiple days? Yes drag across the datepicker in the same way you can now by holding Ctrl and dragging the appointment to the date you want it.
-
Ed, Also try this thread. It might help shed some light on it and only occurred with buttons whose style was 'XP' https://forum.srpcs.com/discussion/111/drawing-issues-with-windows-7
-
Hey Colin, I'm sure that support for multi-line tooltips will be quite easy to implement once the feature is added but given your extensive experience with the SRP toolset here's an example of how I implemented multi-line tooltips for ribbonbar but…
-
The screenshots above are from an app I'm working on on my personal laptop. I am back on site today where I first noticed the problem for the client that I mentioned initially. I've made the same change here and received the same improved results.
-
Sorry but one more clarification I've just established. Setting the style after the other properties is not a resolution in itself. The problem is the setting of the style before the caption/icon properties. So if you set the style, then set the c…
-
Here's another one where there are eight buttons and in this instance one of the buttons draws properly. I can close and restart this window multiple times and each time up to 1, 2 or 3 of the buttons will draw properly and the rest won't. There is …
-
Extremely consistent Don. With most windows probably 70-80% of the buttons have this problem. I use one function to initialise all buttons the same way. I just pass in the things that differ such as the caption and image. The function does all the…
-
Ok. This is the section of code that we set it and the only place that we refer to the forecolor property. Set_Property(ctrlentid, 'OLE.CaptionList', CaptionList) Set_Property(ctrlentid, 'OLE.IconList', IconList) Set_Property(ctrlentid, '@TOOLT…
-
Thanks Kevin
-
Just checking in. Any traction?
-
Just wondering if the picture control had been taught this lesson yet?
-
Love your work Kevin
-
Just to clarify too Don. Updating the item property works fine. So well in fact that it led to this goof in the first place. Thanks for the bouncing board.
-
Hi Don, Firstly, problem solved. My code hence it only started yesterday. In answer to your question; Yes with the item property like this: Set_Property(MDI_PopupMsg@, "OLE.Item[3]", fm$:'Checking for existing connection') Set_Property(MDI_PopupMs…
-
Colin, As Don said, maximum flexibility because it is under your control. For the close concept, I build the popup size to suit the message, again as Don recommends, but then I insert a button with a close icon in the top rh corner. So once I know …
-
Hey Colin, I have one function that I use for displaying all my srp popups. Whilst I use different poupup characteristics, for different types of uses, It allows for consistency amongst like popups but also eliminates the need for me to remember al…
-
I generally qualify all events as synchronous so my experience may be a red herring here but in the instances where I've experienced OI crashing for this scenario I've worked around it by one of two ways, both of which have at least been mentioned o…
-
Thanks Don, I'll revisit my approach
-
Well that appears to have worked. Only one bing left which is not associated with the control. As I have one routine to qualify all my events and its an old one, everything was being qualified synchronously so would you mind please directing me to …
-
:-) Works for me. Doesn't work for the control.
-
Wow Kevin, two woohoos in two days. ............... now what excuse can I find to play with this one?
-
Interesting that you encounter this with a move to OI9. I had this problem in the past and with embedding just one form only as opposed to multiple forms. As I was only testing the functionality I didn't pursue a resolution with any great vigour. …
-
Hi Don, Same problem here. Exactly as you described. The control went black and OI hung. OI 9.3.2 and Windows 7 Enterprise SP 1
-
Don, I've changed the approach to use the panel control for the form and the shortcutbar just for listing items. Initially I was going to embed the form into the first group of the shortcutbar so it could be collapsed out of the way (if embedded fo…
-
One more piece of info. If I change the shortcutbar to a panel and use the setform method it all works regardless of the controls on the window being 'embedded' into the panel. Don't know whether that helps or not but thought I'd throw it out there.
-
Just stepped through this again with a form without any controls and I see that the embedding seems to complete after the set_property call that it hangs on when there is a control. So the steps are 1. Start the parent window that contains the short…