I don't know about the clicking sound, but it is possible that you omitted setting the ControlSource Property fo the column.
>Hi,
>
>I was hoping to create 5 columns for the grid in the init() event of the form and change the CurrentControl to the combo box instead of the textbox in column4. This is what I got so far, but I am not able to see the data that I populated in the combobox and it made a clicking sound everytime I clicked on the down arrow key of the combo box. What I am missing from this code? Thanks in advance.
>
>In the Init event of the form.
>WITH ThisForm.Grid1
> .RecordSource = "ChkData"
> .ColumnCount = 5
> .DeleteMark = .F.
>
> .AllowHeaderSizing = .F.
> .AllowRowSizing = .F.
>
> .Column4.Width = 100
> .Column4.AddObject( "cmboPFrm", "ComboBox" )
> .Column4.CurrentControl = "cmboPFrm"
> .Column4.cmboPFrm.Visible = .T.
> .Column4.cmboPFrm.RowSource = "1,2,3,4,5"
> .Column4.cmboPFrm.RowSourceType = 1
>ENDWITH
>
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only