Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

jimvaughan

About

Username
jimvaughan
Joined
Visits
296
Last Active
Roles
Member

Comments

  • Kevin, Thank you, I think understand that. Let me give it a try.
  • Got it working by using an edit table, drag and drop png file on to the relevant line of the XML (displayed in the edit table), update xml with new png file, update toolbar by resting and telling it to use the new XML.
  • Or I could drop the file, save the name and then click on the button I wanted to assign the png file to. I'll just do it it with a seperate edit table that I'll parse the XML text into and have one column be the location of the png file that I will…
  • If I knew the button name I could find the appropriate line in the XML file. I laready have the XML file completed, all that's missing from the XML is the SmallIcon or LargeIcon value. BTW the names I used are generated via code and they match the …
  • I only mentioned I had not tested all the controls just for completeness as other controls might also not work with the DROPFILES event, I was trying to be accurate. Well I was hoping the event would report the button that the png file was dropped…
  • I think that is accurate, however I did not test all the OLE controls you provide. Is it likely that the Ribbon can be made to see this event, or should I look at another way of doing this? What I was trying to do was find a way of adding icons t…
  • I just retested using SRP.EditTable.1, set ACCEPTDROPFILES for the entire from and the SRP OLE Edit Table does fire the DROPFILES event.
  • I have this working on everything except where I wanted it to work. By way of example it works fine on an SRP OLE Edit line, I can not seem to get it to work on a SRP OLE Ribbon control. Is it not supported on the Ribbon, or am I doing something wro…
  • Chris- thanks for the heads up. This is just a quick piece of code to make assigning icons easier. It's not going to be used on an ongoing basis.
  • Don, Ah ha, let me try that tomorrow.
  • Don, Nope enabled it for entire window. Still no event fires.
  • >> 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. Will that suffice?<< Maybe i need to enable it for the entire window. Let…
  • Don, I got rid of the POSCHANGED event, no idea where that was coming from. I deleted the form and started with a new form from scratch. I set the ENABLEDROP on an editline and a standard edittable on the form and confirm property is set by doing …
  • Don, I have never used the dragdrop functionality before. I created a test form. Added an edittable. In create event set ENABLEDROP property of edittable to 1. Add a debug event to DROPFILES event. Then run the form. Then drop a file on the table. …
  • Don, That doesn't seem to work. From the above link: ENABLEDROP Applies to All Controls except OLE controls.
  • Don- OK let me give it a try.
  • Don - Yes OI 9. Can I drag and drop onto the OLE Ribbon control? If so, that might indeed a much better solution.
  • Fixed. It was resolution and probably scale dependent. I had the OLE ribbon control up at the top of the window, above the mdi frame. On my system it did not cause an issue, however with different resolutions this control would overwrite the text …
  • Kind of, I had looked at that (and used it before). However, this gives me something that looks like this What I want is something that looks like this: Maybe I have to call the Win API directly to get this modern file open dialog? I was hop…
  • I am giving Andy a new update from my system; it only happens with his OI setup. I have tried on my end to reproduce it and cannot.
  • Confirmed, he is running Windows 10.
  • Yes, the text in the title bar is clipped at the bottom. There are also two lines above the text that I have no idea where they come from. I just tried to reproduce on a second system here (both my machies run Windows 11) and both my machines lo…
  • Jared, Yes, we would be interested in seeing a demonstration. Could you contact Andy Gilman , andygilman@waterloo-software.com he is expecting an email from you.
  • Thank you that helps.
  • Thanks Frank, I thought that was Kevin replying.
  • Perfect thanks Kevin, that's what I will do.
  • I have tried 1x 2x 3x and 4x and all seem to look the same (or at least on my monitor they look the same) should I just use 4x? Or would 1x be the best choice?
  • After looking at the sample file, I found the following. 1x 16x16 small. 32x32 large. 2x 32x32 small. 64x64 large. 3x 48x48 small. 96x96 large. 4x 64x64 small. 128x128 large.
  • My co-worker likes this vector set: https://axialis.com/icongenerator/stock-icons/office-pro/ If I was to use this set which icons, should I use for the ribbon? It has choices of 1x 2x 3x 4x and large and small with in each of those. Thanks for the…
  • OK, I'll go with the Pure Flat ones.