Any ideas of why A5V10 is ignoring a property setting
for an ActiveX control? My example is extremely simple.
I want to a grid control to allow data entry, that is
NOT to be read only. I am using A5V10 with an ActiveX
control exGrid from http://www.exontrol.com.
Here is Microsoft Access code that works perfectly for
Sub Form_Load():
Picture 1 shows this form's initial load
Picture 2 shows this form after successfully editing
Let's see how A5V10 behaves using the following
code for the form's OnInit event, which is essentially unchanged
except for removing the me.
When I run my Alpha form I can not edit the text.
A5V10 appears to be frozen and shown in picture 3.
Here's the documentation for the ReadOnly property:
Picture 4 shows the controls's XBasic to set
ActiveX properties code. Note that the default is already
set to zero, so my code to set it to zero was not necessary.
I've even tried
Grid1.ReadOnly = .F.
which doesn't work either.
Is this a bug?
Bob McGaffic
Pittsburgh, PA
PS: Take a look at Exontrol's site featuring The eXSuite package contains more than 40 components, with over 200 objects, 9,000 functions, and more than 3,000,000 lines of source code.
This appears to be one of the very few control houses left which offer a fairly complete set of ActiveX controls, and guess what AlphaFive Developers -- there is NO expiration date to the evaluation use of any of their controls. Read about their company policy.
They don't want you to buy anything until you
have fully satisfied yourself that it will meet your needs and
they realize that this often can not be done in 30 days.
As I wrote weeks ago, I have seen the exGrid control
used in another application http://www.infoqube.biz and think we have found a control that will allow Alpha developers
interested in Outlining to finally achieve what they want --using the exGrid control which permits editable hierarchical trees to be displayed within a grid.
for an ActiveX control? My example is extremely simple.
I want to a grid control to allow data entry, that is
NOT to be read only. I am using A5V10 with an ActiveX
control exGrid from http://www.exontrol.com.
Here is Microsoft Access code that works perfectly for
Sub Form_Load():
Code:
Me.Grid1.Columns.Add ("My column heading") Me.Grid1.Columns(0).Editor.EditType = 1 Me.Grid1.ReadOnly = 0 Me.Grid1.Items.AddItem ("AAA") Me.Grid1.Items.AddItem ("BBB") Me.Grid1.Items.AddItem ("CCC")
Picture 2 shows this form after successfully editing
Let's see how A5V10 behaves using the following
code for the form's OnInit event, which is essentially unchanged
except for removing the me.
Code:
dim global Grid1 As P Grid1 = Activex1.ActiveX.this Grid1.Columns.Add("My column heading") Grid1.Columns(0).Editor.EditType = 1 Grid1.ReadOnly = 0 Grid1.Items.AddItem("AAA") Grid1.Items.AddItem("BBB") Grid1.Items.AddItem("CCC")
A5V10 appears to be frozen and shown in picture 3.
Here's the documentation for the ReadOnly property:
Code:
Name: ExReadWrite Value: 0 Description: (boolean False) The control allows changes. The user can use the cell's editor to change the cell's value.
ActiveX properties code. Note that the default is already
set to zero, so my code to set it to zero was not necessary.
I've even tried
Grid1.ReadOnly = .F.
which doesn't work either.
Is this a bug?
Bob McGaffic
Pittsburgh, PA
PS: Take a look at Exontrol's site featuring The eXSuite package contains more than 40 components, with over 200 objects, 9,000 functions, and more than 3,000,000 lines of source code.
This appears to be one of the very few control houses left which offer a fairly complete set of ActiveX controls, and guess what AlphaFive Developers -- there is NO expiration date to the evaluation use of any of their controls. Read about their company policy.
They don't want you to buy anything until you
have fully satisfied yourself that it will meet your needs and
they realize that this often can not be done in 30 days.
As I wrote weeks ago, I have seen the exGrid control
used in another application http://www.infoqube.biz and think we have found a control that will allow Alpha developers
interested in Outlining to finally achieve what they want --using the exGrid control which permits editable hierarchical trees to be displayed within a grid.
Comment