Is there any way I can force a template to refresh the prompts on a template tab?
Situation is
Check box enables or disables a drop down & two prompts.
Drop down enables or disables first prompt <-- no longer a #Enable now a prop(Prop:Readonly) but this readonly function doesnt work either.
Prompt 1is Prop read only based on a group returning a value based on the above drop down
Prompt 2is the result of the above options.
The problem I’m seeing is the two prompts are not refreshing after any assignment using #clear or #set.
So is there anyway I can force a refresh on the prompts?
TIA
#Tab('&7 Link')
#Display('')
#Display('')
#Prompt('Link',Check),%iscwLinkCheck,At(10),WhenAccepted(%grpWAtab7LinkCheck() )
#Enable(%iscwLinkCheck)
#Prompt('Project Define:',Drop('Own Project Define|_ABCLinkMode_')),%iscwLinkProjectDefine,Default('Own Project Define'),WhenAccepted(%grpWAtab7LinkProjectDefine() )
#Prompt('Link Flag:',@s255),%iscwLinkFlag,Req,WhenAccepted(%grpWAtab7LinkFlag() ),Prop(Prop:ReadOnly,%grpFuncTab7LinkFlagReadOnly() )
#Validate(%grpGVtab7LinkFlag(),'Check Tab 7: Link Flag')
#Prompt('Link Declaration:',@s255),%iscwLinkDeclaration,Req,WhenAccepted(%grpWAtab7LinkDeclaration() )
#Validate(%grpGVtab7LinkDeclaration(),'Check Tab 7: Link Declaration')
#EndEnable
#Display('If the class methods (procedures) are in a seperate .CLW')
#Display('file, it needs to be linked in to the Project.')
#Group(%grpWAtab7LinkCheck)
#IF(%iscwLinkCheck = %False)
#Set(%iscwLinkProjectDefine,'Own Project Define')
#Set(%iscwLinkFlag,'') #!Clearing value but not displaying a cleared prompt
#Clear(%iscwLinkFlag) #!Clearing value but not displaying a cleared prompt
#Set(%iscwLinkDeclaration,'') #!Clearing value but not displaying a cleared prompt
#Clear(%iscwLinkFlag) #!Clearing value but not displaying a cleared prompt
#EndIF
#Group(%grpWAtab7LinkProjectDefine)
#IF(%iscwLinkProjectDefine = '_ABCLinkMode_')
#Set(%iscwLinkFlag,'_ABCLinkMode_')
#ElsIF(%iscwLinkProjectDefine = 'Own Project Define')
#IF(%iscwLinkFlag = '_ABCLinkMode_')
#Set(%iscwLinkFlag,'') #!Clearing value but not displaying a cleared prompt
#Clear(%iscwLinkFlag) #!Clearing value but not displaying a cleared prompt
#EndIF
#Else
#Set(%iscwLinkFlag,'') #!Clearing value but not displaying a cleared prompt
#Clear(%iscwLinkFlag) #!Clearing value but not displaying a cleared prompt
#EndIF
#Group(%grpWAtab7LinkFlag)
#Set(%iscwLinkDeclaration,'Link(''' & %iscwClassFilename &'.clw'',' & %iscwLinkFlag &')' )
#Group(%grpWAtab7LinkDeclaration)
#Set(%iscwLinkDeclaration,'Link(''' & %iscwClassFilename &'.clw'',' & %iscwLinkFlag &')' )
#Group(%grpFuncTab7LinkFlagReadOnly)
#IF(%iscwLinkProjectDefine = '_ABCLinkMode_')
#Return %True
#Else
#Return %False
#EndIF
#Group(%grpGVtab7LinkFlag)
#IF(%iscwLinkProjectDefine = 'Own Project Define')
#IF(%iscwLinkFlag = '_ABCLinkMode_')
#Set(%iscwLinkFlag,'') #!Clearing value but not displaying a cleared prompt
#Clear(%iscwLinkFlag) #!Clearing value but not displaying a cleared prompt
#Return %False
#End
#ElsIF(%iscwLinkProjectDefine = '_ABCLinkMode_')
#IF(%iscwLinkFlag = '_ABCLinkMode_')
#Return %True
#Else
#Set(%iscwLinkFlag,'_ABCLinkMode_')
#Return %True
#EndIF
#Else
#Return %False
#End
#Group(%grpGVtab7LinkDeclaration)
#Set(%iscwLinkDeclaration,'Link(''' & %iscwClassFilename &'.clw'',' & %iscwLinkFlag &')' ) #!Setting value but not displaying the value
#Return %True