Hi,
When my application is deployed the Up/Down arrows in the list view columns (sort headers) show as a "?" icon. Is this a bug or has something been stripped that shouldn't be? Any ideas? Thanks, Theo Pronk |
Theo,
> When my application is deployed the Up/Down arrows in the list view > columns (sort headers) show as a "?" icon. Is this a bug or has > something been stripped that shouldn't be? > > Any ideas? I thought that had been fixed in the latest version?. Anyway, the icons are contained in the DolphinDR005.dll file so if you put a copy of that in the same folder as your executable, or make it available on the normal Windows search path, you should get the arrow icons back. -- Ian |
Theo,
Ian's suggestion is one solution. But the DolphinDR005.dll file is quite large. If all you need are the list view column up/down arrows, here's another approach that will work. Those two icons (but none of the others) are already included in the stub file and so get included in your ToGo .exe file. If you need other icons, I believe they could be added to the .exe file, but that's not something I've tried. You just need to add the following to your subclass of SessionManager for the deployed app: defaultResLibPath ^self imageFileName With that it looks in the .exe file for resources and finds the arrow icons. This is what I'm using with 5.0. Not sure if something related to this has been changed in 5.1. regards, -Bill Ian Bartholomew wrote: > > Theo, > > > When my application is deployed the Up/Down arrows in the list view > > columns (sort headers) show as a "?" icon. Is this a bug or has > > something been stripped that shouldn't be? > > > > Any ideas? > > I thought that had been fixed in the latest version?. > > Anyway, the icons are contained in the DolphinDR005.dll file so if you > put a copy of that in the same folder as your executable, or make it > available on the normal Windows search path, you should get the arrow > icons back. > > -- > Ian -- ------------------------------------------- Bill Dargel [hidden email] Shoshana Technologies 100 West Joy Road, Ann Arbor, MI 48105 USA |
Hi Bill/Ian,
I tried the suggesting of Bill's as it seemed the more appropriate way of fixing the problem, and it works fine. Thanks heaps, Theo =================== Bill Dargel wrote: > Theo, > > Ian's suggestion is one solution. But the DolphinDR005.dll file is quite > large. If all you need are the list view column up/down arrows, here's > another approach that will work. Those two icons (but none of the > others) are already included in the stub file and so get included in > your ToGo .exe file. If you need other icons, I believe they could be > added to the .exe file, but that's not something I've tried. > > You just need to add the following to your subclass of SessionManager > for the deployed app: > > defaultResLibPath > ^self imageFileName > > With that it looks in the .exe file for resources and finds the arrow > icons. This is what I'm using with 5.0. Not sure if something related to > this has been changed in 5.1. > > regards, > -Bill > > Ian Bartholomew wrote: > >>Theo, >> >> >>>When my application is deployed the Up/Down arrows in the list view >>>columns (sort headers) show as a "?" icon. Is this a bug or has >>>something been stripped that shouldn't be? >>> >>>Any ideas? >>> >>I thought that had been fixed in the latest version?. >> >>Anyway, the icons are contained in the DolphinDR005.dll file so if you >>put a copy of that in the same folder as your executable, or make it >>available on the normal Windows search path, you should get the arrow >>icons back. >> >>-- >>Ian >> > |
Free forum by Nabble | Edit this page |