I have a P4 ver 5.5 r411 question:
We have a global function that is not displaying an icon properly.
The global function contains a paging screen where the customer selects a record (name).
Format header 1 contains a type (icon), height, width, and icon name within the gui option window.
When the name information loads, we are copying an image to the c:\proivclient\bitmaps\ folder.
The icon (which is the persons picture) displays properly the first time.
If we return to our search string field, but do not exit the global, the next name (and any subsequent names) selected uses the originally chosen icon image.
If we look at the icon in bitmaps using mspaint, the correct image loaded each time.
If we exit the global, and it's parent function completely, and then return to the global, the icon displays properly, but only the first time.
It is as if the bitmaps folder is only read one time when entering the logical screen.
As an aside...the same function format header and all related logic and fields, etc, behave properly everytime if used in a normal function (a non global type function).
Can anyone lend some insight to what is going on and how we can possibly correct this?
My apologies if my description is not completely clear. I welcome questions/criticisms.
Jon

Global functions and icons
Started by jbach35, Oct 14 2009 03:51 PM
5 replies to this topic
#5
Posted 26 October 2009 - 04:54 PM
[sorry for the double post...]
Donald,
That worked great. The picture displays correctly each time.
We removed the icon from the header and defined it as a dynamic icon in the field defintion.
but...
Now I can't seem to get the bugger to scale correctly.
I was using the "PICTURE.SCALE = 1" (where PICTURE is the Form Tag ID in the Header) but I don't see how to implement that in the field defintions.
Is there a way to leave the icon defined in the header and declare it dynamic?
Donald,
That worked great. The picture displays correctly each time.
We removed the icon from the header and defined it as a dynamic icon in the field defintion.
but...
Now I can't seem to get the bugger to scale correctly.
I was using the "PICTURE.SCALE = 1" (where PICTURE is the Form Tag ID in the Header) but I don't see how to implement that in the field defintions.
Is there a way to leave the icon defined in the header and declare it dynamic?
Reply to this topic

0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users