ListViewColumn Icons show as "?"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ListViewColumn Icons show as "?"

Theo Pronk
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


Reply | Threaded
Open this post in threaded view
|

Re: ListViewColumn Icons show as "?"

Ian Bartholomew-18
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


Reply | Threaded
Open this post in threaded view
|

Re: ListViewColumn Icons show as "?"

Bill Dargel
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


Reply | Threaded
Open this post in threaded view
|

Re: ListViewColumn Icons show as "?"

Theo Pronk
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
>>
>