Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
KevinFournier
About
- Username
- KevinFournier
- Joined
- Visits
- 2,123
- Last Active
- Roles
- Administrator
Comments
-
Obj = OleCreateInstance("SRPEDITOR.ControlInfo") OcxVersion = OleCallMethod(Obj, "GetProVersionNumber")
-
Chris is right. The assumption is that you want your code editing options to apply to all instances of OI, so those are stored in the registry. Anything specific to a particular instance of OI is stored in SYSENV.
-
Here you go.
-
Give this SRPEditor64.ocx a try. Thanks for you examples. It helped me isolate the issues.
-
If you have "Ignore VNAVs in function parameters" checked in the Options, then that's why. Not sure why it's picking up DetachPath unless there is other code referencing that variable.
-
Looks like you are autos sizing all but the first column.
-
Hard to say without seeing code.
-
You can use the "All" keyword as an index. For example, you can set the alignment for all cells in column 2 like so: Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellAlignment[2; All]", "Center":@FM:"Center")
-
You are setting field <4> to True, which ignores the width you set and auto sizes the column to fill up available space.
-
Barry, I tested in 9.4.6. Roger, my only other suggestion is to get a clean copy of OI going and test it there with UTF8 enabled. If it works, then it means your main application is fiddling with UTF8 settings somewhere.
-
This code doesn't make a particularly interesting table, but it shows the wifi icon in the header. Columns = "" Columns<1, 1> = \EE9C81\ Columns<1, 2> = "T" Columns<1, 13> = 1 Columns<1, 14> = 'Segoe …
-
I just tested with check boxes enabled. It still works for me.
-
Here's some code I wrote to change a column's header to the Wifi icon: Set_Property(@Window:".OLE_REPORT", "OLE.ColumnHeaderFont[5]", "Segoe MDL2 Assets") Set_Property(@Window:".OLE_REPORT", "OLE.ColumnHeaderText[5]", \EE9C81\) This only …
-
Windows has fonts like this one that have icons in them instead of letters and numbers.
-
No, it doesn't, but we've gotten around this using icon fonts.
-
I can assure you that the justify array feature is not doing parsing that sophisticated. It's looking for tokens like ':=' and '+='. If I can be a little cheeky, that syntax is silly, if not outright evil.
-
But it's also worth noting that the auto-justifier only works for multiple lines that are setting the same variable.
-
Yeah, the formatter probably sees ADDRLINE: as a label.
-
Sadly, no. This control is a 3rd party control meant for a specific use case: to display information. It wasn't designed with much interaction in mind.
-
It is currently not possible to put a hyperlink in the header for the Report Table control. When I create a column with both check boxes and hyperlinks, I get the OnItemHyperlink event.
-
Thank you for the heads up. I'll add this to my queue of feature requests/fixes for next release.
-
No. That dll is not longer maintained. We created EXEs--SRPInstallRDK.exe and SRPInstallRDK64.exe--instead so we could handle both 32-bit and 64-bit installations. These do support unicode. They take some work to utilize if you're up for it. Our ins…
-
In my system, %AppData% went to roaming, so yes, you were in the right place. These files get written every time you click Apply in the Options dialog, which likely explains the date.
-
We don't have an editline control. I think you meant OI EDITLINE. As far as I know, none of our controls supports the DROPFILES event because that's an OI event and we can't raise those events. The SRP Picture Control is the only one with an OnFileD…
-
Auto text is stored in: %AppData%\SRP\SRP Editor
-
The SRP Table Search just uses the Open/Select/ReadNext statements. It does also use Yield so users can cancel the search.
-
Oh, yes, I ran into several forums where custom themes caused a problem. Glad it's working better at least.
-
It's possible I'm holding on the UxTheme handles too long. I've been using the same handles for all controls globally, trying to be clever and resourceful. But it's possible that Windows prefers theme handles to have the same lifetime as the control…
-
Yes, I'm overdue on an official release. Once this feature is vetted, I'll document and get out there.
-
Matt, Here’s where I think the slowdowns are happening. * Updating NewItems with angle brackets is very slow. It is causing your loop to copy all ten thousand items ten thousand times. * Calling ItemData for each item is slow. Even though it’s…