1. How can I add a new column
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("ColumnName")
endwith
|
2. How can I add multiple columns
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns
.Add("Column 1")
.Add("Column 2")
endwith
endwith
|
3. How can I change/rename the column's name
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("ColumnName").Caption = "NewName"
endwith
|
4. How can I use HTML format in column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("ColumnName").HTMLCaption = "<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn"
endwith
|
5. How can I insert an icon to column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/"
var_s = var_s + "oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/"
var_s = var_s + "wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx"
var_s = var_s + "3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
.Images(var_s)
.Columns.Add("ColumnName").HeaderImage = 1
endwith
|
6. How can I insert an icon to column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/"
var_s = var_s + "oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/"
var_s = var_s + "wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx"
var_s = var_s + "3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
.Images(var_s)
.Columns.Add("ColumnName").HTMLCaption = "<b>HTML</b> Column <img>1</img> Icon"
endwith
|
7. Can I displays a custom size picture to column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"
.HeaderHeight = 48
.Columns.Add("ColumnName").HTMLCaption = "<b>HTML</b> Column <img>pic1</img> Picture"
endwith
|
8. Is there any option to align the header to the left and the data to the right
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Left").Alignment = 0
with .Columns.Add("Right")
.Alignment = 2
.HeaderAlignment = 2
endwith
with .Items
.DefaultItem = .AddItem("left")
.CellCaption(0,1) = "right"
endwith
endwith
|
9. Can I disable sorting a column, when the user clicks the column's header, or drag it to the sort bar
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Unsortable").AllowSort = .F.
.Columns.Add("Sortable")
endwith
|
10. How can I hide the searching column
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.MarkSearchColumn = .F.
.Columns.Add("Column 1")
.Columns.Add("Column 2")
.Items.AddItem()
endwith
|
11. How can I show or hide a column
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Hidden").Visible = .F.
endwith
|
12. How can I change the column's width
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.ColumnAutoResize = .F.
.Columns.Add("Column 1").Width = 64
.Columns.Add("Column 2").Width = 128
endwith
|
13. How can I show both scrollbars
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. endwith |
14. How can I assign checkboxes for the entire column
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column 1").Def(0) = .T.
.Items.AddItem(0)
.Items.AddItem(1)
.Items.AddItem(2)
endwith
|
15. How can I assign a check box for a cell
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column 1")
with .Items
.AddItem(0)
.DefaultItem = .AddItem(1)
.CellHasCheckBox(0,0) = .T.
.AddItem(2)
endwith
endwith
|
16. How can I assign a different background color for the entire column
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.MarkSearchColumn = .F.
.Columns.Add("Column 1").Def(4) = 255
.Columns.Add("Column 2")
.Items.AddItem(0)
.Items.AddItem(1)
.Items.AddItem(2)
endwith
|
17. How can I show the control's grid lines
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.MarkSearchColumn = .F.
.DrawGridLines = -1
.Columns.Add("Column 1")
.Columns.Add("Column 2")
.Items.AddItem(0)
.Items.AddItem(1)
.Items.AddItem(2)
endwith
|
18. How can I draw grid lines only for visible items
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.MarkSearchColumn = .F.
.DrawGridLines = -2
.Columns.Add("Column 1")
.Columns.Add("Column 2")
.Items.AddItem(0)
.Items.AddItem(1)
.Items.AddItem(2)
endwith
|
19. Can I display multiple icons to the column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/"
var_s = var_s + "oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/"
var_s = var_s + "wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx"
var_s = var_s + "3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
.Images(var_s)
.Columns.Add("Column 1").HTMLCaption = "1<img>1</img> 2 <img>2</img>..."
endwith
|
20. Can I change the height of the header bar
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. .HeaderHeight = 32 endwith |
21. Can I change the font to display the column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.HeaderHeight = 34
.Columns.Add("Column 1").HTMLCaption = "<font Tahoma;14>Column</font> 1"
endwith
|
22. Is there any option to change the color for the grid lines
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("")
.DrawGridLines = -1
endwith
|
23. Does your control support partial-check ( three states ) feature for each column
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.LinesAtRoot = -1
with .Columns.Add("P1")
.Def(0) = .T.
.PartialCheck = .T.
endwith
with .Columns.Add("P2")
.Def(0) = .T.
.PartialCheck = .T.
endwith
with .Items
h = .AddItem("Root")
.InsertItem(h,0,"Child 1")
.InsertItem(h,0,"Child 2")
.DefaultItem = h
.ExpandItem(0) = .T.
endwith
endwith
|
24. Why child items are not shown
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.LinesAtRoot = -1
.Columns.Add("Column 1")
with .Items
h = .AddItem("Root")
.InsertItem(h,0,"Child 1")
.InsertItem(h,0,"Child 2")
.DefaultItem = h
.ExpandItem(0) = .T.
endwith
endwith
|
25. Is there any option to bold the column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column 1").HeaderBold = .T.
endwith
|
26. How can I bold only a portion of the column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column 1").HTMLCaption = "<b>Col</b>umn 1"
endwith
|
27. Is there any option to make italic the column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column 1").HeaderItalic = .T.
endwith
|
28. How can I apply an italic font only a portion of the column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column 1").HTMLCaption = "<i>Col</i>umn 1"
endwith
|
29. How can I underline the column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column 1").HeaderUnderline = .T.
endwith
|
30. How can I get underlined only a portion of column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column 1").HTMLCaption = "<u>Col</u>umn 1"
endwith
|
31. How can I apply an strikeout font only a portion of the column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column 1").HTMLCaption = "<s>Col</s>umn 1"
endwith
|
32. Can I make strikeout the column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column 1").HeaderStrikeOut = .T.
endwith
|
33. How can I change the position of the column
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column 1")
.Columns.Add("Column 2").Position = 0
endwith
|
34. How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column").DisplayFilterButton = .T.
.Description(0) = "new name for (All)"
endwith
|
35. Can I remove the "All", "Blanks" and "NonBlanks" items in the drop down filter window
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column").DisplayFilterButton = .T.
.Description(0) = ""
.Description(1) = ""
.Description(2) = ""
endwith
|
36. How can I change the "Filter For" caption in the column's drop down filter window
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column").DisplayFilterButton = .T.
.Description(3) = "new caption"
endwith
|
37. Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column").DisplayFilterButton = .T.
.Description(4) = ""
.Description(5) = ""
.Description(6) = ""
.Description(7) = ""
.Description(8) = ""
.Description(14) = ""
.Description(15) = ""
endwith
|
38. The "IsBlank" caption shown in the control's filterbar when I select "Blanks" or "NonBlanks" items in the column's drop down filter window
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
.Description(9) = "Is Empty"
.Description(10) = "Is Not Empty"
.ApplyFilter
endwith
|
39. Can I change the AND string in the filter bar
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column 1")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
with .Columns.Add("Column 2")
.DisplayFilterButton = .T.
.FilterType = 2
endwith
.Description(11) = " & "
.ApplyFilter
endwith
|
40. Can I change the OR string in the filter bar
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column 1")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
with .Columns.Add("Column 2")
.DisplayFilterButton = .T.
.FilterType = 2
endwith
.FilterCriteria = "%0 or %1"
.Description(23) = " | "
.ApplyFilter
endwith
|
41. Can I change the NOT string in the filter bar
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column 1")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
with .Columns.Add("Column 2")
.DisplayFilterButton = .T.
.FilterType = 2
endwith
.FilterCriteria = "not %0 or %1"
.Description(24) = " ! "
.Description(10) = " ! IsBlank"
.ApplyFilter
endwith
|
42. Can I filter for values using OR - NOT , instead AND operator
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column 1")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
with .Columns.Add("Column 2")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
with .Columns.Add("Column 3")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
.FilterCriteria = "%0 or not %1 and %2"
.ApplyFilter
endwith
|
43. Can I change the "Date:" caption when the column's drop down filter window is shown
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.DisplayFilterDate = .T.
endwith
.Description(12) = "Range"
.ApplyFilter
endwith
|
44. How can I filter the items that are between an interval/range of dates
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.DisplayFilterDate = .T.
endwith
.ApplyFilter
endwith
|
45. The drop down filter window displays a "to" string between two datem when I filter dates. Can I change that
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.DisplayFilterDate = .T.
endwith
.Description(13) = "->"
.ApplyFilter
endwith
|
46. Can I change the "Today" caption being displayed in the drop down calendar, when I filter for dates
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.DisplayFilterDate = .T.
endwith
.Description(16) = "Azi"
.ApplyFilter
endwith
|
47. How can I change the name of the months in the drop down calendar window, being displayed when I filter items between dates
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.DisplayFilterDate = .T.
endwith
.Description(17) = "Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre"
.ApplyFilter
endwith
|
48. How can I change the name of the week days in the drop down calendar window, being displayed when I filter items between dates
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.DisplayFilterDate = .T.
endwith
.Description(18) = "Du Lu Ma Mi Jo Vi Si"
.ApplyFilter
endwith
|
49. How can I change the "Checked" caption in the drop down filter window, when I filter for checked items
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 6
endwith
.Description(19) = "with check on"
.Description(20) = "with check off"
endwith
|
50. How can I change the "IsChecked/IsUnchecked" caption in the control's filter bar, when I filter for checked items
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 6
.Filter = 0
endwith
.Description(21) = "Check_On"
.Description(22) = "Check_Off"
.ApplyFilter
endwith
|
51. How do I change visual appearance of the +/- ( expand/collapse ) buttons
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.LinesAtRoot = 1
.HasButtons = 3
.Columns.Add("Column")
with .Items
h = .AddItem("Root 1")
.InsertItem(h,0,"Child 1")
.InsertItem(h,0,"Child 2")
.DefaultItem = h
.ExpandItem(0) = .T.
h = .AddItem("Root 2")
.InsertItem(h,0,"Child")
endwith
endwith
|
52. Can I use my own icons for the +/- ( expand/collapse ) buttons
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/"
var_s = var_s + "oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/"
var_s = var_s + "wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx"
var_s = var_s + "3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
.Images(var_s)
.LinesAtRoot = 1
.HasButtons = 4
.HasButtonsCustom(0) = 1
.HasButtonsCustom(1) = 2
.Columns.Add("Column")
with .Items
h = .AddItem("Root 1")
.InsertItem(h,0,"Child 1")
.InsertItem(h,0,"Child 2")
.DefaultItem = h
.ExpandItem(0) = .T.
h = .AddItem("Root 2")
.InsertItem(h,0,"Child")
endwith
endwith
|
53. Can I change the style or type for the hierarchy lines
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.LinesAtRoot = 1
.HasLines = 2
.Columns.Add("Column")
with .Items
h = .AddItem("Root 1")
.InsertItem(h,0,"Child 1")
.InsertItem(h,0,"Child 2")
.DefaultItem = h
.ExpandItem(0) = .T.
h = .AddItem("Root 2")
.InsertItem(h,0,"Child")
endwith
endwith
|
54. Can I hide the hierarchy lines
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.LinesAtRoot = 1
.HasLines = 0
.Columns.Add("Column")
with .Items
h = .AddItem("Root 1")
.InsertItem(h,0,"Child 1")
.InsertItem(h,0,"Child 2")
.DefaultItem = h
.ExpandItem(0) = .T.
h = .AddItem("Root 2")
.InsertItem(h,0,"Child")
endwith
endwith
|
55. How can I show the control's grid lines only for added/visible items
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.MarkSearchColumn = .F.
.DrawGridLines = -2
.Columns.Add("Column 1")
.Columns.Add("Column 2")
.Items.AddItem(0)
.Items.AddItem(1)
.Items.AddItem(2)
endwith
|
56. How can I show only the vertical scroll bar
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. .ColumnAutoResize = .T. .Columns.Add(1) .Columns.Add(2) endwith |
57. How can I display the column's filter
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("").DisplayFilterButton = .T.
endwith
|
58. How can I can I select programmatically "Blanks/NonBlanks" option in the column's drop down filter
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
.ApplyFilter
endwith
|
59. How can I can I filter programmatically given a specified pattern using wild characters like * or
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 3
.Filter = "0*"
endwith
.Items.AddItem(0)
.Items.AddItem("00")
.Items.AddItem(1)
.Items.AddItem("11")
.ApplyFilter
endwith
|
60. How can I can I filter programmatically the items based on a range/interval of dates
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.DisplayFilterDate = .T.
.FilterType = 4
.Filter = "1/1/2001 to 1/1/2002"
endwith
.Items.AddItem("1/1/2001")
.Items.AddItem("2/1/2002")
.ApplyFilter
endwith
|
61. How can I can I filter programmatically the items based on some numerichal rules
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 5
.Filter = "> 0 <= 1"
endwith
.Items.AddItem(0)
.Items.AddItem(1)
.Items.AddItem(2)
.ApplyFilter
endwith
|
62. How can I can I programmatically filter the checked items
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.Def(0) = .T.
.DisplayFilterButton = .T.
.FilterType = 6
.Filter = 0
endwith
.Items.AddItem(0)
with .Items
.DefaultItem = .AddItem(1)
.CellState(0,0) = 1
endwith
.Items.AddItem(2)
.ApplyFilter
endwith
|
63. How can I can I programmatically filter for items with a specified icon assigned
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/"
var_s = var_s + "oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/"
var_s = var_s + "wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx"
var_s = var_s + "3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
.Images(var_s)
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 10
.Filter = 1
endwith
with .Items
.DefaultItem = .AddItem("Image 1")
.CellImage(0,0) = 1
.DefaultItem = .AddItem("Image 1")
.CellImage(0,0) = 1
.DefaultItem = .AddItem("Image 2")
.CellImage(0,0) = 2
.DefaultItem = .AddItem("Image 3")
.CellImage(0,0) = 3
endwith
.ApplyFilter
endwith
|
64. How do I filter for items that match exactly the specified string
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 240
.Filter = "Item 1"
endwith
.Items.AddItem("Item 1")
.Items.AddItem("Item 2")
.Items.AddItem("Item 3")
.ApplyFilter
endwith
|
65. Is there any way to get listed only visible items in the drop down filter window
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.LinesAtRoot = -1
.Description(0) = ""
.Description(1) = ""
.Description(2) = ""
with .Columns.Add("P1")
.DisplayFilterButton = .T.
.DisplayFilterPattern = .F.
.FilterList = 1
endwith
with .Columns.Add("P2")
.DisplayFilterButton = .T.
.DisplayFilterPattern = .F.
endwith
with .Items
h = .AddItem("R1")
.DefaultItem = h
.CellCaption(0,1) = "R2"
.DefaultItem = .InsertItem(h,0,"Cell 1.1")
.CellCaption(0,1) = "Cell 1.2"
.DefaultItem = .InsertItem(h,0,"Cell 2.1")
.CellCaption(0,1) = "Cell 2.2"
endwith
endwith
|
66. How can I get ride/hide of the "Filter For" field
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.DisplayFilterPattern = .F.
endwith
endwith
|
67. I have a hierarchy and I need to filter only parent items that match, including thier childs
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.LinesAtRoot = -1
.FilterInclude = 1
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 240
.Filter = "R1"
endwith
with .Items
h = .AddItem("R1")
.InsertItem(h,0,"C1")
.InsertItem(h,0,"C2")
.DefaultItem = h
.ExpandItem(0) = .T.
h = .AddItem("R2")
.InsertItem(h,0,"C1")
.InsertItem(h,0,"C2")
endwith
.ApplyFilter
endwith
|
68. I have a hierarchy and I need to filter only root items that match, without thier childs
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.LinesAtRoot = -1
.FilterInclude = 2
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 240
.Filter = "R1"
endwith
with .Items
h = .AddItem("R1")
.InsertItem(h,0,"C1")
.InsertItem(h,0,"C2")
.DefaultItem = h
.ExpandItem(0) = .T.
h = .AddItem("R2")
.InsertItem(h,0,"C1")
.InsertItem(h,0,"C2")
endwith
.ApplyFilter
endwith
|
69. I have a hierarchy and I need to filter only root items that match, with thier childs
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.LinesAtRoot = -1
.FilterInclude = 3
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 240
.Filter = "R1"
endwith
with .Items
h = .AddItem("R1")
.InsertItem(h,0,"C1")
.InsertItem(h,0,"C2")
.DefaultItem = h
.ExpandItem(0) = .T.
h = .AddItem("R2")
.InsertItem(h,0,"C1")
.InsertItem(h,0,"C2")
endwith
.ApplyFilter
endwith
|
70. How do I remove the control's border
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. .Appearance = 0 endwith |
71. How do change the visual appearance for the control's header bar, using EBN
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. .VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn") endwith |
72. How do I hide the control's header bar
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. .HeaderVisible = .F. endwith |
73. How do I sort a column by numbers
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("desc").SortType = 1
with .Items
.AddItem(1)
.AddItem(5)
.AddItem(10)
.SortChildren(0,0,.F.)
endwith
endwith
|
74. By default, the column gets sorted as strings, so how do I sort a column by dates
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("desc").SortType = 2
with .Items
.AddItem("1/1/2001")
.AddItem("1/2/2002")
.AddItem("1/3/2003")
.SortChildren(0,0,.F.)
endwith
endwith
|
75. By default, the column gets sorted as strings, so how do I sort a column by date and time
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("desc").SortType = 3
with .Items
.AddItem("1/1/2001 11:00")
.AddItem("1/1/2001 10:10")
.AddItem("1/3/2003")
.SortChildren(0,0,.F.)
endwith
endwith
|
76. By default, the column gets sorted as strings, so how do I sort a column by time only
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("desc").SortType = 4
with .Items
.AddItem("11:00")
.AddItem("10:10")
.AddItem("12:12")
.SortChildren(0,0,.F.)
endwith
endwith
|
77. How do I perform my own/custom sort, using my extra numbers
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("desc").SortType = 5
with .Items
.DefaultItem = .AddItem(0)
.CellData(0,0) = 2
.DefaultItem = .AddItem(1)
.CellData(0,0) = 1
.DefaultItem = .AddItem(2)
.CellData(0,0) = 0
.SortChildren(0,0,.F.)
endwith
endwith
|
78. How do I perform my own/custom sort, using my extra strings
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("desc").SortType = 5
with .Items
.DefaultItem = .AddItem("A")
.CellData(0,0) = "C"
.DefaultItem = .AddItem("B")
.CellData(0,0) = "B"
.DefaultItem = .AddItem("C")
.CellData(0,0) = "A"
.SortChildren(0,0,.F.)
endwith
endwith
|
79. How do I sort ascending a column, and put the sorting icon in the column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column")
with .Items
.AddItem("Item 3")
.AddItem("Item 1")
.AddItem("Item 2")
endwith
.Columns.Item(0).SortOrder = 1
endwith
|
80. How do I sort descending a column, and put the sorting icon in the column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column")
with .Items
.AddItem("Item 1")
.AddItem("Item 2")
.AddItem("Item 3")
endwith
.Columns.Item(0).SortOrder = 2
endwith
|
81. How do I put a picture on the control's background
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. endwith |
82. How do I put a picture on the control's left top corner
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. endwith |
83. How do I put a picture on the control's right top corner
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. endwith |
84. How do I put a picture on the control's center top side
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. endwith |
85. How do I put a picture on the control's center left bottom side
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. endwith |
86. How do I put a picture on the control's center right bottom side
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. endwith |
87. How do I resize/stretch a picture on the control's background
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. endwith |
88. How do I put a picture on the center of the control
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. endwith |
89. How do I disable sorting the columns when clicking the control's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.SortOnClick = 0
.Columns.Add("1")
.Columns.Add("2")
endwith
|
90. How do I disable sorting a specified column when clicking its header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("1")
.Columns.Add("NoSort").AllowSort = .F.
endwith
|
91. How do I perform my own sorting when user clicks the column's header
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.SortOnClick = 1
.Columns.Add("Column")
.Items.AddItem("Item 1")
.Items.AddItem("Item 2")
endwith
|
92. How do I use my own icons for checkbox cells
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/"
var_s = var_s + "oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/"
var_s = var_s + "wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx"
var_s = var_s + "3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
.Images(var_s)
.CheckImage(0) = 1
.CheckImage(1) = 2
.Columns.Add("Check").Def(0) = .T.
with .Items
.AddItem("Check 1")
.DefaultItem = .AddItem("Check 2")
.CellState(0,0) = 1
endwith
endwith
|
93. How do I use my own icons for my radio buttons
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/"
var_s = var_s + "oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/"
var_s = var_s + "wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx"
var_s = var_s + "3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
.Images(var_s)
.RadioImage(0) = 1
.RadioImage(1) = 2
.Columns.Add("Radio").Def(1) = .T.
with .Items
.AddItem("Radio 1")
.DefaultItem = .AddItem("Radio 2")
.CellState(0,0) = 1
.AddItem("Radio 3")
endwith
endwith
|
94. How do I change the control's background color
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. .BackColor = 13158600 endwith |
95. How do I change the control's foreground color
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.ForeColor = 7895160
.Columns.Add("Column")
.Items.AddItem("item")
endwith
|
96. How do I change the control's background / foreground color on the locked area
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.CountLockedColumns = 1
.ForeColorLock = 15790320
.BackColorLock = 8421504
.ColumnAutoResize = .F.
.Columns.Add("Locked").Width = 128
.Columns.Add("Un-Locked 1").Width = 128
.Columns.Add("Un-Locked 2").Width = 128
.Columns.Add("Un-Locked 3").Width = 128
with .Items
.DefaultItem = .AddItem("locked")
.CellCaption(0,1) = "unlocked"
endwith
endwith
|
97. How do lock / fix some columns to the control, so I can see them all the time, event if I scroll the columns
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.CountLockedColumns = 1
.BackColorLock = 15790320
.ColumnAutoResize = .F.
.Columns.Add("Locked").Width = 128
.Columns.Add("Un-Locked 1").Width = 128
.Columns.Add("Un-Locked 2").Width = 128
.Columns.Add("Un-Locked 3").Width = 128
with .Items
.DefaultItem = .AddItem("locked")
.CellCaption(0,1) = "unlocked"
endwith
endwith
|
98. Is there any option to specify the height of the items, before adding them
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.DefaultItemHeight = 32
.Columns.Add("Column")
.Items.AddItem("One")
.Items.AddItem("Two")
endwith
|
99. How do I disable the full-row selection in the control
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.FullRowSelect = .F.
.Columns.Add("Column")
.Items.AddItem("One")
.Items.AddItem("Two")
endwith
|
100. How can I programmatically change the column where incremental searching is performed
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column 1")
.Columns.Add("Column 2")
with .Items
.DefaultItem = .AddItem("Item 1")
.CellCaption(0,1) = "SubItem 1"
endwith
.SearchColumnIndex = 1
endwith
|
101. How can I enable multiple items selection
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column")
.Items.AddItem(0)
.Items.AddItem(1)
.Items.AddItem(2)
endwith
|
102. How can I scroll columns one by one, not pixel by pixel
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.ColumnAutoResize = .F.
.Columns.Add("1").Width = 128
.Columns.Add("2").Width = 128
.Columns.Add("3").Width = 128
.Columns.Add("4").Width = 128
.Columns.Add("5").Width = 128
endwith
|
103. I have FullRowSelect property on False, how do I select a column
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. .FullRowSelect = .F. endwith |
104. How do I edit a cell
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column")
.Items.AddItem("Item 1")
.Items.AddItem("Item 2")
endwith
|
105. Is there any option to select an item using the right button of the mouse (rclick)
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column")
.Items.AddItem("Item 1")
.Items.AddItem("Item 2")
endwith
|
106. How do I specify the indentation of the child items relative to their parents
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.LinesAtRoot = 1
.Indent = 11
.Columns.Add("Column")
with .Items
h = .AddItem("Root 1")
.InsertItem(h,0,"Child 1")
.InsertItem(h,0,"Child 2")
.DefaultItem = h
.ExpandItem(0) = .T.
h = .AddItem("Root 2")
.InsertItem(h,0,"Child")
endwith
endwith
|
107. How do I specify the column where the tree lines / hierarchy are shown
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.LinesAtRoot = 1
.TreeColumnIndex = 1
.Columns.Add("Column 1")
.Columns.Add("Column 2")
with .Items
h = .AddItem("Root 1.1")
.DefaultItem = h
.CellCaption(0,1) = "Root 1.2"
.DefaultItem = .InsertItem(h,0,"Child 1.1")
.CellCaption(0,1) = "Child 1.2"
.DefaultItem = .InsertItem(h,0,"Child 2.1")
.CellCaption(0,1) = "Child 2.2"
.DefaultItem = h
.ExpandItem(0) = .T.
h = .AddItem("Root 2.1")
.DefaultItem = h
.CellCaption(0,1) = "Root 2.2"
.DefaultItem = .InsertItem(h,0,"Child 1.1")
.CellCaption(0,1) = "Child 1.2"
endwith
endwith
|
108. I can't scroll to the end of the data. What can I do
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.ScrollBySingleLine = .T.
.DrawGridLines = -2
.Columns.Add("Column")
with .Items
.DefaultItem = .AddItem(0)
.ItemHeight(0) = 13
endwith
with .Items
.DefaultItem = .AddItem(1)
.ItemHeight(0) = 26
endwith
with .Items
.DefaultItem = .AddItem(2)
.ItemHeight(0) = 36
endwith
with .Items
.DefaultItem = .AddItem(3)
.ItemHeight(0) = 48
endwith
endwith
|
109. How can I change the control's font
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Font.Name = "Tahoma"
.Columns.Add("Column")
endwith
|
110. How do I get ride of the rectangle arround focused item
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.ShowFocusRect = .F.
.Columns.Add("Column")
.Items.AddItem(0)
.Items.AddItem(1)
endwith
|
111. How do I change the colors for the selected item
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.SelBackColor = 0
.Columns.Add("Column")
.Items.AddItem(0)
.Items.AddItem(1)
endwith
|
112. How do I change the visual appearance effect for the selected item, using EBN
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.SelBackColor = 16777216
.SelForeColor = 0
.ShowFocusRect = .F.
.Columns.Add("Column")
.Items.AddItem(0)
.Items.AddItem(1)
endwith
|
113. How do I assign a database to your control, using ADO, ADOR or ADODB objects
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.ColumnAutoResize = .F.
rs = CreateObject("ADOR.Recordset")
with rs
var_s = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Exontrol\ExTree\Sample\VB\SAMPLE.M"
var_s = var_s + "DB"
.Open("Orders",var_s,3,3)
endwith
.DataSource = rs
endwith
|
114. I have FullRowSelect property on False, how do I force the user to select cells only in a specified column
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.FullRowSelect = .F.
.Columns.Add("Column 1")
.Columns.Add("Column 2")
with .Items
.DefaultItem = .AddItem("Item 1")
.CellCaption(0,1) = "SubItem 1"
endwith
endwith
|
115. It seems that the control uses the TAB key, is there any way to avoid that
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. .UseTabKey = .F. endwith |
116. I have a picture on the control's background, the question is how do I draw selection as semi-transparent
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column")
.Items.AddItem("Item 1")
.Items.AddItem("Item 2")
endwith
|
117. How do I change the header's foreground color
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column 1")
.Columns.Add("Column 2")
.Items.AddItem("Item 1")
endwith
|
118. How do select only a portion of text when the control starts editing a cell
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.SelStart = 1
.SelLength = 1
.Columns.Add("Column")
.Items.AddItem("Item 1")
.Items.AddItem("Item 2")
endwith
|
119. How do I change the height of the control's filterbar
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.FilterBarHeight = 32
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
.ApplyFilter
endwith
|
120. How do I change the foreground color of the control's filterbar
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.FilterBarForeColor = 255
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
.ApplyFilter
endwith
|
121. How do I change the background color of the control's filterbar
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.FilterBarBackColor = 15790320
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
.ApplyFilter
endwith
|
122. Can I apply an EBN skin to the control's filter bar so I can change its visual appearance
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.FilterBarBackColor = 16777216
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
.ApplyFilter
endwith
|
123. How do I change the font of the control's filterbar
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.FilterBarFont.Size = 20
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
.ApplyFilter
endwith
|
124. How do I filter programatically the control
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 3
.Filter = "Item*"
endwith
.Items.AddItem("Item 1")
.Items.AddItem("")
.Items.AddItem("Item 2")
.ApplyFilter
endwith
|
125. How do I enlarge the drop down filter window
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.FilterBarDropDownHeight = "-320"
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterBarDropDownWidth = "-320"
endwith
.Items.AddItem("Item 1")
.Items.AddItem("Item 2")
endwith
|
126. How do I show alternate rows in different background color
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.BackColorAlternate = 15790320
.Columns.Add("Column")
with .Items
.AddItem("Item 1")
.AddItem("Item 2")
.AddItem("Item 3")
.AddItem("Item 4")
.AddItem("Item 5")
endwith
endwith
|
127. How do I call your x-script language
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. .Template = "Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`" endwith |
128. How do I call your x-script language
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
with .ExecuteTemplate("Columns.Add(`Column`)")
.HeaderStrikeOut = .T.
.HeaderBold = .T.
endwith
endwith
|
129. How do I enable the incremental search feature within a column
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.AutoSearch = .T.
with .Columns
.Add("exStartWith").AutoSearch = 0
.Add("exContains").AutoSearch = 1
endwith
with .Items
.DefaultItem = .AddItem("text")
.CellCaption(0,1) = "another text"
endwith
with .Items
.DefaultItem = .AddItem("text")
.CellCaption(0,1) = "another text"
endwith
endwith
|
130. How do I disable the control
| Visual FoxPro |
|---|
with thisform.ComboBox1 .MinHeightList = 304 .ColumnAutoResize = .T. .Enabled = .F. endwith |
131. How do I search case sensitive, using your incremental search feature
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.AutoSearch = .T.
.ASCIILower = ""
with .Columns
.Add("exStartWith").AutoSearch = 0
.Add("exContains").AutoSearch = 1
endwith
with .Items
.DefaultItem = .AddItem("text")
.CellCaption(0,1) = "another text"
endwith
with .Items
.DefaultItem = .AddItem("text")
.CellCaption(0,1) = "another text"
endwith
endwith
|
132. How do I disable expanding or collapsing an item when user double clicks it
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.LinesAtRoot = -1
.Indent = 13
.Columns.Add("Column 1")
with .Items
h = .AddItem("Root")
.InsertItem(h,0,"Child 1")
.InsertItem(h,0,"Child 2")
.DefaultItem = h
.ExpandItem(0) = .T.
endwith
endwith
|
133. How do I change the caption being displayed in the control's filter bar
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.FilterBarCaption = "your filter caption"
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
.ApplyFilter
endwith
|
134. How do I show the tooltip quicker
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.ToolTipDelay = 1
.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
endwith
|
135. How do I let the tooltip being displayed longer
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.ToolTipPopDelay = 10000
.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
endwith
|
136. How do I disable showing the tooltip for all control
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.ToolTipDelay = 0
.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
endwith
|
137. I've seen that the width of the tooltip is variable. Can I make it larger
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.ToolTipWidth = 328
.Columns.Add("tootip").ToolTip = "this is a tooltip that should be very very very very very very very long"
endwith
|
138. How can I ensure that a column is visible and fits the control's client area
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.ColumnAutoResize = .F.
.Columns.Add("1").Width = 128
.Columns.Add("2").Width = 128
.Columns.Add("3").Width = 128
.Columns.Add("4").Width = 128
.Columns.Add("5").Width = 128
endwith
|
139. How can I hide a column
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Hidden").Visible = .F.
.Columns.Add("2")
.Columns.Add("3")
.Columns.Add("4")
.Columns.Add("5")
endwith
|
140. How can still display the selected items when the control loses the focus
| Visual FoxPro |
|---|
with thisform.ComboBox1
.MinHeightList = 304
.ColumnAutoResize = .T.
.Columns.Add("Column")
with .Items
.AddItem("Item 3")
.AddItem("Item 1")
.DefaultItem = .AddItem("Item 2")
.SelectItem(0) = .T.
endwith
endwith
|