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
- 312
- Last Active
- Roles
- Member
Comments
-
I kind of like Kevins idea as well. Thanks for the thoughts and time. It is as always appreciated.
-
Yes, I understand.
-
I need to think about this. But yes Don, just creating the array of data to load into the table takes a bunch of time. Calculating the value held in the cells takes time. I did gain a large performance increase by pre-allocating memory ArrayData = …
-
So POSCHANGING will fire if the user is at the top of the table and presses the up arrow?
-
We have massive datasets which I need to display in an editable, if I populate the entire thing it takes way too long, a lot of the fields have to be calculated. So, we instead have an editable that contains just a portion of the dataset and a separ…
-
If I was to use your edittable, we use it pretty much everywhere else, could I then intercept the arrow keys etc? BTW the typo was in my post on here it was correct in my code.
-
No I have a table called sys_file. I use it to store configuration settings for the app. OI 9.4 I just rebooted the laptop to see if that helps. I can't see what makes it happen... ... I'll note what I was doing if it happens again. 3.4.7 made i…
-
No I am wrong, it's not fixed. It seems to be intermittent.
-
Yes, it's fixed in 3.4.7.
-
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.