Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #12889
| From | Franz Rachbauer <office@rachbauer.org> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: A short question: |
| Date | 2020-03-03 12:27 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <r3leus$11k4$1@gioia.aioe.org> (permalink) |
| References | <035266d8-49a2-491d-9951-013ab945d6e0@googlegroups.com> <69ee4418-25f7-4228-bade-a89eab5aaf23@googlegroups.com> |
Hi Gunter, the vars _HEIGHT and _WIDTH are constants (397 and 283) to calc the Y size for a given X of 100, so all images are of same width. FabPaintLib should read ico files directly without renaming as you can see in method FabPaintLib.CreateFromFile. The resize you can do with oBild:ResizeBilinear(32, 32). Franz Am 03.03.2020 um 11:12 schrieb rhsteinfurth@gmail.com: > Am Montag, 2. März 2020 10:34:17 UTC schrieb Gunter: >> How do I display icons in a cell of the bBrowser? The file name of the icon is in the connected DBF. The icons have different resolutions. >> Thanks in advance. >> Gunter > > Hi, Franz, > it works. I only rename the .ico to .jpg ( or .bmp) and the METHOD GetImage() shows the image. > But only icon Files with an resolution of 32 x 32 pixel. > An Icon with 144 x 144 Pixel I have to change to 32 x 32 (e.g. with Paint). > That is very cumbersome but a possibility. > The Variable _HEIGHT and _WIDTH I couldn't find, I took a fixed value. > Maybe you still have an idea to change the resolution of the icon file by program. otherwise I thank you very much for your help. > Gunter >
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
A short question: Gunter <rhsteinfurth@gmail.com> - 2020-03-02 02:34 -0800
Re: A short question: Franz Rachbauer <office@rachbauer.org> - 2020-03-02 12:17 +0100
Re: A short question: sherlocksoftware@gmail.com - 2020-03-10 08:58 -0700
Re: A short question: Franz Rachbauer <office@rachbauer.org> - 2020-03-11 05:58 +0100
Re: A short question: rhsteinfurth@gmail.com - 2020-03-02 05:56 -0800
Re: A short question: Franz Rachbauer <office@rachbauer.org> - 2020-03-02 18:04 +0100
Re: A short question: rhsteinfurth@gmail.com - 2020-03-03 02:12 -0800
Re: A short question: Franz Rachbauer <office@rachbauer.org> - 2020-03-03 12:27 +0100
Re: A short question: rhsteinfurth@gmail.com - 2020-03-06 08:58 -0800
Re: A short question: Franz Rachbauer <office@rachbauer.org> - 2020-03-06 20:22 +0100
Re: A short question: Stefan Überbacher <info@sanosoft.com> - 2020-03-09 00:05 -0700
Re: A short question: rhsteinfurth@gmail.com - 2020-03-17 01:05 -0700
csiph-web