Tip of the day! popup vs msgbox
fp at casabellagallery.com
fp at casabellagallery.com
Sat Dec 1 06:10:06 PST 2007
How do these two compare? Have you used a messy and lengthly
msgbox() to display a neat and friendly message?
If so, you should give this a try:
Define a screen. Make sure X,Y coordinates start at 0,0
and in lieu of using your msgbox() use popup. Combined with
waitkey, you can also capture input.
Why bother? Well, you really do not have to but I am sure that
if you think about it, you may have some occasions right now,
where using popup will make your code look simpler, cleaner and
easier to read.
Here are some other benefits:
a) You can put a lot of content on a screen
b) Makes for less bulky processing tables
c) Screen editing tools (Laura's Screen Painter) make it possible
to jazz up your messages - Not intended to be a plug!
d) Messages will simply display better and added format control.
I used to name these screens _msg### and I later changed to simply
_###. To aid myself, I started to put the ### on a corner of the
screen so that if I needed to make a change to the screen, I could
easily identify it and not have to open every screen to match its
content (yes, this is the one thing you loose, ability to search
for string).
I am sure that many already use this but, are you among them? If not,
welcome aboard! :)
---
Jose Lerebours
954 559 7186
http://www.fpgroups.com
More information about the Filepro-list
mailing list