View previous topic :: View next topic |
Author |
Message |
tbell
Joined: 06 Apr 2006 Posts: 34
|
Posted: Tue Dec 01, 2020 5:34 pm Post subject: %ff format code not working with salflibc.dll dated 11/17/20 |
|
|
The following %ff code worked for the past 25 years through version 8.5 (using salflibc.dll, dated 4/29/19);however, version 8.7 using salflibc.dll dated 11/17/20 does not work with the following %ff code. Version 8.7 using salflibc.dll dated 4/29/20 does work however..........
C...Transmission Penalty Factor
i=WINIO@('%ff%tcPhantom Transmission Penalty Fact:%tc %ta'//
1 '%fl%7rf&',iTextColor,-1L,0D0,999D0,dHRDispFactB(1))
i=WINIO@('%il %rd %tc%^?`rb[MCS]@%bh%tc&',0,MXM,
1 dMCS_HRDispFactB(1),iTextColor,iDispMCS(17),DispMCS,HelpStr(9),
2 iHelpTog,-1L)
i=WINIO@('%ta%fl%7rf%il %rd %tc%^?`rb[MCS]@%bh%tc%cb&',
+ 0D0,999D0,dHRDispFactB(2),0,MXM,dMCS_HRDispFactB(2),iTextColor,
2 iDispMCS(1,DispMCS,HelpStr(9),iHelpTog,-1L)
******FOLLOWING FORM FEED %ff NOT WORKING....SEEMS IGNORED************
i=WINIO@('%ff%ob[scored]%nl%tc%taInstallation%ta'//
1' Retirement%ta '//
+ 'Spin Reserve Fraction Blocks%tc&',iTextColor,-1L) |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Tue Dec 01, 2020 7:53 pm Post subject: |
|
|
Sorry about that.
An adjustment was made for %ff within %ob because it was causing problems. This has had and unexpected impact on some existing code. You may need to modify your code in order to use the latest DLLs.
This may be just a case of (say) replacing %ff by %nl. If it is not obvious then let me know and I will take a look. |
|
Back to top |
|
|
tbell
Joined: 06 Apr 2006 Posts: 34
|
Posted: Tue Dec 01, 2020 8:20 pm Post subject: |
|
|
%nl does not work with the 4/29/19 DLL so I assume it won't work with the new one either. I have an application with at least a hundred input windows and thousands of input variables. These variables are arranged in boxes as is seen in the code I sent. This is a major issue for me as the code has worked for 25 years prior and the windows are useless if the %ff don't work properly. What is your suggestion if I have a major box (%ob)with several internal boxes that get placed below each other using the %ff format code. |
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Tue Dec 01, 2020 8:32 pm Post subject: |
|
|
One thing I've used is the %ob option of [bottom_exit]. This forces the next box to be below the current box. Just like of a %ff was issued. |
|
Back to top |
|
|
tbell
Joined: 06 Apr 2006 Posts: 34
|
Posted: Tue Dec 01, 2020 10:15 pm Post subject: |
|
|
Thanks for the suggestion; however, that doesn't work either. It seems to have something to do with a box inside another box. |
|
Back to top |
|
|
tbell
Joined: 06 Apr 2006 Posts: 34
|
Posted: Tue Dec 01, 2020 10:21 pm Post subject: |
|
|
Actually I did get the %ob[bottom_exit) to work....added it to the the wrong %ob. |
|
Back to top |
|
|
tbell
Joined: 06 Apr 2006 Posts: 34
|
Posted: Tue Dec 01, 2020 11:41 pm Post subject: |
|
|
Paul,
The the %ob[bottom_exit) doesn't work on many of my input windows. Is there another solution? |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Wed Dec 02, 2020 8:58 am Post subject: |
|
|
tbell
I will take a look. It may be necessary to provide a ClearWin+ option that restores the previous %ob%ff behaviour. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Wed Dec 02, 2020 10:56 am Post subject: |
|
|
tbell
I will need the whole of a winio@ construction in order to check this out.
Can you find a simpler/shorter sample of a complete winio@ sequence and either post it here or put it on DropBox. |
|
Back to top |
|
|
tbell
Joined: 06 Apr 2006 Posts: 34
|
Posted: Wed Dec 02, 2020 3:44 pm Post subject: Program to test %ob within %ob with %ff |
|
|
INCLUDE <WINDOWS.INS>
INTEGER*4 i
C..Test %ob within %ob with %ff
C.......Test Box 3 should be below Test Box 2
i=WINIO@('%ob[scored]Test Box 1%ff%nl%ob[scored]Test Box 2%cb'//
+ '%ff%ob[scored]Test Box 3%cb%cb')
END |
|
Back to top |
|
|
tbell
Joined: 06 Apr 2006 Posts: 34
|
Posted: Wed Dec 02, 2020 5:55 pm Post subject: Issue with [bottom_exit] option |
|
|
INCLUDE <WINDOWS.INS>
INTEGER*4 i
C..This code shows the issue with the [bottom_exit] option as I want Test Box 4
C..to display below Test Box 2 not Test Box 3
i=WINIO@('%ob[scored]Test Box 1%ff%nl%ob[scored]Test Box 2%cb'//
+ '%ff%ob[scored,bottom_exit]Test Box 3%cb%ob[scored]'//
+ 'Test Box 4%cb%cb')
c i=WINIO@('%ob[scored]Test Box 1%ff%nl%ob[scored]Test Box 2%cb'//
c + '%ff%ob[scored]Test Box 3%cb%cb')
END |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Wed Dec 02, 2020 8:09 pm Post subject: |
|
|
This turns out to be a regression that has now been fixed.
New (post v8.70) DLLs will be made available shortly. |
|
Back to top |
|
|
tbell
Joined: 06 Apr 2006 Posts: 34
|
Posted: Wed Dec 02, 2020 8:49 pm Post subject: |
|
|
Thanks much! |
|
Back to top |
|
|
tbell
Joined: 06 Apr 2006 Posts: 34
|
Posted: Wed Dec 30, 2020 8:17 pm Post subject: |
|
|
Paul,
When do you expect the new DLL to be available. Thanks. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Thu Dec 31, 2020 8:38 am Post subject: |
|
|
Please see you personal messages. |
|
Back to top |
|
|
|