aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1654

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1654  Popup forms

26/09/2009 @ 04:00
by Gary

Anonymous



I have rewritten a program that uses popup windows to display information. In the first version written in another language the user would click a button to display some information. A popup would lay on top of the main form, but the main form remained in the back-round while the popup was displayed. Similar to a message box. I have rewritten this program using iziBasic. However, I am unable to get the main form to remain in the back-round. The popup display over an empty screen not over the main form. I would like the popups to look similar to a message box.

I have the main form set to save behind. The popups are set to popup frames.

Here is the code I have written to handle the popups.

this opens a popup window

_OFF_INFO:
SAVESCREEN
OPENFORM 105
RETURN


this closes the popup and restores the main form

_OK:
OPENFORM 100
RESTORESCREEN
RETURN
Write to Gary   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
--------
27/09/2009 @ 22:13
by aldweb

Anonymous

visitor
Hello Gary,

It is hard to guess where the issue when seeing only pieces of the source code.

I assume that form #100 is the one you want to return to (it has been previously opened), after closing form #105.

Then, should'nt your source code be like:
_OK:
CLOSEFORM ' #105
'OPENFORM 100 <- shouldn't be needed
RESTORESCREEN 'for #100
RETURN


Cheers,
aldweb
Write to aldweb   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^