185
|
Event event
*** Event event - Notifies the application once the control fires an event. ***
LPARAMETERS EventID
with thisform.ExContextMenu1
DEBUGOUT( .EventParam(-2) )
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
.Images(var_s)
var_s1 = "Popup 1(Check 1[typ=1],Check 2[typ=1],Check 3[typ=1],Item 1),Expand[img=2][typ=1][chk=1][spchk=-1][group=0x0103](Check 4[typ=1],"
var_s1 = var_s1 + "Check 5[typ=1],Check 6[typ=1][chk=1],Item 2)"
.Items.ToString = var_s1
.Select()
endwith
|
184
|
UncheckItem event
*** UncheckItem event - Occurs when the user unchecks the item. ***
LPARAMETERS Itm
with thisform.ExContextMenu1
DEBUGOUT( Itm )
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
.Images(var_s)
var_s1 = "Popup 1(Check 1[typ=1],Check 2[typ=1],Check 3[typ=1],Item 1),Expand[img=2][typ=1][chk=1][spchk=-1][group=0x0103](Check 4[typ=1],"
var_s1 = var_s1 + "Check 5[typ=1],Check 6[typ=1][chk=1],Item 2)"
.Items.ToString = var_s1
.Select()
endwith
|
183
|
CheckItem event
*** CheckItem event - Occurs when the user checks the item. ***
LPARAMETERS Itm
with thisform.ExContextMenu1
DEBUGOUT( Itm )
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
.Images(var_s)
var_s1 = "Popup 1(Check 1[typ=1],Check 2[typ=1],Check 3[typ=1],Item 1),Expand[img=2][typ=1][chk=1][spchk=-1][group=0x0103](Check 4[typ=1],"
var_s1 = var_s1 + "Check 5[typ=1],Check 6[typ=1][chk=1],Item 2)"
.Items.ToString = var_s1
.Select()
endwith
|
182
|
SelectItem event
*** SelectItem event - Occurs when the user selects the item. ***
LPARAMETERS Itm
with thisform.ExContextMenu1
DEBUGOUT( Itm )
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
.Images(var_s)
var_s1 = "Popup 1(Check 1[typ=1],Check 2[typ=1],Check 3[typ=1],Item 1),Expand[img=2][typ=1][chk=1][spchk=-1][group=0x0103](Check 4[typ=1],"
var_s1 = var_s1 + "Check 5[typ=1],Check 6[typ=1][chk=1],Item 2)"
.Items.ToString = var_s1
.Select()
endwith
|
181
|
ImageSize property on 32 (specifies the size of control' icons/images/check-boxes/radio-buttons)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.ImageSize = 32
.Font.Size = 16
var_s = "gBJJgBAIDAAEg4AEEKAD/hz/EMNh8TIRNGwAjEZAEXjAojKAjMLjABhkaABAk0plUrlktl0vmExmUzmk1m03nE5nU7nk9miAoE+oVDolFo1HpFJpU5h8Sf9OqFNqUOqN"
var_s = var_s + "UqdPq9VrFWrlbr1QpdhAFAkFis1ntFptVrtkrpszrNvmVxqk3uVtm1kmF3sdBvF/wGBmV+j9BYGHwWJulfxdax2NyFdx2JlV6l9Nw7AAGZymdz2Cy2GxErvWcz9ivlwy"
var_s = var_s + "V21cuxugwktzGIzmvwtl0+53U5y0a0Wazmmyu/3dCyOMyXHx/J5nIr9q3uyqnBxFN3G46ma4vb7mD2Ng4nZze00fDkHC7t7us2rOX5tguetpHRlmz4HVqnXk1PjHO+CM"
var_s = var_s + "Po9MBMC+j2vC8j7wS8cFNI4kBo05UIvfCT/NsnsApU+0Fqg/T+oy/kPxC0sEQfErKQK96+w28UWRI8UGvO8sTLS9r2PWmsMJTDTask3CsIbIEQRA3shOXEEAO/GclJ9F"
var_s = var_s + "EKrrA8FRbKMXRIlb0JxCkjS1LMswhCcvuel0cv26cSMa8Ufx+2sQwhEUoSXOCjSbLcnxjKc7sdKUVyq28NtVI71P9P7JxtQEapjQ6fzfM8zPfNE2PhIsLL63E40slk5y"
var_s = var_s + "7N89LcyU9SvMb3SdUc6VJLj5VLVLfO/PS9KzNFHUa/0XyBD0dxlS9cxhMlTRSoNXypPErWDPyfNS+MwprRNO0FD8wVVZ1AI08URwVRjtJ1WCn21QkkUrXVLVPQS/XIkF"
var_s = var_s + "gTxT9iONZ9xVTdq+L1eKg3kkF6Upe68XtfV51/MtrVjBlwYFL1ev8y1/P6/lyzzYl02wntj0RVFmS1Qa+M5as93QxEUW9e993rfmQ2+vy65M/mL1lhl/2bj2ByVduMtN"
var_s = var_s + "hCJT9hdz41nN14Ld12Z9UjfI/oUAaGseiw6+uFLLhcVabJOS5RqOE0BHlZ5VnEr5fOMs3st+aa/bbRzrJGV51Y0b0DbqaWXZD90hIsPbjWu52+6Wyadpe66hhO+P/Xio"
var_s = var_s + "W5rD8ZbrUZuVg6n1dsE/cXmewu1m9PVwnd35/nueXho/NaJzmjc61W76esuT77eG8pTquy9TwWH8LEzG8RDfFalx3Gcfvna9rvG/cptGLd9tuI6TZOP5Fiqi99vea+X4"
var_s = var_s + "VRcBq/JZZtVQ9cwSs5lsXE372+a9z7PbfB3VVqHyvMctLto8uob6eV0m/cD6MN2v+T33t6sBut42vdv2bJ8a997x2maFJfK+qArbGJPEKE+1qTflMsIdW/GCJX17KcT6"
var_s = var_s + "/czr/X+u1g29B7j/4BQfWkkx4zIHisjhPCmE0K4SwtXM+d4BvHRwNZOoBph9IJvPek9d40FoMJxf691jj2ywQQcHEWET4XJwkTszlVqm2GokewxtBT1DpQjRxDN0rUVD"
var_s = var_s + "NKdC3lb6tzNOwh6upMSSYfv4YBCl/bsn9PxiFCEo7SI6Obc9HeOrnY8x4jtHtdpN4GRbaorhsbu18Pph5CiHymI0RpSXGJ/z2oUOxYxG858AyiI+bfJtuTcG5yelBJyT"
var_s = var_s + "8okhqFd4a5yxL0rvulYtKCsZiWxWkc1s1cRoxxwhA31DLE0mR9l9HqX8fJgTDmFMVH0MIsRzVYnwnMi1dyzmhLt2kS2pxIiU62Wj5ptQGlSYFakLonTUJNLKaM5Wzlff"
var_s = var_s + "EkuFkk5wTrhVO2eE7G6lJhxFFYUZ55zmn0WuBCD4pzhirFCKkbomsOoIYmZx5p90LoYWGPdD5g0QmJRKYxbZ6zYoVQ2jVGylSak7KSkFH6RSjpHKFuU+YMyNo5SulkC6"
var_s = var_s + "I0vonTCitMXPoEpVS2H5FQfEqp2R1opIgAEkJISYARTCukOhmPNI5Ex/wzGHUsicMwA1LHgQ90Y/KpoQHAD+pB/R4NzIaMAB9Xaw1gqaAOsh/A/ptIkWUfhG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ATE4FA6hWY4tjEAAQBAgIA=="
.Add(4,var_s4)
endwith
.SelBackColor = 0x4000000
.SelForeColor = RGB(0,0,1)
.Object.Background(70) = 0x1000000
.Object.Background(71) = 0x2000000
.Object.Background(72) = 0x3000000
with .Items
with .Add("Expand",2)
.Image = 0
.GroupPopup = 259 && GroupPopupEnum.exGroupPopupVertical Or GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
.Check = .T.
.ShowPopupOnChecked = .T.
with .Items
.Padding = "22,0,0,0"
.Add("Check 1").Check = .T.
.Add("Check 2").Check = .T.
with .Add("Check 3")
.Check = .T.
.Checked = .T.
endwith
endwith
.Checked = .T.
endwith
var_s5 = "Expand[typ=1][img=2][chk=1][spchk=-1][group=0x0103][itemspad=22,0,0,0](Check 1[id=20][typ=1],Check 2[id=30][typ=1],Check 3[id=40"
var_s5 = var_s5 + "][typ=1][chk=1])"
.Add("").ToString = var_s5
endwith
.Select()
endwith
|
180
|
ImageSize property on 16 (default) (specifies the size of control' icons/images/check-boxes/radio-buttons)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.ImageSize = 16
var_s = "gBJJgBAIDAAEg4ACEKAD/hz/EMNh8TIRNGwAjEZAEXjAojJAjMLjABAAgjUYkUnlUrlktl0vmExmUzmk1m03nE5nU7nkrQCAntBoVDolFo1HoM/ADAplLptImdMYFOqd"
var_s = var_s + "SqlXq1QrVbrlGpVWsFNrNdnNjsk7pQAtNroFnt0sh8Yr9iulTuNxs1Eu8OiT/vsnsNVutXlk/oGGtVKxGLxWNtsZtN8iUYuNvy0Zvd+xNYwdwvl4p870GCqc8vOeuVtt"
var_s = var_s + "mp1knyOayWVy+WzN/ze1wOElenm+12WUz/Bv2/3UyyWrzeutux2GSyGP2dQ33C1ur3GD3M4zUNzHdlWjq/E3nGzVpjWv4HA7fRy/Tv2IrN8rPW6nZ3ve7mUlfu20Z8ac"
var_s = var_s + "vQyb+vY9jasYoDwMm+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EkFg9gGY44BoRoSmSSQ2EKEggHgRhShSZRJFYVoVm"
var_s1 = var_s1 + "WCRmFKFAgGOTheheZgJgYYoYmYSYWGaF4lkMMJ0hqZpJjYbobmcCZGHKHJmjmJh0h2Z4JmYcIaE8WZ2H6H5oAoBoCiCaBKBYfdjGoJoKiKaJKDaDojmkChGgmIgpCoVo"
var_s1 = var_s1 + "WiWaJZiSd4mmmSh2h6J5qAqBoiiiaY5iSeIpmqComiqKpqkqNouiuah6hqMIsmsSpWiuGhP1kOoumuSp2j6L5sAsBo54gKwWkaMZsgsJpKjKbJLDaRYxYWRpSjSbIZiS"
var_s1 = var_s1 + "e41m2CxmlqNptksdpejebR5iSfI4m4S4W16boLiaao6m5fJ9jubwLkaco8m8S5WnaPZunuOp4j6b5Lnac4SA0PAGlgP4wEwFwGkGcIMCcCpCnCCxiA8NYAAmMJfkSbhF"
var_s1 = var_s1 + "CcFpFnGDBnBqRpUhuEwTDeZ5lHCfw6HIQxLCaAxygyJwqgGcATE4FA6hWY4tjEAAQBAgIA=="
.Add(4,var_s1)
endwith
.SelBackColor = 0x4000000
.SelForeColor = RGB(0,0,1)
with .Items
with .Add("Expand",2)
.Image = 0
.GroupPopup = 259 && GroupPopupEnum.exGroupPopupVertical Or GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
.Check = .T.
.ShowPopupOnChecked = .T.
with .Items
.Padding = "22,0,0,0"
.Add("Check 1").Check = .T.
.Add("Check 2").Check = .T.
with .Add("Check 3")
.Check = .T.
.Checked = .T.
endwith
endwith
.Checked = .T.
endwith
var_s2 = "Expand[typ=1][img=2][chk=1][spchk=-1][group=0x0103][itemspad=22,0,0,0](Check 1[id=20][typ=1],Check 2[id=30][typ=1],Check 3[id=40"
var_s2 = var_s2 + "][typ=1][chk=1])"
.Add("").ToString = var_s2
endwith
.Select()
endwith
|
179
|
How do I get the item's value without the place holders (exclude mask-characters)

*** EditChange event - Occurs when the user alters the item's text box field. ***
LPARAMETERS Itm
with thisform.ExContextMenu1
DEBUGOUT( Itm )
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.ToString = "Mask[edit=98][editwidth=-128][edittype=2][mask=00000],Mask[edit=98][editwidth=-128][edittype=2][mask=00000;1]"
.Select()
endwith
|
178
|
Is it possible to insert items at a specified position during runtime, without rebuilding the entire item which hosts the items
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Item A",0,1000)
.Add("Item B",0,1001)
.Add("Item C",0,1002).Position = 0
endwith
DEBUGOUT( .Select() )
endwith
|
177
|
Is it possible to have a popup on a radio button when it is checked

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.ToString = "[group=0x03][id=0](Link[id=10][typ=2][grp=100][chk=1],Move To[id=20][typ=2][grp=100][spchk][arrow=0]())"
with .Items.item(20)
.Items.Add("Item A",0,1000)
.Items.Add("Item B",0,1001)
.Items.Add("Item C",0,1002)
endwith
DEBUGOUT( .Select() )
endwith
|
176
|
How can I control the height of the control, so no scroll is required to view all items

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.Font.Size = 6
.MenuAppearance = 0
with .Items
DEBUGOUT( .VisibleItemsCount )
.VisibleItemsCount = 255
.ToString = "1,2,3,4,5,6,7,8,9,10,11,12,13"
endwith
.Select()
endwith
|
175
|
How do I specify the control's height (method 3)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Item 1").ItemHeight = 24
.Add("Item 2").ItemHeight = 24
.Add("Item 3").ItemHeight = 24
endwith
.Select()
endwith
|
174
|
How do I specify the control's height (method 2)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Item 1").Padding = "0,4,0,4"
.Add("Item 2").Padding = "0,4,0,4"
.Add("Item 3").Padding = "0,4,0,4"
endwith
.Select()
endwith
|
173
|
How do I specify the control's height (method 1)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.Font.Size = 12
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
.Select()
endwith
|
172
|
How can I change the visual appearance of the progress bar

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Object.Background(260) = 0x1000000 && 0x104
with .Items
with .Add("Progress")
.AllowEdit = 4
.EditWidth = -128
.EditValue = 25
endwith
endwith
.Select()
endwith
|
171
|
How can I change the progress's color

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.Object.Background(260) = RGB(255,0,0) && 0x104
with .Items
with .Add("Progress")
.AllowEdit = 4
.EditWidth = -128
.EditValue = 25
endwith
endwith
.Select()
endwith
|
170
|
I am using the Item.Visible property on False to hide the item, but the editor is still visible

*** CheckItem event - Occurs when the user checks the item. ***
LPARAMETERS Itm
with thisform.ExContextMenu1
with .Items.item(1000)
.Visible = .T.
.AllowEdit = 260 && AllowEditEnum.exItemEditReadOnly Or AllowEditEnum.exItemEditProgress
endwith
.Select()
endwith
*** UncheckItem event - Occurs when the user unchecks the item. ***
LPARAMETERS Itm
with thisform.ExContextMenu1
with .Items.item(1000)
.Visible = .F.
.AllowEdit = 0
endwith
.Select()
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("",2)
with .Items
.Add("Visible")
with .Add("")
.Check = .T.
.Checked = .T.
endwith
with .Add("Item 2",Null,1000)
.ItemHeight = 18
.Caption = "Percent"
.AllowEdit = 260 && AllowEditEnum.exItemEditReadOnly Or AllowEditEnum.exItemEditProgress
.EditValue = 50
.Visible = .T.
endwith
.Add("Visible")
endwith
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
endwith
endwith
.Select()
endwith
|
169
|
How can I change the color of a disabled item

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("Disabled",2,0)
.ForeColor = RGB(255,0,0)
.Items.Add("")
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
endwith
.Add("Disabled").Enabled = .F.
endwith
.Select()
endwith
|
168
|
Microsoft Windows 8.1 - Ribbon Like

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.MenuAppearance = 0
with .Items
.ToString = "[id=0][group=0x03](),[id=-20][bg=0x01000000][group=0x03][itemspad=4,4,4,4]([id=9000])"
with .item(0).Items
.Add("",0,0).Padding = "8,0,0,0"
var_item3 = .Add("New Page")
with var_item3
var_s = "[id=0][typ=2][chk=1][spchk=-1][show=1][grp=10][bghot=0x12000000][bgsel=0x11000000][bgselhot=0x14000000][group=0x03][tab=9000][pa"
var_s = var_s + "d=4,0,4,0][popupoffset=-4,-1]([id=0][group=0x03])"
.ToString = var_s
.ID = 200
.Caption = "Page1"
var_item = .Items.Add("New Group")
with var_item
.ToString = "[id=0][group=0x03][itemspad=4,4,4,18][itemsbg=0x02000000][itemsbghot=0x04000000]()"
.Caption = "<b><font ;14>A"
with .Items
.BackgroundExt = "bottom[16,text=`<fgcolor A0A0A0><font ;8>Horizontal`,align=0x11]"
with .Add("",2)
.GroupPopup = 17 && GroupPopupEnum.exGroupPopupEqualWidth Or GroupPopupEnum.exGroupPopup
.Caption = ""
with .Items
with .Add("R1")
.RadioGroup = 100
.Radio = .T.
.ShowCheckedAsSelected = 1
.Checked = .F.
endwith
with .Add("R2")
.RadioGroup = 100
.Radio = .T.
.ShowCheckedAsSelected = 1
.Checked = .T.
endwith
with .Add("R3")
.RadioGroup = 100
.Radio = .T.
.ShowCheckedAsSelected = 1
.Checked = .F.
endwith
endwith
endwith
endwith
endwith
var_item1 = .Items.Add("New Group")
with var_item1
.ToString = "[id=0][group=0x03][itemspad=4,4,4,18][itemsbg=0x02000000][itemsbghot=0x04000000]()"
.Caption = "<b><font ;14>B"
with .Items
.BackgroundExt = "bottom[16,text=`<fgcolor A0A0A0><font ;8>Vertical`,align=0x11]"
with .Add("",2)
.GroupPopup = 289 && GroupPopupEnum.exGroupPopupVertical Or GroupPopupEnum.exGroupPopupEqualHeight Or GroupPopupEnum.exGroupPopup
.Caption = ""
with .Items
with .Add("C1")
.Check = .T.
.Checked = .T.
endwith
with .Add("C2")
.Check = .T.
.Checked = .F.
endwith
with .Add("C3")
.Check = .T.
.Checked = .T.
endwith
endwith
endwith
endwith
endwith
.Items.Add("",0,0).Padding = "4,0,0,0"
var_item2 = .Items.Add("New Group")
with var_item2
.ToString = "[id=0][group=0x03][itemspad=4,4,4,18][itemsbg=0x02000000][itemsbghot=0x04000000]()"
.Caption = ""
with .Items
.BackgroundExt = "bottom[16,text=`<fgcolor A0A0A0><font ;8>Mixt`,align=0x11]"
with .Add("",0)
.AllowEdit = 1027 && AllowEditEnum.exItemEditVertical Or AllowEditEnum.exItemEditSlider
.ItemHeight = 76
.EditBorder = 0
.EditValue = 25
endwith
with .Add("",2)
.GroupPopup = 259 && GroupPopupEnum.exGroupPopupVertical Or GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
.Caption = ""
with .Items
with .Add("",2)
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
with .Items
with .Add("Button1",2)
.ShowAsButton = 275 && ShowAsButtonEnum.exShowAsSelectButtonBottom Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
.Add("",0,0).Padding = "4,0,0,0"
with .Add("Button2",2)
.ShowAsButton = 275 && ShowAsButtonEnum.exShowAsSelectButtonBottom Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
.Add("Item 4")
.Add("Item 5")
.Add("Item 6")
endwith
endwith
endwith
endwith
with .Add("Popup",2)
.Alignment = 1
with .Items
.Add("Item 7").Check = .T.
.Add("Item 8")
with .Add("Item 9",2).Items
.Add("Item 10")
.Add("Item 11")
.Add("Item 12")
endwith
endwith
endwith
endwith
endwith
endwith
endwith
endwith
var_item4 = .Add("New Page")
with var_item4
var_s1 = "[id=0][typ=2][chk=0][spchk=-1][show=1][grp=10][bghot=0x12000000][bgsel=0x11000000][bgselhot=0x14000000][group=0x03][tab=9000][pa"
var_s1 = var_s1 + "d=4,0,4,0][popupoffset=-4,-1]([id=0][group=0x03])"
.ToString = var_s1
.ID = 300
.Caption = "Page2"
with .Items
with .Add("S1")
.ItemHeight = 88
.AllowEdit = 1540 && AllowEditEnum.exItemEditVertical Or AllowEditEnum.exItemEditSpin Or AllowEditEnum.exItemEditProgress
.EditValue = 25
endwith
with .Add("S2")
.ItemHeight = 88
.AllowEdit = 1540 && AllowEditEnum.exItemEditVertical Or AllowEditEnum.exItemEditSpin Or AllowEditEnum.exItemEditProgress
.EditValue = 50
endwith
with .Add("S3")
.ItemHeight = 88
.AllowEdit = 1540 && AllowEditEnum.exItemEditVertical Or AllowEditEnum.exItemEditSpin Or AllowEditEnum.exItemEditProgress
.EditValue = 75
endwith
endwith
endwith
.Add("",0,0).Padding = "8,0,0,0"
endwith
endwith
with .VisualAppearance
.Add(1,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSFlat-Ribbon/msfr_background.ebn")
.Add(2,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSFlat-Ribbon/msfr_groupt.ebn")
.Add(12,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSFlat-Ribbon/msfr_hot.ebn")
.Add(14,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSFlat-Ribbon/msfr_select.ebn")
.Add(17,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSFlat-Ribbon/msfr_tab.ebn")
.Add(18,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSFlat-Ribbon/msfr_tabhot.ebn")
.Add(32,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSFlat-Ribbon/msfr_check0.ebn")
.Add(33,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSFlat-Ribbon/msfr_check1.ebn")
.Add(34,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSFlat-Ribbon/msfr_buttonu.ebn")
.Add(35,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSFlat-Ribbon/msfr_buttond.ebn")
endwith
.Appearance = 16777216 && 0x1000000
.Object.Background(64) = .Appearance
.SelBackColor = 0xe000000
.Object.Background(110) = 0xc000000
.Object.Background(112) = 0x23000000
.Object.Background(2) = 0x22000000 && 0x2
.Object.Background(3) = 0x23000000 && 0x3
.Object.Background(70) = 0x20000000
.Object.Background(71) = 0x21000000
.Select()
endwith
|
167
|
Microsoft Paint - Ribbon Like

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.MenuAppearance = 0
with .Items
.ToString = "[id=0][group=0x03](),[id=-20][bg=0x01000000][group=0x03][itemspad=4,4,4,4]([id=9000])"
with .item(0).Items
.Add("",0,0).Padding = "8,0,0,0"
var_item3 = .Add("New Page")
with var_item3
var_s = "[id=0][typ=2][chk=1][spchk=-1][show=1][grp=10][bghot=0x12000000][bgsel=0x11000000][bgselhot=0x14000000][group=0x03][tab=9000][pa"
var_s = var_s + "d=4,0,4,0][popupoffset=-4,-1]([id=0][group=0x03])"
.ToString = var_s
.ID = 200
.Caption = "Page1"
var_item = .Items.Add("New Group")
with var_item
.ToString = "[id=0][group=0x03][itemspad=4,4,4,18][itemsbg=0x02000000][itemsbghot=0x04000000]()"
.Caption = "<b><font ;14>A"
with .Items
.BackgroundExt = "bottom[16,text=`<fgcolor A0A0A0><font ;8>Horizontal`,align=0x11]"
with .Add("",2)
.GroupPopup = 17 && GroupPopupEnum.exGroupPopupEqualWidth Or GroupPopupEnum.exGroupPopup
.Caption = ""
with .Items
with .Add("R1")
.RadioGroup = 100
.Radio = .T.
.ShowCheckedAsSelected = 1
.Checked = .F.
endwith
with .Add("R2")
.RadioGroup = 100
.Radio = .T.
.ShowCheckedAsSelected = 1
.Checked = .T.
endwith
with .Add("R3")
.RadioGroup = 100
.Radio = .T.
.ShowCheckedAsSelected = 1
.Checked = .F.
endwith
endwith
endwith
endwith
endwith
var_item1 = .Items.Add("New Group")
with var_item1
.ToString = "[id=0][group=0x03][itemspad=4,4,4,18][itemsbg=0x02000000][itemsbghot=0x04000000]()"
.Caption = "<b><font ;14>B"
with .Items
.BackgroundExt = "bottom[16,text=`<fgcolor A0A0A0><font ;8>Vertical`,align=0x11]"
with .Add("",2)
.GroupPopup = 289 && GroupPopupEnum.exGroupPopupVertical Or GroupPopupEnum.exGroupPopupEqualHeight Or GroupPopupEnum.exGroupPopup
.Caption = ""
with .Items
with .Add("C1")
.Check = .T.
.Checked = .T.
endwith
with .Add("C2")
.Check = .T.
.Checked = .F.
endwith
with .Add("C3")
.Check = .T.
.Checked = .T.
endwith
endwith
endwith
endwith
endwith
.Items.Add("",0,0).Padding = "4,0,0,0"
var_item2 = .Items.Add("New Group")
with var_item2
.ToString = "[id=0][group=0x03][itemspad=4,4,4,18][itemsbg=0x02000000][itemsbghot=0x04000000]()"
.Caption = ""
with .Items
.BackgroundExt = "bottom[16,text=`<fgcolor A0A0A0><font ;8>Mixt`,align=0x11]"
with .Add("",0)
.AllowEdit = 1027 && AllowEditEnum.exItemEditVertical Or AllowEditEnum.exItemEditSlider
.ItemHeight = 76
.EditBorder = 0
.EditValue = 25
endwith
with .Add("",2)
.GroupPopup = 259 && GroupPopupEnum.exGroupPopupVertical Or GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
.Caption = ""
with .Items
with .Add("",2)
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
with .Items
with .Add("Button1",2)
.ShowAsButton = 275 && ShowAsButtonEnum.exShowAsSelectButtonBottom Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
.Add("",0,0).Padding = "4,0,0,0"
with .Add("Button2",2)
.ShowAsButton = 275 && ShowAsButtonEnum.exShowAsSelectButtonBottom Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
.Add("Item 4")
.Add("Item 5")
.Add("Item 6")
endwith
endwith
endwith
endwith
with .Add("Popup",2)
.Alignment = 1
with .Items
.Add("Item 7").Check = .T.
.Add("Item 8")
with .Add("Item 9",2).Items
.Add("Item 10")
.Add("Item 11")
.Add("Item 12")
endwith
endwith
endwith
endwith
endwith
endwith
endwith
endwith
var_item4 = .Add("New Page")
with var_item4
var_s1 = "[id=0][typ=2][chk=0][spchk=-1][show=1][grp=10][bghot=0x12000000][bgsel=0x11000000][bgselhot=0x14000000][group=0x03][tab=9000][pa"
var_s1 = var_s1 + "d=4,0,4,0][popupoffset=-4,-1]([id=0][group=0x03])"
.ToString = var_s1
.ID = 300
.Caption = "Page2"
with .Items
with .Add("S1")
.ItemHeight = 88
.AllowEdit = 1540 && AllowEditEnum.exItemEditVertical Or AllowEditEnum.exItemEditSpin Or AllowEditEnum.exItemEditProgress
.EditValue = 25
endwith
with .Add("S2")
.ItemHeight = 88
.AllowEdit = 1540 && AllowEditEnum.exItemEditVertical Or AllowEditEnum.exItemEditSpin Or AllowEditEnum.exItemEditProgress
.EditValue = 50
endwith
with .Add("S3")
.ItemHeight = 88
.AllowEdit = 1540 && AllowEditEnum.exItemEditVertical Or AllowEditEnum.exItemEditSpin Or AllowEditEnum.exItemEditProgress
.EditValue = 75
endwith
endwith
endwith
.Add("",0,0).Padding = "8,0,0,0"
endwith
endwith
with .VisualAppearance
.Add(1,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_background.ebn")
.Add(2,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_groupt.ebn")
.Add(3,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_groupo.ebn")
.Add(4,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_grouphot.ebn")
.Add(5,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_frameh.ebn")
.Add(6,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_framehs.ebn")
.Add(7,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_framehi.ebn")
.Add(8,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_framehe.ebn")
.Add(9,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_framevs.ebn")
.Add(10,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_framevi.ebn")
.Add(11,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_frameve.ebn")
.Add(12,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_select.ebn")
.Add(13,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_bordert.ebn")
.Add(14,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_buttond.ebn")
.Add(15,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_buttonu.ebn")
.Add(16,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_tab.ebn")
.Add(17,"CP:16 0 0 0 1")
.Add(18,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_tabhot.ebn")
.Add(19,"C:/Program Files/Exontrol/ExContextMenu/Sample/EBN/MSPaint-Ribbon/mspr_tabselhot.ebn")
.Add(20,"CP:19 0 0 0 1")
endwith
.LocalAppearance = 6
.Appearance = 16777216 && 0x1000000
.ForeColor = RGB(21,66,139)
.SelBackColor = 0xe000000
.Object.Background(64) = .Appearance
.Object.Background(2) = 0xd000000 && 0x2
.Object.Background(105) = 0x5000000
.Object.Background(106) = 0x6000000
.Object.Background(107) = 0x7000000
.Object.Background(108) = 0x8000000
.Object.Background(116) = 0x9000000
.Object.Background(117) = 0xa000000
.Object.Background(118) = 0xb000000
.Object.Background(110) = 0xc000000
.Object.Background(112) = 0xf000000
.Select()
endwith
|
166
|
Microsoft Office - Ribbon Like

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.MenuAppearance = 0
with .Items
.ToString = "[id=0][group=0x03](),[id=-20][bg=0x01000000][group=0x03][itemspad=4,4,4,4]([id=9000])"
with .item(0).Items
.Add("",0,0).Padding = "8,0,0,0"
var_item3 = .Add("New Page")
with var_item3
var_s = "[id=0][typ=2][chk=1][spchk=-1][show=1][grp=10][bghot=0x12000000][bgsel=0x11000000][bgselhot=0x14000000][group=0x03][tab=9000][pa"
var_s = var_s + "d=4,0,4,0][popupoffset=-4,-1]([id=0][group=0x03])"
.ToString = var_s
.ID = 200
.Caption = "Page1"
var_item = .Items.Add("New Group")
with var_item
.ToString = "[id=0][group=0x03][itemspad=4,4,4,18][itemsbg=0x02000000][itemsbghot=0x04000000]()"
.Caption = "<b><font ;14>A"
with .Items
.BackgroundExt = "bottom[16,text=`<fgcolor A0A0A0><font ;8>Horizontal`,align=0x11]"
with .Add("",2)
.GroupPopup = 17 && GroupPopupEnum.exGroupPopupEqualWidth Or GroupPopupEnum.exGroupPopup
.Caption = ""
with .Items
with .Add("R1")
.RadioGroup = 100
.Radio = .T.
.ShowCheckedAsSelected = 1
.Checked = .F.
endwith
with .Add("R2")
.RadioGroup = 100
.Radio = .T.
.ShowCheckedAsSelected = 1
.Checked = .T.
endwith
with .Add("R3")
.RadioGroup = 100
.Radio = .T.
.ShowCheckedAsSelected = 1
.Checked = .F.
endwith
endwith
endwith
endwith
endwith
var_item1 = .Items.Add("New Group")
with var_item1
.ToString = "[id=0][group=0x03][itemspad=4,4,4,18][itemsbg=0x02000000][itemsbghot=0x04000000]()"
.Caption = "<b><font ;14>B"
with .Items
.BackgroundExt = "bottom[16,text=`<fgcolor A0A0A0><font ;8>Vertical`,align=0x11]"
with .Add("",2)
.GroupPopup = 289 && GroupPopupEnum.exGroupPopupVertical Or GroupPopupEnum.exGroupPopupEqualHeight Or GroupPopupEnum.exGroupPopup
.Caption = ""
with .Items
with .Add("C1")
.Check = .T.
.Checked = .T.
endwith
with .Add("C2")
.Check = .T.
.Checked = .F.
endwith
with .Add("C3")
.Check = .T.
.Checked = .T.
endwith
endwith
endwith
endwith
endwith
.Items.Add("",0,0).Padding = "4,0,0,0"
var_item2 = .Items.Add("New Group")
with var_item2
.ToString = "[id=0][group=0x03][itemspad=4,4,4,18][itemsbg=0x02000000][itemsbghot=0x04000000]()"
.Caption = ""
with .Items
.BackgroundExt = "bottom[16,text=`<fgcolor A0A0A0><font ;8>Mixt`,align=0x11]"
with .Add("",0)
.AllowEdit = 1027 && AllowEditEnum.exItemEditVertical Or AllowEditEnum.exItemEditSlider
.ItemHeight = 76
.EditBorder = 0
.EditValue = 25
endwith
with .Add("",2)
.GroupPopup = 259 && GroupPopupEnum.exGroupPopupVertical Or GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
.Caption = ""
with .Items
with .Add("",2)
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
with .Items
with .Add("Button1",2)
.ShowAsButton = 275 && ShowAsButtonEnum.exShowAsSelectButtonBottom Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
.Add("",0,0).Padding = "4,0,0,0"
with .Add("Button2",2)
.ShowAsButton = 275 && ShowAsButtonEnum.exShowAsSelectButtonBottom Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
.Add("Item 4")
.Add("Item 5")
.Add("Item 6")
endwith
endwith
endwith
endwith
with .Add("Popup",2)
.Alignment = 1
with .Items
.Add("Item 7").Check = .T.
.Add("Item 8")
with .Add("Item 9",2).Items
.Add("Item 10")
.Add("Item 11")
.Add("Item 12")
endwith
endwith
endwith
endwith
endwith
endwith
endwith
endwith
var_item4 = .Add("New Page")
with var_item4
var_s1 = "[id=0][typ=2][chk=0][spchk=-1][show=1][grp=10][bghot=0x12000000][bgsel=0x11000000][bgselhot=0x14000000][group=0x03][tab=9000][pa"
var_s1 = var_s1 + "d=4,0,4,0][popupoffset=-4,-1]([id=0][group=0x03])"
.ToString = var_s1
.ID = 300
.Caption = "Page2"
with .Items
with .Add("S1")
.ItemHeight = 88
.AllowEdit = 1540 && AllowEditEnum.exItemEditVertical Or AllowEditEnum.exItemEditSpin Or AllowEditEnum.exItemEditProgress
.EditValue = 25
endwith
with .Add("S2")
.ItemHeight = 88
.AllowEdit = 1540 && AllowEditEnum.exItemEditVertical Or AllowEditEnum.exItemEditSpin Or AllowEditEnum.exItemEditProgress
.EditValue = 50
endwith
with .Add("S3")
.ItemHeight = 88
.AllowEdit = 1540 && AllowEditEnum.exItemEditVertical Or AllowEditEnum.exItemEditSpin Or AllowEditEnum.exItemEditProgress
.EditValue = 75
endwith
endwith
endwith
.Add("",0,0).Padding = "8,0,0,0"
endwith
endwith
with .VisualAppearance
.Add(1,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_background.ebn")
.Add(2,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_groupt.ebn")
.Add(3,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_groupo.ebn")
.Add(4,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_grouphot.ebn")
.Add(5,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_frameh.ebn")
.Add(6,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_framehs.ebn")
.Add(7,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_framehi.ebn")
.Add(8,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_framehe.ebn")
.Add(9,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_framevs.ebn")
.Add(10,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_framevi.ebn")
.Add(11,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_frameve.ebn")
.Add(12,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_select.ebn")
.Add(13,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_bordert.ebn")
.Add(14,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_buttond.ebn")
.Add(15,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_buttonu.ebn")
.Add(16,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_tab.ebn")
.Add(17,"CP:16 0 0 0 1")
.Add(18,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_tabhot.ebn")
.Add(19,"C:\Program Files\Exontrol\ExContextMenu\Sample\EBN\MSOffice-Ribbon\msor_tabselhot.ebn")
.Add(20,"CP:19 0 0 0 1")
endwith
.ForeColor = RGB(21,66,139)
.SelBackColor = 0xe000000
.LocalAppearance = 6
.Appearance = 16777216 && 0x1000000
.Object.Background(64) = .Appearance
.Object.Background(2) = 0xd000000 && 0x2
.Object.Background(105) = 0x5000000
.Object.Background(106) = 0x6000000
.Object.Background(107) = 0x7000000
.Object.Background(108) = 0x8000000
.Object.Background(116) = 0x9000000
.Object.Background(117) = 0xa000000
.Object.Background(118) = 0xb000000
.Object.Background(110) = 0xc000000
.Object.Background(112) = 0xf000000
.Select()
endwith
|
165
|
How I can assign buttons to a tab

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.Object.Background(102) = RGB(240,240,240)
with .Items
var_s = "[id=0][group=0x0103][itemspad=4,4,4,4]([id=-10][group=0x03](),[id=0][bg=RGB(240,240,240)][group=0x03][itemspad=4,4,4,4]([id=-100"
var_s = var_s + "]))"
.ToString = var_s
with .item(-10).Items
.Add("",0,0).Padding = "8,0,0,0"
with .Add("New Page")
var_s1 = "[typ=2][chk=1][spchk=-1][show=1][grp=10][bghot=RGB(255,255,255)][bgsel=RGB(240,240,240)][bgselhot=RGB(240,240,240)][height=16][g"
var_s1 = var_s1 + "roup=0x03][tab=-100][pad=2,0,2,0]([id=50][group=0x03]([]))"
.ToString = var_s1
.Caption = "Page<off -5><font ;5><b>1</b></font></off>"
with .Items
.Add("Button 1").ShowAsButton = 3 && ShowAsButtonEnum.exShowAsButtonAutoSize Or ShowAsButtonEnum.exShowAsButton
.Add("Button 2").ShowAsButton = 3 && ShowAsButtonEnum.exShowAsButtonAutoSize Or ShowAsButtonEnum.exShowAsButton
.Add("Button 3").ShowAsButton = 3 && ShowAsButtonEnum.exShowAsButtonAutoSize Or ShowAsButtonEnum.exShowAsButton
endwith
endwith
with .Add("New Page")
var_s2 = "[typ=2][chk=0][spchk=-1][show=1][grp=10][bghot=RGB(255,255,255)][bgsel=RGB(240,240,240)][bgselhot=RGB(240,240,240)][height=16][g"
var_s2 = var_s2 + "roup=0x03][tab=-100][pad=2,0,2,0]([id=50][group=0x03]([]))"
.ToString = var_s2
.Caption = "Page<off -5><font ;5><b>2</b></font></off>"
with .Items
.Add("Button 3").ShowAsButton = 3 && ShowAsButtonEnum.exShowAsButtonAutoSize Or ShowAsButtonEnum.exShowAsButton
.Add("Button 4").ShowAsButton = 3 && ShowAsButtonEnum.exShowAsButtonAutoSize Or ShowAsButtonEnum.exShowAsButton
endwith
endwith
.Add("",0,0).Padding = "8,0,0,0"
endwith
endwith
.Select()
endwith
|
164
|
How can I hide an item

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Item 1").Visible = .F.
.Add("Item 2")
endwith
.Select()
endwith
|
163
|
How do I get the item giving its caption

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Item 1").ID = 1000
.Add("Item 2").ID = 1001
endwith
.item("Item 1").Bold = .T.
.Select()
endwith
|
162
|
How do I get the item giving its identifier

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Item 1").ID = 1000
.Add("Item 2").ID = 1001
endwith
.item(1000).Bold = .T.
.Select()
endwith
|
161
|
Can I change the cursor where it hovers the item
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.Cursor = "exCross"
with .Items
.Add("Item 1")
.Add("Item 2").Cursor = "exNoDrop"
endwith
.Select()
endwith
|
160
|
I am using radio-buttons, the question is it possible to uncheck the radio-buttons, so no button is pressed in the group

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.AllowToggleRadio = .T.
with .Items
with .Add("Radio 1",Null,1000)
.Radio = .T.
.RadioGroup = 100
endwith
with .Add("Radio 2",Null,1001)
.Radio = .T.
.RadioGroup = 100
endwith
with .Add("Radio 2",Null,1003)
.Radio = .T.
.RadioGroup = 100
endwith
endwith
.Select()
endwith
|
159
|
Is it possible to display the item's identifiers

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.Debug = .T.
with .Items
.Add("Item 1").ID = 10001
.Add("Item 2").ID = 10002
endwith
.Select()
endwith
|
158
|
How do I disable showing the tooltip for all control (method 2)
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.AllowToolTip = .F.
with .Items
.Add("Item").Tooltip = "this is a bit of text to be shown when cursor hovers it"
.Add("Item").Tooltip = "this is a bit of text to be shown when cursor hovers it"
endwith
.Select()
endwith
|
157
|
How can I disable the control

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Item 1").Enabled = .F.
.Add("Item 2").Enabled = .F.
.Add("Item 3").Enabled = .F.
endwith
.Select()
endwith
|
156
|
How can I specify a different border/visual appearance for drop down portion of the select buttons/combobox (ebn)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.LocalAppearance = 16777216 && 0x1000000
with .Items
with .Add("",2)
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
with .Items
with .Add("Button",2)
.ShowAsButton = 275 && ShowAsButtonEnum.exShowAsSelectButtonBottom Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
with .Add("Button",2)
.ShowAsButton = 275 && ShowAsButtonEnum.exShowAsSelectButtonBottom Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
.Add("Item 4")
.Add("Item 5")
.Add("Item 6")
endwith
endwith
endwith
endwith
endwith
.Select()
endwith
|
155
|
How can I specify a different border for drop down portion of the select buttons/combobox

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.LocalAppearance = 6
with .Items
with .Add("",2)
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
with .Items
with .Add("Button",2)
.ShowAsButton = 275 && ShowAsButtonEnum.exShowAsSelectButtonBottom Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
with .Add("Button",2)
.ShowAsButton = 275 && ShowAsButtonEnum.exShowAsSelectButtonBottom Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
.Add("Item 4")
.Add("Item 5")
.Add("Item 6")
endwith
endwith
endwith
endwith
endwith
.Select()
endwith
|
154
|
How can I change the visual appearance for the entire control

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Appearance = 16777216 && 0x1000000
.ShowCheckedAsSelected = -1
with .Items
.Padding = "4,4,4,4"
with .Add("Radio 1")
.Radio = .T.
.Checked = .T.
endwith
.Add("Radio 2").Radio = .T.
.Add("Radio 3").Radio = .T.
endwith
.Select()
endwith
|
153
|
How can I show a border arround the control

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.Appearance = 1
.ShowCheckedAsSelected = -1
with .Items
.Padding = "4,4,4,4"
with .Add("Check 1")
.Checked = .T.
.Check = .T.
endwith
with .Add("Check 2")
.Check = .T.
endwith
endwith
.Select()
endwith
|
152
|
Is it possible to change the item's background color when check/uncheck the item

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.ShowCheckedAsSelected = -1
with .Items
.Padding = "4,4,4,4"
with .Add("Check 1")
.Checked = .T.
.Check = .T.
endwith
with .Add("Check 2")
.Check = .T.
endwith
endwith
.Select()
endwith
|
151
|
How can I change the colors for hot/hover items

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.Object.Background(110) = RGB(0,0,1)
.Object.Background(111) = RGB(255,255,255)
.Object.Background(112) = RGB(128,128,128)
.Object.Background(113) = RGB(255,255,255)
.SelBackColor = RGB(128,128,128)
.SelForeColor = RGB(255,255,255)
.Object.Background(102) = RGB(128,128,128)
.ShowCheckedAsSelected = -1
with .Items
.Padding = "4,4,4,4"
.Add("").ToString = "[group=3](Item 1,Item 2)"
with .Add("Check 1")
.Checked = .T.
.Check = .T.
endwith
with .Add("Check 2")
.Check = .T.
endwith
endwith
.Select()
endwith
|
150
|
How do I change the visual appearance of the groups (vertical)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .VisualAppearance
.Add(1,"c:\exontrol\images\normal.ebn")
.Add(2,"c:\exontrol\images\pushed.ebn")
.Add(3,"c:\exontrol\images\hot.ebn")
endwith
.Object.Background(105) = 0x1000000
.Object.Background(116) = 0x1000000
.Object.Background(117) = 0x2000000
.Object.Background(118) = 0x3000000
.Object.Background(109) = RGB(255,0,0)
with .Items
with .Add("",2)
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
with .Items
with .Add("Vertical",2)
.Alignment = 1
.GroupPopup = 257 && GroupPopupEnum.exGroupPopupVertical Or GroupPopupEnum.exGroupPopup
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
.Add("Item 4")
.Add("Item 5")
endwith
endwith
.Add("").CaptionWidth = 12
with .Add("Vertical",2)
.Alignment = 1
.GroupPopup = 449 && GroupPopupEnum.exGroupPopupVertical Or GroupPopupEnum.exGroupPopupFrameThickBox Or GroupPopupEnum.exGroupPopupFrameSolidBox Or GroupPopupEnum.exGroupPopup
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
.Add("Item 4")
.Add("Item 5")
endwith
endwith
endwith
endwith
endwith
.Select()
endwith
|
149
|
How do I change the visual appearance of the groups (horizontal)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .VisualAppearance
.Add(1,"c:\exontrol\images\normal.ebn")
.Add(2,"c:\exontrol\images\pushed.ebn")
.Add(3,"c:\exontrol\images\hot.ebn")
endwith
.Object.Background(105) = 0x1000000
.Object.Background(106) = 0x1000000
.Object.Background(107) = 0x2000000
.Object.Background(108) = 0x3000000
.Object.Background(109) = RGB(255,0,0)
with .Items
with .Add("Horizontal Group",2)
.GroupPopup = 1
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
.Add("Item 4")
.Add("Item 5")
endwith
endwith
.Add("").ToString = "Horizontal Group[group=193](Item 1,Item 2,Item 3,Item 4,Item 5)"
endwith
.Select()
endwith
|
148
|
How can I change the visual appearance of the separator item

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Object.Background(103) = 0x1000000
with .Items
.Add("Item").CaptionWidth = 128
.Add("",1)
.Add("Item").CaptionWidth = 128
.Add("").ToString = "<font ;5>separator[sep]"
endwith
.Select()
endwith
|
147
|
How can I change the visual appearance of the flat portion of the drop down of the control

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.FlatBackColor = 0x1000000
.Object.Background(100) = .FlatBackColor
with .Items
with .Add("Popup",2).Items
.Add("Item 1").Check = .T.
.Add("Item 2").Check = .T.
.Add("Item 3").Check = .T.
endwith
endwith
.Select()
endwith
|
146
|
How can I change the visual appearance of the radio-buttons to be displayed in the context menu (ebn)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .VisualAppearance
.Add(1,"c:\exontrol\images\normal.ebn")
.Add(2,"c:\exontrol\images\pushed.ebn")
endwith
.Object.Background(73) = 0x1000000
.Object.Background(74) = 0x2000000
with .Items
with .Add("",2)
.GroupPopup = 1
with .Items
with .Add("Radio 1",Null,1000)
.Radio = .T.
.RadioGroup = 100
endwith
with .Add("Radio 2",Null,1001)
.Radio = .T.
.RadioGroup = 100
endwith
with .Add("Radio 2",Null,1003)
.Radio = .T.
.RadioGroup = 100
endwith
.item(1000).Checked = .T.
endwith
endwith
endwith
.Select()
endwith
|
145
|
How can I change the visual appearance of the check-boxes to be displayed in the context menu (ebn)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .VisualAppearance
.Add(1,"c:\exontrol\images\normal.ebn")
.Add(2,"c:\exontrol\images\pushed.ebn")
endwith
.Object.Background(70) = 0x1000000
.Object.Background(71) = 0x2000000
with .Items
with .Add("",2)
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
with .Items
with .Add("Check 1")
.Check = .T.
.Checked = .T.
endwith
.Add("Check 2").Check = .T.
endwith
endwith
endwith
.Select()
endwith
|
144
|
How can I change the visual appearance of the tooltips to be displayed in the context menu (ebn)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .VisualAppearance
.Add(1,"c:\exontrol\images\normal.ebn")
.Add(2,"c:\exontrol\images\pushed.ebn")
endwith
.ToolTipDelay = 1
.Object.Background(64) = 0x1000000
.Object.Background(66) = RGB(255,0,0)
with .Items
.Add("Item").Tooltip = "this is a bit of text to be shown when cursor hovers it"
.Add("Item").Tooltip = "this is a bit of text to be shown when cursor hovers it"
endwith
.Select()
endwith
|
143
|
Is it possible to change the visual appearance of the buttons to be displayed in the context menu (ebn)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .VisualAppearance
.Add(1,"c:\exontrol\images\normal.ebn")
.Add(2,"c:\exontrol\images\pushed.ebn")
endwith
.Object.Background(2) = 0x1000000 && 0x2
.Object.Background(3) = 0x2000000 && 0x3
.Object.Background(114) = RGB(255,0,0)
.Object.Background(115) = RGB(0,0,255)
with .Items
.Padding = "4,4,4,4"
.Add("Button").ShowAsButton = 3 && ShowAsButtonEnum.exShowAsButtonAutoSize Or ShowAsButtonEnum.exShowAsButton
with .Add("")
.Enabled = .F.
.ItemHeight = 4
endwith
with .Add("Button",2)
.ShowAsButton = 275 && ShowAsButtonEnum.exShowAsSelectButtonBottom Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
with .Add("")
.Enabled = .F.
.ItemHeight = 4
endwith
with .Add("Button",2)
.ShowAsButton = 19 && ShowAsButtonEnum.exShowAsSelectButton Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
endwith
.Select()
endwith
|
142
|
I've seen that the width of the tooltip is variable. Can I make it larger

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.ToolTipWidth = 328
with .Items
.Add("Item").Tooltip = "this is a bit of text to be shown when cursor hovers it"
.Add("Item").Tooltip = "this is a bit of text to be shown when cursor hovers it"
endwith
.Select()
endwith
|
141
|
How do I disable showing the tooltip for all control (method 1)
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.ToolTipDelay = 0
with .Items
.Add("Item").Tooltip = "this is a bit of text to be shown when cursor hovers it"
.Add("Item").Tooltip = "this is a bit of text to be shown when cursor hovers it"
endwith
.Select()
endwith
|
140
|
How do I let the tooltip being displayed longer

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.ToolTipPopDelay = 10000
with .Items
.Add("Item").Tooltip = "this is a bit of text to be shown when cursor hovers it"
.Add("Item").Tooltip = "this is a bit of text to be shown when cursor hovers it"
endwith
.Select()
endwith
|
139
|
How do I show the tooltip quicker

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.ToolTipDelay = 1
with .Items
.Add("Item").Tooltip = "this is a bit of text to be shown when cursor hovers it"
.Add("Item").Tooltip = "this is a bit of text to be shown when cursor hovers it"
endwith
.Select()
endwith
|
138
|
How can I get the version of the control I am running
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
DEBUGOUT( .Version )
endwith
|
137
|
How can I align the picture on the control's background
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.Picture = thisform.ExContextMenu1.ExecuteTemplate("loadpicture(`c:\exontrol\images\card.png`)")
.PictureDisplay = 2
with .Items
.Add("Item")
.Add("Item")
endwith
.Select()
endwith
|
136
|
Is it possible to place a picture on the control's background
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.Picture = thisform.ExContextMenu1.ExecuteTemplate("loadpicture(`c:\exontrol\images\card.png`)")
with .Items
.Add("Item")
.Add("Item")
endwith
.Select()
endwith
|
135
|
How can I display the item using a different font/size

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("").Caption = "<font ;14>This is a bit of text"
.Add("<font ;6>This is a bit of text")
.Add("").Caption = "<font Times New Roman;22>This is a bit of text</font>. Default"
endwith
.Select()
endwith
|
134
|
How can I use the Event event, available for /COM version

*** Event event - Notifies the application once the control fires an event. ***
LPARAMETERS EventID
with thisform.ExContextMenu1
DEBUGOUT( "Event" )
DEBUGOUT( .EventParam(-2) )
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Check").Check = .T.
with .Add("Slider")
.AllowEdit = 3
.EditWidth = 128
.EditBorder = 0
.EditValue = 25
endwith
endwith
.Select()
endwith
|
133
|
Is it possible to get notified once the user edits the field, or change the slider value

*** EditChange event - Occurs when the user alters the item's text box field. ***
LPARAMETERS Itm
with thisform.ExContextMenu1
DEBUGOUT( "EditChange event on Itm object" )
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("Item")
.AllowEdit = 3
.EditWidth = 128
.EditBorder = 0
.EditValue = 25
endwith
endwith
.Select()
endwith
|
132
|
How do I get notified once I uncheck an item
*** UncheckItem event - Occurs when the user unchecks the item. ***
LPARAMETERS Itm
with thisform.ExContextMenu1
DEBUGOUT( "UncheckItem event on Itm object" )
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Item").Check = .T.
.Add("Item").Check = .T.
endwith
.Select()
endwith
|
131
|
How do I get notified once I check an item
*** CheckItem event - Occurs when the user checks the item. ***
LPARAMETERS Itm
with thisform.ExContextMenu1
DEBUGOUT( "CheckItem event on Itm object" )
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Item").Check = .T.
.Add("Item").Check = .T.
endwith
.Select()
endwith
|
130
|
How do I get notified once I click/select an item
*** SelectItem event - Occurs when the user selects the item. ***
LPARAMETERS Itm
with thisform.ExContextMenu1
DEBUGOUT( "SelectItem event on Itm object" )
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Item")
.Add("Item")
endwith
.Select()
endwith
|
129
|
Does your control support padding for items

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.MenuAppearance = 0
with .Items
.Padding = "2,12,2,2"
with .Add("",2)
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
.BackColor = RGB(255,255,255)
.BackgroundExt = "root[pattern=0x000,frame=RGB(128,128,128)](top[2],top[10,text=`<font ;6><fgcolor 808080> group </font></fgcolor>`,align=0x11])"
endwith
.Select()
endwith
|
128
|
How can I change the visual appearance for items, when cursor hovers it (hot,EBN)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
with .Items
with .Add("",2)
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
with .Items
.HotBackColor = 0x1000000
.Padding = "4,8,4,8"
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
.Add("").ToString = "[group=0x03][itemspad=4,8,4,8][itemsbghot=0x1000000](Item 1,Item 2,Item 3)"
endwith
.Select()
endwith
|
127
|
How can I change the background color for items, when cursor hovers it (hot)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("",2)
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
with .Items
.HotBackColor = RGB(255,0,0)
.Padding = "0,8,0,8"
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
.Add("").ToString = "[group=0x03][itemspad=0,8,0,8][itemsbghot=RGB(255,0,0)](Item 1,Item 2,Item 3)"
endwith
.Select()
endwith
|
126
|
How can I change the visual appearance for items (EBN)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
with .Items
with .Add("",2)
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
with .Items
.BackColor = 0x1000000
.Padding = "4,8,4,8"
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
.Add("").ToString = "[group=0x03][itemspad=4,8,4,8][itemsbg=0x1000000](Item 1,Item 2,Item 3)"
endwith
.Select()
endwith
|
125
|
How can I change the background color for items

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("",2)
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
with .Items
.BackColor = RGB(255,0,0)
.Padding = "0,8,0,8"
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
.Add("").ToString = "[group=0x03][itemspad=0,8,0,8][itemsbg=RGB(255,0,0)](Item 1,Item 2,Item 3)"
endwith
.Select()
endwith
|
124
|
How do I hide the left gray portion to be shown on the drop down menu/popup (method 2)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.FlatImageWidth = 0
with .Items
with .Add("Popup",2).Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
.Select()
endwith
|
123
|
How do I hide the left gray portion to be shown on the drop down menu/popup (method 1)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.MenuAppearance = 0
with .Items
with .Add("Popup",2).Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
.Select()
endwith
|
122
|
How can I arrange the drop down item from left to right, rather than top to bottom

*** SelectItem event - Occurs when the user selects the item. ***
LPARAMETERS Itm
with thisform.ExContextMenu1
DEBUGOUT( "Clicked" )
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
.MenuAppearance = 0
with .Items
with .Add("Button",2)
.ShowAsButton = 275 && ShowAsButtonEnum.exShowAsSelectButtonBottom Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
with .Add("",2)
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
endwith
endwith
.Add("").ToString = "Button[button=0x0113][popupapp=6]([group=0x03](Item 1,Item 2,Item 3))"
endwith
.Select()
endwith
|
121
|
How can I add a drop down button / combobox (method 2)

*** SelectItem event - Occurs when the user selects the item. ***
LPARAMETERS Itm
with thisform.ExContextMenu1
DEBUGOUT( "Clicked" )
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("Button",2)
.ShowAsButton = 275 && ShowAsButtonEnum.exShowAsSelectButtonBottom Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
.Add("").ToString = "Button[button=275][popupapp=6](Item 1[id=20],Item 2[id=30],Item 3[id=40])"
endwith
.Select()
endwith
|
120
|
How can I add a drop down button / combobox (method 1)

*** SelectItem event - Occurs when the user selects the item. ***
LPARAMETERS Itm
with thisform.ExContextMenu1
DEBUGOUT( "Clicked" )
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("Button",2)
.ShowAsButton = 19 && ShowAsButtonEnum.exShowAsSelectButton Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
.Add("").ToString = "Button[button=0x13][popupapp=6](Item 1[id=20],Item 2[id=30],Item 3[id=40])"
endwith
.Select()
endwith
|
119
|
I am using exShowAsSelectButton/exShowAsSelectButtonBottom but none of them works. What could be wrong

*** SelectItem event - Occurs when the user selects the item. ***
LPARAMETERS Itm
with thisform.ExContextMenu1
DEBUGOUT( "Clicked" )
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("Button",2)
.ShowAsButton = 19 && ShowAsButtonEnum.exShowAsSelectButton Or ShowAsButtonEnum.exShowAsButtonAutoSize
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
endwith
.Select()
endwith
|
118
|
How can I add a button (push button)

*** SelectItem event - Occurs when the user selects the item. ***
LPARAMETERS Itm
with thisform.ExContextMenu1
DEBUGOUT( "Clicked" )
endwith
thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Button").ShowAsButton = 3 && ShowAsButtonEnum.exShowAsButtonAutoSize Or ShowAsButtonEnum.exShowAsButton
.Add("").ToString = "Button[button=0x03]"
endwith
.Select()
endwith
|
117
|
How can I display grouping items with no frame arround

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("Horizontal Group",2)
.GroupPopup = 243 && GroupPopupEnum.exGroupPopupFrameThickBox Or GroupPopupEnum.exGroupPopupFrameSolidBox Or GroupPopupEnum.exGroupPopupEqualHeight Or GroupPopupEnum.exGroupPopupEqualWidth Or GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
with .Items
.Add("A").Alignment = 1
.Add("BC").Alignment = 1
.Add("D").Alignment = 1
endwith
endwith
.Add("").ToString = "Horizontal Group[group=243](A[id=20][align=1],BC[id=30][align=1],D[id=40][align=1])"
endwith
.Select()
endwith
|
116
|
How can I display grouping items of the same size/width/height

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("Horizontal Group",2)
.GroupPopup = 241 && GroupPopupEnum.exGroupPopupFrameThickBox Or GroupPopupEnum.exGroupPopupFrameSolidBox Or GroupPopupEnum.exGroupPopupEqualHeight Or GroupPopupEnum.exGroupPopupEqualWidth Or GroupPopupEnum.exGroupPopup
with .Items
.Add("A").Alignment = 1
.Add("BC").Alignment = 1
.Add("D").Alignment = 1
endwith
endwith
.Add("").ToString = "Horizontal Group[group=0xF1](A[id=20][align=1],BC[id=30][align=1],D[id=40][align=1])"
endwith
.Select()
endwith
|
115
|
Is it possible to display a ticker frame arround grouping items

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("Horizontal Group",2)
.GroupPopup = 193 && GroupPopupEnum.exGroupPopupFrameThickBox Or GroupPopupEnum.exGroupPopupFrameSolidBox Or GroupPopupEnum.exGroupPopup
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
.Add("").ToString = "Horizontal Group[group=193](Item 1[id=20],Item 2[id=30],Item 3[id=40])"
endwith
.Select()
endwith
|
114
|
How do I display items horizontally arranged

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("Horizontal Group",2)
.GroupPopup = 1
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
.Add("").ToString = "Horizontal Group[group=0x01](Item 1[id=20],Item 2[id=30],Item 3[id=40])"
endwith
.Select()
endwith
|
113
|
Is it possible to expand an item when it is clicked (tree,group,vertical)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("Expand",2)
.GroupPopup = 259 && GroupPopupEnum.exGroupPopupVertical Or GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
.Check = .T.
.ShowPopupOnChecked = .T.
with .Items
.Padding = "22,0,0,0"
.Add("Radio 1").Radio = .T.
.Add("Radio 2").Radio = .T.
with .Add("Radio 3")
.Radio = .T.
.Checked = .T.
endwith
endwith
.Checked = .T.
endwith
var_s = "Expand[typ=1][chk=1][spchk=-1][group=0x0103][itemspad=22,0,0,0](Radio 1[id=20][typ=2],Radio 2[id=30][typ=2],Radio 3[id=40][typ=2"
var_s = var_s + "][chk=1])"
.Add("").ToString = var_s
endwith
.Select()
endwith
|
112
|
Is it possible to expand an item when it is clicked (tree,group,vertical)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("Expand",2)
.GroupPopup = 259 && GroupPopupEnum.exGroupPopupVertical Or GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
.Check = .T.
.ShowPopupOnChecked = .T.
with .Items
.Padding = "22,0,0,0"
.Add("Radio 1").Radio = .T.
.Add("Radio 2").Radio = .T.
with .Add("Radio 3")
.Radio = .T.
.Checked = .T.
endwith
endwith
.Checked = .T.
endwith
endwith
.Select()
endwith
|
111
|
Is it possible to expand an item when it is clicked (group)

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("Expand",2)
.GroupPopup = 1
.ItemHeight = 24
.Check = .T.
.ShowPopupOnChecked = .T.
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
endwith
.Select()
endwith
|
110
|
Is it possible to extend an item when it is clicked

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("Expand",2)
.Check = .T.
.ShowPopupOnChecked = .T.
with .Items
.Add("Item 1")
.Add("Item 2")
.Add("Item 3")
endwith
endwith
endwith
.Select()
endwith
|
109
|
Does your control implement padding for item

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.BackColor = RGB(250,250,250)
.Add("Item").Padding = "4,4,4,4"
.Add("").ToString = "Item[pad=4,4,4,4]"
endwith
.Select()
endwith
|
108
|
How can I add an empty item for a horizontal group

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
with .Add("",2)
.GroupPopup = 3 && GroupPopupEnum.exNoGroupPopupFrame Or GroupPopupEnum.exGroupPopup
with .Items
.Add("Item 1")
with .Add("",2)
.GroupPopup = 5 && GroupPopupEnum.exGroupPopupCenter Or GroupPopupEnum.exGroupPopup
.ItemHeight = 12
with .Items.Add("")
.Enabled = .F.
.ItemHeight = 8
.CaptionWidth = 8
endwith
endwith
.Add("Item 2")
endwith
endwith
endwith
.Select()
endwith
|
107
|
How can I add an empty/separator item

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Item")
with .Add("")
.Enabled = .F.
.ItemHeight = 2
.CaptionWidth = 8
.BackColor = RGB(240,240,240)
endwith
.Add("Item")
endwith
.Select()
endwith
|
106
|
How can I add an empty/frame item

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Item 1")
with .Add("",2)
.GroupPopup = 5 && GroupPopupEnum.exGroupPopupCenter Or GroupPopupEnum.exGroupPopup
.ItemHeight = 12
with .Items.Add("")
.Enabled = .F.
.ItemHeight = 8
.CaptionWidth = 8
endwith
endwith
.Add("Item 2")
endwith
.Select()
endwith
|
105
|
How can I specify the height of the item

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.BackColor = RGB(250,250,250)
.Add("Item").ItemHeight = 64
.Add("").ToString = "Item[height=64]"
endwith
.Select()
endwith
|
104
|
How can I specify the width of the item

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.BackColor = RGB(250,250,250)
.Add("Item").CaptionWidth = 128
.Add("").ToString = "Item[captionwidth=128]"
endwith
.Select()
endwith
|
103
|
How do I align the item

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.BackColor = RGB(250,250,250)
.Add("Item")
with .Add("Item")
.Alignment = 1
.CaptionWidth = 128
endwith
with .Add("Item")
.Alignment = 2
.CaptionWidth = 128
endwith
.Add("").ToString = "Item[align=1]"
endwith
.Select()
endwith
|
102
|
How can I underline the item

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Item").Underline = .T.
.Add("<u>Item</u>")
.Add("").ToString = "Item[und]"
endwith
.Select()
endwith
|
101
|
How can I show the item as strikeout

thisform.ExContextMenu1 = CreateObject("Exontrol.ContextMenu.1")
with thisform.ExContextMenu1
with .Items
.Add("Item").Strikeout = .T.
.Add("<s>Item</s>")
.Add("").ToString = "Item[stk]"
endwith
.Select()
endwith
|