replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Spin wheel bug
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Spin wheel bug

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Ralf



Joined: 30 Aug 2007
Posts: 51
Location: munich

PostPosted: Thu May 22, 2025 9:56 am    Post subject: Spin wheel bug Reply with quote

I have some problems using 2 spin wheels on the same dialog. When I use the second spin wheel several times, the variable of the first spin wheel changes its value. The problem occurs with 32bit and 64bit compiled with ftn95 version 9.10. Compiled with 9.02 I can not see any issues.

Here is my sample code:
Code:

      winapp
!==================================================================
      MODULE data_module 
      integer*4 :: var_1        = 1 
      integer*4 :: var_2        = 2             
      end module data_module   
!==================================================================
      Program Test    
      integer :: winio@, iw     
      external :: cb_func_1 
    
      iw = winio@ ('%ca[Test]&')
      iw = winio@ ('%mn[CB1]',cb_func_1)
      end 
!==================================================================
      integer*4 function cb_func_1()    
      use data_module
      integer :: winio@, iw
      external cb_func_2, cb_func_3
 
      cb_func_1 = 2 
      iw = winio@ ('%`ca[Test]&')
      iw = winio@ ('Variable 1  &')
      iw = winio@ ('%dd%`bg[window]%^6rd%nl&',1, var_1, cb_func_2)
      iw = winio@ ('Variable 2  &')
      iw = winio@ ('%dd%`bg[window]%^6rd%nl&',1, var_2, cb_func_3)
      iw = winio@ ('%ff%2nl%`10bt[Close]')       
      end
!==================================================================
      integer*4 function cb_func_2()
      use data_module
      cb_func_2 = 1
      end
!==================================================================
      integer*4 function cb_func_3()            !
      use data_module
      cb_func_3 = 1
      end
Back to top
View user's profile Send private message
Kenneth_Smith



Joined: 18 May 2012
Posts: 813
Location: Hamilton, Lanarkshire, Scotland.

PostPosted: Thu May 22, 2025 11:42 am    Post subject: Reply with quote

Ralf, please see the following post:

http://forums.silverfrost.com/viewtopic.php?t=5065
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group