Hi All,
I am having problem re-enabling the textbox after manually assigning the controlsource.
In my Init() of the form :
THIS.txtBox1.ControlSource = lrTest.value1
And I have a command button on the form which basically does:
THISFORM.txtBox1.Enabled = .T.
However Clicking the command button will not enabled the textbox, but when i remove the code from the INIT() method of the form, things seem to be working well. I have tried refreshing both the form and the textbox but it did not help.
I have to assign the controlsource manually due to some design issues instead of typing the lrTest.Value in the ControlSOurce property.
Thanks in advance.
Yue Jeen
I am having problem re-enabling the textbox after manually assigning the controlsource.
In my Init() of the form :
THIS.txtBox1.ControlSource = lrTest.value1
And I have a command button on the form which basically does:
THISFORM.txtBox1.Enabled = .T.
However Clicking the command button will not enabled the textbox, but when i remove the code from the INIT() method of the form, things seem to be working well. I have tried refreshing both the form and the textbox but it did not help.
I have to assign the controlsource manually due to some design issues instead of typing the lrTest.Value in the ControlSOurce property.
Thanks in advance.
Yue Jeen