starting an application 
Author Message
 starting an application

I am new to PDOXWIN, so some questions maybe obvious.

1)  How can my application hide Paradox from end-users?
    So that the application occupies the whole screen
    when it starts.

2)  In the Form Window Properties dialog box, can I
    choose Window Style as "Window", but also disable
    the "Minimize Button" in Title Bar Properties?
    If yes, how do i do this?

3)  I tried the "deliver" option to compile a form,
    and experience only slight improvement when loading.
    But no difference at runtime.  Exactly what are
    the differences between "save" & "deliver"?  What
    are the various ways to improve runtime performance?

Thanks in advance.
--
Sincerely,

John Tam



Fri, 05 Jul 1996 07:33:56 GMT
 starting an application


Quote:
>I am new to PDOXWIN, so some questions maybe obvious.
>1)  How can my application hide Paradox from end-users?
>    So that the application occupies the whole screen
>    when it starts.

You can use application.hide() to hide the Paradox desktop. The
easiest way to do this is to place the code in the open method
of your form.  You will also need to place an application.show
in the close method of the form so that you can get back to the
PW desktop.  Also note that you will need to make your form a
dialog style otherwise your form will disappear with the desktop.
The following is an example:

method open(var eventInfo)
var
  app application
endvar

  app.hide()

endMethod  

Quote:
>2)  In the Form Window Properties dialog box, can I
>    choose Window Style as "Window", but also disable
>    the "Minimize Button" in Title Bar Properties?
>    If yes, how do i do this?

No, not from the From Window Properties dialog box. All Window
Style forms must have a control menu, minimize and maximize
buttons.  This is a property of window style forms, only dialog
box can be striped of these properties.

It possible to block this action in with ObjectPAL.  The following
is an example:

method menuAction(var evenInfo menuEvent)    

if eventInfo.id() = menuContolMinimize then
  disableDefault                             ; don't process the event
endif

endMethod

Quote:
>3)  I tried the "deliver" option to compile a form,
>    and experience only slight improvement when loading.
>    But no difference at runtime.  Exactly what are
>    the differences between "save" & "deliver"?  What
>    are the various ways to improve runtime performance?

The deliver option will give you a slight increase when loading a form
only because it does not have to compile a form before loading it.  One
of the main reasons for delivering the form, is to keep the end-users
from changing the code or properties of the form.  Think of it as making
the form read-only.  The save option is to save your form for later use.

I hope this helps.

-Joseph
--
       ___                ___  ___
      /  /                \  \/  /     Limax Computing - Paradox Questions?

    /  /___  / /\/\   /_|  / \  \
   /______/ / /    \ /  | /__/\__\
_____________________________________  Joseph Bentley - Consulting Engineer



Fri, 05 Jul 1996 10:55:24 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Starting an application via the command line vs Run|Application

2. START JAVA APPLICATION

3. Problem with starting Interprise Application Server

4. error 524 on starting an application with a jet db

5. How to start another application from forms ?

6. Unable to start the Application Server Service(Follow up)

7. Unable to start the Application Server Service

8. Unable to start the Application Server Service

9. Cannot start Oracle Application Server!?

10. OAS: Can't start up Applications

11. Pdoxwin 4.5 starting Window Applications

12. Heads start new applications. - appcore.zip (0/1)


 
Powered by phpBB® Forum Software