FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Possible Backgrd.-Color or Brush for Outlook2003 ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Possible Backgrd.-Color or Brush for Outlook2003 ?
Posted: Thu Feb 14, 2008 01: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 ?



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.
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Possible Backgrd.-Color or Brush for Outlook2003 ?
Posted: Thu Feb 14, 2008 04: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion