Re: hide_view question

From: Mark <markg_at_mymail.co.uk>
Date: 9 May 2002 07:10:24 -0700
Message-ID: <ddb31653.0205090610.7d34e0e7_at_posting.google.com>


Have you tried adding a SYNCHRONIZE after your hide_view call? This will do a screen refresh.

e.g

hide_view('genre');
SYNCHRONIZE; Caption can be changed

:button1.label := 'Hide';

HTH, Mark

meads58_at_yahoo.co.nz (Meads) wrote in message news:<8054a75b.0205090133.1b4488c2_at_posting.google.com>...
> Hello I am trying to show and hide a stacked canvas with the use of
> one button.
> I am using the when-button-pressed trigger and I can get the canvas to
> show with the show_view procedure. My problem is that I can't get the
> canvas to go away, I have tried the hide_view procedure.The code I'm
> using is
>
> go_block('mmm_genre');
> show_view('genre');
> hide_view('genre');
>
> Also once the button is pressed can you change its label from 'show'
> to 'hide'?
>
> thank you
Received on Thu May 09 2002 - 16:10:24 CEST

Original text of this message