[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference dssdev::decforms

Title:DECforms
Notice:This is not an official software support channel. Kit info: 4.L
Moderator:DSSDEV::FORMS
Created:Thu Mar 23 1989
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:4004
Total number of notes:16520

3981.0. "Double refresh with 2 forms" by TRN02::VIALE (Siamo in missione per conto di Dio) Fri Feb 07 1997 11:31

Hi,
	my customer has a 'refresh' problem while working with DECforms V2.1b
	and ACMS V4.1 on Alpha.

	There are 2 different forms with 2 screen-wide panels and viewports.

	The application first calls Panel A of Form A dislayed on Viewport A,
	receives a code, inquires the database and then calls Panel B of 
	Form B displayed on Viewport B, to show the data read from the db.
	Panel B covers completely Panel A.

	Well, when I quit Panel B, with this response

		Function Response QUIT
			Let SCELTA = "USCITA"
			Remove All
			Return
		End Response

	to enter some other code on Panel A, I get a double refresh of 
	Panel A, I mean,  Panel A is repainted on the screen and then 
	refreshed.
	
	This behaviour changes (no additional refresh) if I remove
	Viewport A before calling Panel B. In this case when I quit 
	Panel B, Panel A is repainted correctly and I don't see any 
	'flash' on the screen.

	My customer complains that there are other cases in his applications
	in which the overlapping Panel does not hide completely the Panel
	below and so he doesn't want to remove the viewport.

	Any hints?

	Thanks in advance

	Roberto
T.RTitleUserPersonal
Name
DateLines
3981.1DSSDEV::DINTINOMon Feb 10 1997 09:459
Just wondering, why say "Remove All"?  That removes from the display
all the viewports and their contents.

Don't you really only want to "Remove Viewport B" when you exit Panel B?

That should re-display (refresh only once) Viewport A and consequently
Panel A that was underneath.

Domenic