Possible Backgrd.-Color or Brush for Outlook2003 ?

Possible Backgrd.-Color or Brush for Outlook2003 ?

Postby ukoenig » Thu Feb 14, 2008 1:36 pm

Hello from Germany,

a small problem :

when i start a extern Dialog with a Outlook-Button,
before i open the Child, there is a black part obove the buttons,
because i cannot set a Basic-Color or Brush for Outlook2003.
As long i don't close the dialog and carry on with the
function, the part is black. On the righthandside
the Brush comes from the Main-Dialog.
Sample : on the top of the Child, i set some parameters
in a extern dialog for the database i want to open.
or start the Calendar ( Screenshot )
Is it possible to get a Brush or Background-Color ?

Image

Regards
Uwe

[/img]
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby James Bott » Thu Feb 14, 2008 4:15 pm

Uwe,

This is because Outlook2003 wasn't designed to call modal dialogs from the buttons. It displays a non-modal dialog in the black area after it calls bChange. Since you are calling another modal dialog from bChange the built-in dialog doesn't get displayed until after you close the modal one.

Look at the setOption() method. You might try moving the bChange eval to after the dialog show(), but I don't know what other consequences this might have.

Note that it is not traditional behavior to call a nonmodal dialog from an outlook bar button. The outlook bar is really designed for SDI applications.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 75 guests