General information
Category:
Forms & Form designer
>How can I release one form from another? (I am using VFP 5.0a)
>I tried myform.RELEASE but it doesn't work. I receive the error message "objetc myform is not found"
>
Have you tried the following :
Activate Window MyFormName
_SCREEN.ActiveForm.Release()
>Another question.
>
>I have a combobox with two columns (table1.name,table1.codenr) inside one grid with 5 columns. The properties for the combo are:
>columnCount=2, BoundColumn=2, ControlSource=table2.codenr,
>RowSourceType = 6-Fields and RowSource=table1.name,codenr
>
>When the grid cell where the combo is containned has the focus. It is displayed the table1.name inside the combo (this is the correct behavior). But when the focus is another column, it is displayed the table1.number (grid.Sparse=.t.) and I want to be displayed table1.name.
>
>What I am doing wrong?
You must set the sparse and the bound property to .f. and the controlsource of the column to name and the controlsource of the combobox to the codenr.
Previous
Next
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