FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Refresh of a Dialog when chang. to Off.2007-Btnbar solved !!
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Refresh of a Dialog when chang. to Off.2007-Btnbar solved !!
Posted: Thu Jan 31, 2008 06:27 PM

Im using a Office2007-Buttonbar in a ChildWindow
of Outlock2003.
The Bar is a Control of the Child like the Gets and Says.
I dont want a Save-Button.

I solved the problem like this

  1. I created a hidden button with the function oDlg1:Update()
    ( oDlg1 is the Child of oOutlook ).
  2. When I press one of the Office-Bar-Buttons of the Child,
    the action at first does a click on the hidden button
    oBtn0:Click() for the oDlg1:Update().

Added Information : 02.02.2008

Var-Definations in Outlook2003

oGet VAR cGET
oSay VAR cSAY
oRadio VAR nRADIO
oCheck VAR lCHECK

How to get the Child-Values
when Switching to Office2007-Bar !!!!


cGET = oGet:Value()
cSAY = oSay:Varget()
nRADIO = oRadio:nOption
lCHECK = oCheck:Varget()


It works, but is there maybe another way, to handle this ?

Greetings from Germany
U. König

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: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Refresh of a Dialog when chang. to Off.2007-Btnbar solved !!
Posted: Thu Jan 31, 2008 06:34 PM

Ukoenig,

You could directly call oDlg1:Update() without the need of a hidden button.

But both solutions are fine,

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion