Re: Forms 4.5 : How to display a window in a loop / end loop
From: Maurício Bellissimo Falleiros <mbf_at_uniconsult.com.br>
Date: Wed, 29 Sep 1999 09:18:01 -0300
Message-ID: <37F20379.D53808B3_at_uniconsult.com.br>
Date: Wed, 29 Sep 1999 09:18:01 -0300
Message-ID: <37F20379.D53808B3_at_uniconsult.com.br>
Hi again Frederic,
The window may be being exibited every turn of the loop, but you cannot
stop the loop to wiat for the double click.
I don't know if you can trap a mouse click without when-mouse-...
triggers,
but if it is possible...
... then you can show the window and, then, create a repeating timer and
begin a loop like this:
default_value( 'NO', 'global.has_clicked');
loop
exit when :global.has_clicked = 'YES';
end loop;
... and within ON-TIMER-EXPIRED form's trigger:
declare x boolean;
begin
- first make sure your timer is the on that has expired and get it's id
- (see help on timers for this) x := detect_mouse_click; if x then :global.has_clicked := 'YES'; delete_timer(your_timer_id); end if; end;
Hope this helps,
Maurício.
-- Maurício Bellissimo Falleiros <mailto:mbf_at_uniconsult.com.br> Uniconsult Sistemas e Serviços <mailto:uss_at_uniconsult.com.br> R. Demóstenes, 627 cj.134/142 - Campo Belo - São Paulo/SP - 04614-013 Brasil Fone/Fax: +55-11-5350885 +55-11-5333335 "Em um minuto apenas há tempo Para decisões e revisões que um minuto revoga." T.S.Eliot * Sent from RemarQ http://www.remarq.com * The Internet's Discussion Network * * The fastest and easiest way to search and participate in Usenet - Free! *Received on Wed Sep 29 1999 - 14:18:01 CEST