dbTalk Databases Forums  

Controlling Custom Dialogue Box in FMP7

comp.databases.filemaker comp.databases.filemaker


Discuss Controlling Custom Dialogue Box in FMP7 in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ron H.
 
Posts: n/a

Default Controlling Custom Dialogue Box in FMP7 - 09-20-2005 , 05:27 AM






Hi All,
As per previous posts, I have a need to open a dialogue box so that I can
show Field text in a separate floating window on top of my main screen.
Using the Custom Dialogue box seems to achieve most of my objectives EXCEPT
I cannot set Scroll Bars on this dialogue box. The only way to show large
volumes of text using this script command is to drag out the margins of the
dialogue box - very clunky.
1. Is there a way that I can place a Scroll Bar on the Custom Dialogue box
2. Is there a way that I can set the size of this dialogue box that opens
via paramaeters etc - as it seems to open to the size of the last box opened
that may have been manually stretched
3. Is there another convenient mechanism that allows me to open a floating
window (one that can be dragged around the screen) and which can display
text data and has scroll bars to handle text deep fields

Regards Ron H.



Reply With Quote
  #2  
Old   
FP
 
Posts: n/a

Default Re: Controlling Custom Dialogue Box in FMP7 - 09-20-2005 , 09:46 PM






If your using FM7 display the text in a text field in a new window.


Reply With Quote
  #3  
Old   
Ron H.
 
Posts: n/a

Default Re: Controlling Custom Dialogue Box in FMP7 - 09-20-2005 , 11:50 PM



Thanks FP,
Does your comment mean - there is no way to control a Custom Dialogue Box
with scroll bars etc, and so the only other option is to create a new
window, which is more work, especially when trying to stop the "main window"
from shrinking

Regards Ron H.
"FP" <a (AT) pottnerconsulting (DOT) ca> wrote

Quote:
If your using FM7 display the text in a text field in a new window.




Reply With Quote
  #4  
Old   
42
 
Posts: n/a

Default Re: Controlling Custom Dialogue Box in FMP7 - 09-21-2005 , 02:57 AM



In article <NE5Ye.4355$0E5.1154 (AT) news-server (DOT) bigpond.net.au>, ronald_h70
@hotttmail.commm says...
Quote:
Thanks FP,
Does your comment mean - there is no way to control a Custom Dialogue Box
with scroll bars etc, and so the only other option is to create a new
window, which is more work, especially when trying to stop the "main window"
from shrinking
That is correct.

Its "wore work" true, but its infinitely flexible too. You can make it
do -anything- you can do in filemaker.

As for stopping the main window from shrinking, that isn't hard, when a
script is running the active window is modal, and the user cannot input
into other windows. So as long as you set it up so that your dialog box
"PAUSES" for input, instead of simply ending you'll be fine.

This makes it easy to implement 'dialog boxes' by opening a new window,
pausing to wait for input (Pause/resume script), and upon a continue
process that input and close the window. The window is modal the whole
time. (I typically Provide an ok button that simply 'continues' the
paused script, and a cancel button that runs a script that closes the
window. (be sure to set it to halt the currently running script.) I also
would hide and lock the status area and set the script so that it can't
be interrupted to complete the effect.

Its actually pretty slick. We've been able to do this for years, but
until FM7 allowed us to open multiple winodws into the same file we had
to use utility files.

-regards,
Dave


Reply With Quote
  #5  
Old   
FP
 
Posts: n/a

Default Re: Controlling Custom Dialogue Box in FMP7 - 09-21-2005 , 03:46 AM



Shrink your main window by 1 pixel, it's no longer maximized so it
won't shrink of its own accord.


Reply With Quote
  #6  
Old   
Ron H.
 
Posts: n/a

Default THANKYOU Re: Controlling Custom Dialogue Box in FMP7 - 09-22-2005 , 06:41 AM



Thanks All,
You exactly answered my question - much appreciated

Regards Ron H.

"FP" <a (AT) pottnerconsulting (DOT) ca> wrote

Quote:
Shrink your main window by 1 pixel, it's no longer maximized so it
won't shrink of its own accord.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.