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,208
Last Active
Roles
Member

Comments

  • 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
    in Bing! Comment by AusMarkB November 2014
  • 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 …
    in Bing! Comment by AusMarkB November 2014
  • :-) Works for me. Doesn't work for the control.
    in Bing! Comment by AusMarkB November 2014
  • 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…
  • Another consideration. If you are ending the dialog based on the click event are you returning the 'date' parameter passed through the click event or are you first retrieving the 'selection' property? I haven't tested but I would assume that click…
  • I'll just assume you were as excited about it as I was :-D By the way, I'd like to throw my support behind the background image idea as well while you've got a spare minute or two. Thanks Kevin.
  • Thanks Don
  • Don, Thanks for posting the solution to this one. I just had the same issue and resetting the Prog ID did indeed resolve it. Have there been any other controls that you're aware of that have had similar issues where this is the resolution? Thanks.
  • On site now where the code mentioned above is in production and no-one has mentioned it because it works. They are using version 3.0.0 of the subclass control and with that version, setting the font value of the prompt property to zero is the same a…
  • Hi Don, No on all counts. The improperly functioning prompt occurs because it was written by an improperly functioning coder. The red ones worked because I was setting the font to a bold font. The others I thought I was leaving as default but was…