‎2008 Nov 05 8:41 AM
Hi all,
I created a form, now i want to add the checkbox. how can i do?
(Plz write code details)
Tks !
‎2008 Nov 05 8:44 AM
It depends where you want the checkbox.
If it is in an ALV you need to modify the field catalog to set the checkbox attribute.
If it is using a write statement then..
data: gv_box type c.
write gv_box as checkbox.or on a parameter screen.
parameters: p_box as checkbox.Darren
‎2008 Nov 05 8:48 AM
Hi,
I use:
'// Add Check box "Man"
'oCheckbox = oForm.Items.Add("Incentive",
SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
'oCheckbox.Caption = "Man"
'oCheckbox.Checked = True
'oItem.Left = 100
'oItem.Top = 150
''// Add Check box "Woman"
'oCheckbox =
oForm.Items.Add("Incentive",SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
'oCheckbox.Caption = "Woman"
'oCheckbox.Checked = TrueBut it not display on form
‎2008 Nov 05 9:06 AM
hi,
Create a box with BOX command
BOX WIDTH '10' MM HEIGHT '10' MM FRAME 10 TWcheck box can be acheived by drawing a box with minimum height and width.
Thanks & Regards