Dan,

Here is what I do using the latest version of Turbo8 compiler. My app
minimizes to the taskbar just as every other program does. In older
versions, there was a problem minimizing directly to the taskbar which was
corrected several releases ago, check your version.

Startup.Dat file;
connect DBNAME
SET VAR vCompiled TEXT = NULL
GETPROPERTY APPLICATION ISCOMPILED vCompiled
IF vCompiled = 'YES' THEN
  PROPERTY LOADWINDOW TITLE 'Starting Lamp Version 8.0.....'
  PROPERTY LOADWINDOW PROGRESS 90
ENDIF
CLEAR VARIABLE vCompiled

On After start eep on main form:
set messages off
set error messages off
PROPERTY RBASE_FORM DONTSHOWSAVEDIALOG 'TRUE'
PROPERTY RBASE_FORM DONTSHOWDELETEDIALOG 'TRUE'
PROPERTY APPLICATION TASKBARBUTTON 'FALSE'
PROPERTY RBASE_FORM TASKBARBUTTON 'TRUE'
CLEAR VARIABLE vCompiled
SET VAR vCompiled TEXT = NULL
GETPROPERTY APPLICATION ISCOMPILED vCompiled
IF vCompiled = 'YES' THEN
  PROPERTY LOADWINDOW CLOSE 'TRUE'
ENDIF
CLEAR VARIABLE vCompiled
ret 

Bill Eyring

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dan Goldberg
Sent: Wednesday, December 30, 2009 1:42 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Problem with compiled app and the task bar

I am having problems with minimizing my app to the task bar. 

I want to minimize the app to the task bar only, no sliver at the bottom
left side of the desktop. 
Also, when the have a form open from the app and minimize the form(not mdi)
I want to app to minimize as well.

This is my snippet of my code:

I have a startup file which I compile. When it runs it calls the external
form file, which is our application.

--Startup.dat
PROPERTY loadwindow TITLE 'Loading - Please Wait ...'
PROPERTY loadwindow progress 25
x:
REFF lance menu.rff

In the "on after start" eep of the external form file I have the following:

PROPERTY APPLICATION TASKBARBUTTON 'TRUE'
PROPERTY RBASE_FORM TASKBARBUTTON 'FALSE'

But this puts a sliver at the bottom left side. 
I can bring up the app from the task bar though. 
When I minimize a form it minimizes the app a well(which is what I want).

I have tried:

1.
PROPERTY APPLICATION TASKBARBUTTON 'TRUE'
PROPERTY RBASE_FORM TASKBARBUTTON 'TRUE'

It gets a rid of the sliver at the bottom left side.
I can bring up the app from the task bar.
When I minimize the form the app is still there.

2.

PROPERTY APPLICATION TASKBARBUTTON 'FALSE'
PROPERTY RBASE_FORM TASKBARBUTTON 'FALSE'

Shows the sliver at the bottom left side.
I can bring up the app from the task bar.
When I minimize the form the app is still there.

3.
PROPERTY APPLICATION TASKBARBUTTON 'FALSE'
PROPERTY RBASE_FORM TASKBARBUTTON 'TRUE'

Same as #1

Has anybody found a way to do what I am looking for or am I putting the
properties in the wrong place?
 

Dan Goldberg
 


Reply via email to