Tip of the day! show and cls - The lost commands

Mike Fedkiw filepro at adelphia.net
Thu Dec 6 19:33:46 PST 2007


filepro 5.0.09
cls("21") only clears up to line 24, does not clear line 25




----- Original Message ----- 
From: <fp at casabellagallery.com>
To: <gccconsulting at comcast.net>
Cc: <filepro-list at lists.celestial.com>
Sent: Sunday, December 02, 2007 4:44 PM
Subject: RE: Tip of the day! show and cls - The lost commands


> Richard posted:
>
>> > [ snip ]
>> >
>> > In short:
>> > 1) re-discover cls() to clear blocks of your screen or your
>> > entire screen.
>> > 2) Make use of show "" to make sure those non-relevant
>> > options are gone off the
>> >    bottom of the screen.
>> >
>> Jose,
>>
>> Remember that msgbox() and errorbox() take position and input 
>> options(single
>> key). One can place these boxes anywhere on screen.
>>
>> The also take the standard show codes for displaying text and background
>> colors, at least with the windows version.
>>
>> The problems with show popup is most programmers do not end this command
>> properly.  The just CLEARP which closes the screen but doesn't end the
>> function.  You will get an error if that same screen needs to come up 
>> again.
>>
>
> Richard, I guess your comments would be better suited for my previous
> Tip of the day!  This last post, to which you replied, addresses the use
> of show and cls as a balance to msgbox(), errorbox(), popup and 
> browse-lookup.
>
> I agree with you as far as the ability of using msgbox() and errorbox()
> and placing these messages on a given X,Y point on your screen plus, the
> option to capture input.  I mentioned most of this on my previous tip but
> countered that if you used popup instead, you have all that without the 
> bulky
> code.  As far as color is concerned, if you had Laura's screen painter, 
> you
> can have any color combination no matter which OS you are running on 
> (again,
> no intended as a plug!  8-)  ).
>
> You did get my attention when you mentioned "not closing properly".  Could 
> you
> please elaborate?  I did not know you needed more than 'clearp' to 
> clear/close a
> popup screen.  I have never ran into the error you are referring to and I 
> am
> not sure what you mean by "close the function".  I know that if you try to 
> popup
> a screen while one is open, you get an error ... (not even sure if you 
> still do
> in current versions). Are you referring to show_popup which allows you to 
> stack
> them and close them individually?
>
> Thanks,
>
>
> ---
> Jose Lerebours
> 954  559  7186
> http://www.fpgroups.com
>
>
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
> 




More information about the Filepro-list mailing list