Also would be easier to set these properties on the object before you add
it:
oComboBox.Top = nTop
ComboBox.Left = nLeft
oComboBox.Visible = .T.
On Mon, Jun 17, 2024 at 3:19 PM Eric Selje wrote:
> The 'name' is read only after the object is created. You have to name it
> when you create it, lik
The 'name' is read only after the object is created. You have to name it
when you create it, like you had in the commented out code:
toForm.AddObject("oComboBox", (cname))
Except don't put cName in (), because that will try to interpolate cName as
a variable. And the parameters are reversed, it'
I have been trying to come up with simple code to let me generate and
configure ComboBoxes in code. I have succeeded in creating one combo and
controlling its top and left properties by passing parameters but when I
try to pass in a name things don't work. Here is the procedures code in a
file na
3 matches
Mail list logo