FoxInCloud
Pageframe/OptionGroups
Gravatar is a globally recognized avatar based on your email address. Pageframe/OptionGroups
  n/a
  All
  Apr 17, 2012 @ 08:53am
After adapting an app I notice two problems with my app.

In a pageframe I have the following code in the Page3 Init Event, it does not appear to run after adapting:

This.addobject("policy1", "Agent_apps_x")
THIS.POLICY1.VISIBLE = .T.

In a optiongroup I have code in the OptionGroup Click event that does not fire after adapting. In the the Option object I had no code in the click event, now it has:

LPARAMETERS nButton, nShift, nXcoord, nYcoord

Gravatar is a globally recognized avatar based on your email address. Re: Pageframe/OptionGroups
  FoxInCloud Support - Thierry N.
  Patrick
  Apr 18, 2012 @ 12:14am
> Page3.Init()
Could be a naming issue as we recently saw

> OptionGroup.Click() does not fire after adapting
Can't imagine why ...

> LPARAMETERS nButton, nShift, nXcoord, nYcoord
VFP visual editor adds this line automatically when you edit a *.?cx method.
Inherited from aw.vcx!aw???
Provides nButton, nShift, nXcoord, nYcoord support in .click() after calling DoDefault(@nButton, @nShift, @nXcoord, @nYcoord)
(see inherited code for details)
A sweet FoxInCloud goodie ...


After adapting an app I notice two problems with my app.

In a pageframe I have the following code in the Page3 Init Event, it does not appear to run after adapting:
This.addobject("policy1", "Agent_apps_x")
THIS.POLICY1.VISIBLE = .T.

In a optiongroup I have code in the OptionGroup Click event that does not fire after adapting.

In the the Option object I had no code in the click event, now it has:
LPARAMETERS nButton, nShift, nXcoord, nYcoord


-- thn (FoxInCloud)

Gravatar is a globally recognized avatar based on your email address. Re: Pageframe/OptionGroups
  n/a
  Thierry Nivelet (FoxInCloud)
  Apr 18, 2012 @ 11:33am

It does not look to be the same naming problem from what I can tell.

I can work around both of these. I will add my object to the page at design time. I can call this.parent.click() in the option buttons to get the optiongroup click event to fire.


> Page3.Init()
Could be a naming issue as we recently saw

> OptionGroup.Click() does not fire after adapting
Can't imagine why ...

> LPARAMETERS nButton, nShift, nXcoord, nYcoord
VFP visual editor adds this line automatically when you edit a *.?cx method.
Inherited from aw.vcx!aw???
Provides nButton, nShift, nXcoord, nYcoord support in .click() after calling DoDefault(@nButton, @nShift, @nXcoord, @nYcoord)
(see inherited code for details)
A sweet FoxInCloud goodie ...


After adapting an app I notice two problems with my app.

In a pageframe I have the following code in the Page3 Init Event, it does not appear to run after adapting:
This.addobject("policy1", "Agent_apps_x")
THIS.POLICY1.VISIBLE = .T.

In a optiongroup I have code in the OptionGroup Click event that does not fire after adapting.

In the the Option object I had no code in the click event, now it has:
LPARAMETERS nButton, nShift, nXcoord, nYcoord


© 1996-2024