Refresh of a Dialog when chang. to Off.2007-Btnbar solved !!

Refresh of a Dialog when chang. to Off.2007-Btnbar solved !!

Postby ukoenig » Thu Jan 31, 2008 6: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
Last edited by ukoenig on Sat Feb 02, 2008 8:56 pm, edited 2 times in total.
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 Antonio Linares » Thu Jan 31, 2008 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 62 guests