Home > Software engineering >  Vsflex drop-down box control how to display two columns
Vsflex drop-down box control how to display two columns

Time:10-11

Vsflex drop-down box control how to display two columns and three columns? Such as recordset: name, specifications, units, and I can only show a list of
, how to change? Teachers, please grant instruction! Thank you
VSFlexGrid1. ColComboList. (3)=VSFlexGrid1 BuildComboList (rs, "level of subjects")

CodePudding user response:

Or: if you want to put in the first column set to drop-down choice in quantico, select the first column in the first column shows the drop-down rectification after data, the second column shows the drop-down at the same time vigorously the second column in the data, the following statement is how to write?
The grid. Colcombolist (1)=grid. Buildcombolist (rs! A | b | c)

CodePudding user response:

Colcombolist or buildcombolist can display multiple columns (only in words and Numbers between 4)
More columns need to use combolist
Vs. the editable=true
Set in beforeedit events combolist
S="| # 10 * 1; Name 1 "& amp; Vbtab & amp;" Unit 1 "& amp; Vbtab & amp;" Specifications 1 "& amp; _
"| # 20; The name of the 2 "& amp; Vbtab & amp;" Unit 3 "& amp; Vbtab & amp;" Specification 3 "
Vs.com bolist=s

10, 20 is the record of an internal ID, and * 1 has said that the first column is a name, you can try to 2, see the effect

CodePudding user response:

Teacher xie anticlimax
I want to be:
1) this VSFlexGrid1 drop-down box can show more field record sets, such as RS include: the name, specifications, units,,,
2) click the drop-down model, simultaneously will name, specifications, units display in VSFlexGrid1 form a line, the first column shows the name, the second column shows specifications,,,

CodePudding user response:

Refund anticlimax, please the teacher and other teacher give guidance! Thank you very much!
  • Related