Coloum check box  true with non editable.

i want  that a check box in coloum  is true  with non editable  ...    look at   *****  in como select event.
is it possible ..
'// Add a column for  check  Cut value or not
        oColumn = oColumns.Add("chose", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
        oColumn.TitleObject.Caption = "CHECK"
        oColumn.Width = 50
        oColumn.Editable = False
        ' oColumn.Visible = False
        oColumn.DataBind.SetBound(True, "@DOCHECK", "U_check")
If (pVal.ItemUID = "Mat1") And (pVal.ColUID = "DOno") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT) And (pVal.Before_Action = False) Then
            oForm = SBO_Application.Forms.Item(FormUID)
            Dim oEdit As SAPbouiCOM.EditText
            Dim oCombo1 As SAPbouiCOM.ComboBox
            Dim qstr As String
            Dim sval As String
            Try
                oItem = oForm.Items.Item("Mat1") '''''' Matrix
                oMatrix = oItem.Specific
                oCheckBox = oMatrix.Columns.Item(5).Cells.Item(pVal.Row).Specific
                oColumns = oMatrix.Columns
                colDONO = oColumns.Item("DOno")   '''''' Delivery order no
                oCombo1 = colDONO.Cells.Item(pVal.Row).Specific
                sval = Trim(oCombo1.Selected.Value)
                rs = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                qstr = "select U_DoDate ,U_Oqty,U_Bqty from [@DOMAST] where  code = '" & sval & "'"
                rs.DoQuery(qstr)
                rs.MoveFirst()
                '''''''''''''''''''''''''''''   value   come from  from test master
                If Not (rs.EoF) Then
                    'Do While Not (rs.EoF) = False
                    oEdit = oColumns.Item("DOdt").Cells.Item(pVal.Row).Specific
                    oEdit.String = Format(rs.Fields.Item("U_DoDate").Value, "ddMMyy")  ''''''delivery date
                    oColumns.Item("Oqty").Cells.Item(pVal.Row).Specific.value = rs.Fields.Item("U_Oqty").Value  ''''' Orginal quantity
                    oColumns.Item("Rqtval").Cells.Item(pVal.Row).Specific.value = rs.Fields.Item("U_Bqty").Value ''''' Balance quantity 
                    oCheckBox.Checked = True   ........ i want        it will be true but  non editable ?????*****
         oMatrix.Columns.Item(5).editable=False           
'''''''''''''  then it will be  non editable that means  edittable  false.  when i put
oMatrix.Columns.Item(5).editable=False  then check box is not true
rs.MoveNext()
                End If
                oColumns.Item(0).Cells.Item(pVal.Row).Click()
                oMatrix.clearSelection()
            Catch ex As Exception
            End Try
        End If

thanks for reply.
when i am  select some value from combox in matrix there is a coloum  in check box .
my check box is true. ok its working .
when i set coloum. editable =false
then check box is not true.
If (pVal.ItemUID = "Mat1") And (pVal.ColUID = "DOno") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT) And (pVal.Before_Action = False) Then
            oForm = SBO_Application.Forms.Item(FormUID)
            Dim oEdit As SAPbouiCOM.EditText
            Dim oCombo1 As SAPbouiCOM.ComboBox
            Dim qstr As String
            Dim sval As String
            Try
                oItem = oForm.Items.Item("Mat1") '''''' Matrix
                oMatrix = oItem.Specific
                oCheckBox = oMatrix.Columns.Item(5).Cells.Item(pVal.Row).Specific
                oColumns = oMatrix.Columns
                colDONO = oColumns.Item("DOno")   '''''' Delivery order no
                oCombo1 = colDONO.Cells.Item(pVal.Row).Specific
                sval = Trim(oCombo1.Selected.Value)
                rs = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                qstr = "select U_DoDate ,U_Oqty,U_Bqty from [@DOMAST] where  code = '" & sval & "'"
                rs.DoQuery(qstr)
                rs.MoveFirst()
                '''''''''''''''''''''''''''''   value   come from  from test master
                If Not (rs.EoF) Then
                    'Do While Not (rs.EoF) = False
                    oEdit = oColumns.Item("DOdt").Cells.Item(pVal.Row).Specific
                    oEdit.String = Format(rs.Fields.Item("U_DoDate").Value, "ddMMyy")  ''''''delivery date
                    oColumns.Item("Oqty").Cells.Item(pVal.Row).Specific.value = rs.Fields.Item("U_Oqty").Value  ''''' Orginal quantity
                    oColumns.Item("Rqtval").Cells.Item(pVal.Row).Specific.value = rs.Fields.Item("U_Bqty").Value ''''' Balance quantity 
                                       oCheckBox.Checked = True
                    rs.MoveNext()
                End If
                oColumns.Item(0).Cells.Item(pVal.Row).Click()
                oMatrix.clearSelection()
            Catch ex As Exception
            End Try
        End If

Similar Messages

  • How to automate the adding of check-box along with each numbered item in Framemaker file ?

    I tried using the wingdings font as check-box. But I don't want to use it manually every time. I want to have it as a style part of my procedure style (numbering style).   I need the check-box along with each numbered item. Whenever I apply my numbering style in FM, I should get something like:
    " <checkbox> 1. <text> "

    Use "N:\u2751\ <n+>.\ " for the autonumber format.
    "N" Use counter N
    "\u2751" One of many checkboxes available in Unicode
    "<n+>" increment the counter
    "." ordinary period
    "\ " non-breaking space
    This assumes that you are on FM8 or later, and your Unicode font has that glyph code point populated (Arial Unicode MS does if your font doesn't).
    Don't use WingDings (or Zaph Dingbats) anymore. Using codepage overlays has any number of issues, and these two sets of legacy codepage dingbats don't even match each other.

  • Access 2010 - If Then Else Statement to display text within text box upon Check Box True/False condition

    I have a form called myForm. On this form is a check box called myCheckBox. I also have a text box labeled myTextBox. I have assigned a macro, myMacro, to run upon selection/click of myCheckBox. The macro is an If statement which determines if myCheckBox
    is checked or not checked and spits out a value, "Yes" or "No" for example, into the text box.
    I am not able to get text to display into the text box although I am not receiving any errors when I run the macro. This may be a fault in my logic and would like help resolving where the problem lies. I am fairly new to Access so this could be something
    simple.
    My code is as follows:
    If Forms!myForm =  True Then
      Forms!myForm!myTextBox.Value = "Yes!"
    ElseIf Forms!myForm = False Then
      Forms!myForm!myTextBox.Value = "No!"
    Else
      Forms!myForm!myTextBox.Value = " / ERROR / " 
    End if
    Thanks!

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Office, the issue is more related to coding/programing, you'd better post your question to the MSDN forum for Access
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=accessdev&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support

  • Check box as a non database item

    Hi.,
    I am using jdev 11.1.5
    My scenario:
    I need to use checkbox in my af:table which is a non database item
    if i check that check box i need to select the current row in that table
    ex:
    yr        period     type
    2010    2            AJ    [checkbox]
    2010    3            AJ    [checkbox]If I check the 2nd period check box then the value of
    Row row= vo.getcrrent();
    row.getAttribute("period");  //   this value must be 2
    check box must be a non-database item
    how can i do this

    is this what you want?
    Row row= vo.getcrrent();
    row.getAttribute("period");  //   this value must be 2
    int index =vo.getRangeIndexOf(row); //Get the index of the given row relative to the beginning of the range. http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e10653/oracle/jbo/RowIterator.html#getRangeIndexOf%28oracle.jbo.Row%29

  • Drop-down list of check-box options with header.

    Okay, I'm not sure if this is actually possible but I shall ask anyway. Partially because I have limited FP real estate and also because I think this is relatively easy method for the user to use, I have come up with the following idea:
    I want something that looks similar to a menu ring when not selected, displaying the text 'Plots'. Then, when it is clicked a list/menu opens downwards (as opposed to the default operation of menu rings). In this list/menu will be an element for each plot that is displayed on an XY Graph. Each element will contain a check-box (control) and a string (indicator). The strings will each display their respective plot name. The user can then click on the list/menu/thing to show the elements for the plots, and can check or uncheck however many they wish. The idea is that whichever plots are checked will be the ones displayed on the XY Graph.
    Firstly, have I explained this well enough, and secondly, is it possible?
    Thank you.
    James
    Never say "Oops." Always say "Ah, interesting!"
    Solved!
    Go to Solution.

    Just to make sure I wasn't leading you down the garden path, I messed around a little and came up with the following two vi's (LV 8.5)
    Load  Custom Ring Main.vi, run it, and try selecting the ring list.
    Hope this helps! 
    Thoric (CLA, CLED, CTD and LabVIEW Champion)
    Attachments:
    Custom Ring Main.vi ‏24 KB
    custom_ring_subvi.vi ‏37 KB

  • Can you create a webform which combines a check box list with a text field?

    In Business Catalyst I'm looking to create a question and answer web form where visitors to the site fill out a choice or choose other and fill in a text field. See sample below...
    Has anyone got any suggestions on how this could be done?
    The question would be as follows...
    Do you live in the area?
    _ Yes
    _ Cottager
    _ Visiting
    _ Other Location _____________

    Liam,
    Thanks for your response, now I'm finding out from the client that this is really an anonymous survey that they want to put on the site. They have been using an online survey but it keeps asking people to join by email. They are getting complaints about that so they want to find another way.
    I've tried to make the form anonymous but I can't remove the email field. Can this be hidden so it doesn't show. Or is there another way to do this?
    I'm not able to code javascript and there are other questions which are similar to the sample I gave which require a text field as well as check boxes.

  • Af:table with check box

    Hello Folks,
    I am finding very difficult here with checkBox.....
    I have a button Names "SELECT ALL" that selects all the rows in the af:table but i am also looking to check all the checkBoxes associated with row with that same "SELECT ALL" button...
    This is how i am selecting all the row and this works fine but i should also be able to check the check Boxes along with row selection for that row with that same click.
    RowKeySet rks = new RowKeySetImpl();
    CollectionModel model = (CollectionModel) getBidTB().getValue();
    int rowcount = model.getRowCount();
    for (int i = 0; i < rowcount; i++)
    model.setRowIndex(i);
    Object key = model.getRowKey();
    rks.add(key);
    getBidTB().setSelectedRowKeys(rks);
    AdfFacesContext.getCurrentInstance().addPartialTarget(getPanelGroup());
    It seems simple but my head is sniping a lot already can't get into it... Your Help will be highly appreciated.
    Thanks
    ### edited/ added #### i am using transient VO, if that makes any difference.
    Edited by: MavenDev on Dec 20, 2011 12:35 PM

    For those who are in similar situation ... below is the code which i used to select all check boxes for all row that are selected :
    RowKeySet selectedEmps = getBidTB().getSelectedRowKeys();
    Iterator selectedEmpIter = selectedEmps.iterator();
    DCBindingContainer bindings =
    (DCBindingContainer) BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding empIter =
    bindings.findIteratorBinding("myIter");
    RowSetIterator empRSIter = empIter.getRowSetIterator();
    while (selectedEmpIter.hasNext())
    Key key = (Key) ((List) selectedEmpIter.next()).get(0);
    Row currentRow = empRSIter.getRow(key);
    currentRow.setAttribute("RowChkFlg", Boolean.TRUE);
    }

  • Help with ON and OFF check boxs

    Hi all
    I have 2 check boxs one with no and one with yes.
    Can anyone tell me what the code would be to do the following.
    When I click on NO then click on YES I need to turn the NO off, and then when I click on YES it will turn NO of
    Hope you undersatnd what I mean.
    Just a on off code
    Can someone show me the code
    Thanks Craig

    I think this is the job of the ButtonGroup class which you can use with JRadioButton.
    But I'm not sure you can do this automatically with JCheckBox. You'll have to add a listener for each checkbox and enable/disable the checkbox according to which event was triggered.

  • I/O field grayed out after check box checked ( Dynpro)

    Hi ,
    I have dynpro  dialog screen  with several check boxes linked with input/output field
    When check box is checked the I/O field is editable when check box is empty I/O field should be grayed out.
    I am trying to find the way how checking the check box can trigger the change of attribute of I/O field.
    The IO field should be gray out after checking check box without hitting enter or any other button.
    Please advice
    Chris

    Hi ,
    Thank you for your answer. I was missing Functional code of my check boxes.
    Now i have still issue my I/O field do not turns in gray ( only output) In loop
    I dide like you said ( this is example from my PAI module user-command)
    when 'CB1'.
          loop at screen .
            if screen-name = 'LT_FORMAT_IO'
              and lt_format_cb is initial.
              screen-input = '0'.
              screen-invisible = '1'.
              modify screen.
            endif.
          endloop..
    Once screen is displayed again , the IO field stll remains non grayed out.
    Please advice
    Chris

  • Adding a "normal" square check box as a Pages 09 bullet?

    I would like to add a "normal" check box to my text bullets or image bullets in Pages 09 for more formal documents. The "artsy" check box supplied with Pages 09 is inappropriate for my work. Is there a way of getting or using a normal square check box for pages?

    The changes are in the document, not in the program.
    When the program will open this hacked document, it will grab the xml instruction as is.
    If the syntax is modified as it was from Numbers '08 to Numbers '09, the keywords will change but not the contents.
    Its the beauty of XML
    I wish to add that I posted this hack because it is not machine dependent.
    If you apply it on your machine, the document will behave the same if you open it on an other system.
    I would not did that if the document was OK only on its source machine. Not sure of my syntax but I think that you may understand. You may re-phrase it if it's really too odd).
    Second addition.
    As you saw, there are nine predefined bullets.
    If you edit the embedded descriptors you may have nine + nine different bullets. But you may also edit already edited descriptors.
    So, if you want to build a really ugly document you may use a huge number of different bullets (Pandora's box is open).
    Yvan KOENIG (from FRANCE vendredi 24 avril 2009 11:23:27)

  • Check box in tabel view?when to use itereator and when to use table view

    hi,
    I want to have a check box along with the other 7fields  in the table view.
    when the checkbox is checked and the merge complete push button is clicked, the respective code for merge is to be executed.
    how can I do this?
    could anyone tell me hw to get a check boz in table view
    when to use a  iterator in BSP, how table view n iterator in comparision ae used or function/work.
    Regards,
    Pavan P.

    Hi Pavan,
    Table View is an BSP element used to display mass data in a layout similar to a table (table view).
    <b>Iterator</b>is an attribute to modify rendering row-by-row, and make it dependent on the clicked row. In this way, you define an action from a particular line. This action is defined in columnDefinitions or overWriteDefinitions.
    <htmlb:tableView id = "tvX"
                     headerText          = "Department List"
                     design              = "standard"
                     headerVisible       = "true"
                     width               = "30%"
         selectedRowKeyTable = "<%= selectedrowindextable %>"
         onRowSelection      = "MyEventRowSelection"
         sort                = "server"
         keepSelectedRow     = "TRUE"
         selectionMode       = "MULTISELECT"
         table               = "<%= i_dept %>" >
    </htmlb:tableview>
    In your <b> OnInputProcessing </b>, Use this Iterator table to get the data of selected records.
    IF selectedrowindextable[] IS NOT INITIAL.
    DESCRIBE TABLE selectedrowindextable LINES no .
    Rgds,
    Jothi.
    Pls do close the thread if ur problem is solved.

  • Check box column trouble

    Hi !
    I am new with java server faces.
    What i am trying to do now is adding a check box column to a rich extended data table, i did this adding a new column with a h:selectBooleanCheckbox inside of it.
    The trouble is that i could not syncronize my check box selection with onRowClick event of table, an example could be when i deselect a table row the check box still remain selected. I am trying to solve this issue using just control components without using beans logic (i don't know if this is right).
    Please if you know some tutorials explaning how to add a check box column to a extended data table or if there are some properties or events of table that could help me, give me a feed back.
    Basicly what this is what i did:
    <rich:extendedDataTable .... >
    <rich:column width="8%" styleClass="checkBoxColumn">
    <h:selectBooleanCheckbox value="true" />
    </rich:column>
    </rich:extendedDataTable .... >
    Regards,
    Radu

    cezarini wrote:
    The trouble is that i could not syncronize my check box selection with onRowClick event of table, an example
    could be when i deselect a table row the check box still remain selected.
    Basicly what this is what i did:
    <rich:extendedDataTable .... >
    <rich:column width="8%" styleClass="checkBoxColumn">
    <h:selectBooleanCheckbox value="true" />
    </rich:column>
    </rich:extendedDataTable .... >
    By default the value attribute of h:selectBooleanCheckbox tag is true i.e.
    <h:selectBooleanCheckbox value="true" />I would suggest you use a4j:support tag. For more information about this tag please visit the following URL:
    [http://livedemo.exadel.com/richfaces-demo/richfaces/support.jsf;|http://livedemo.exadel.com/richfaces-demo/richfaces/support.jsf;]

  • Inserting a Check Box

    I have CS2. This should be an easy thing, but I can't figure out how to do it. I have made a table, and I want to type text and put a check box next to it, and I don't see how to do that. Please help. Thanks.

    There are many ways to create a check box (filled or empty).
    Fonts to look for include Zapf Dingbats and Wingdings. There are others, but these two are common enough.
    Use the Glyphs Pallete to add the dingbats/wingdings. Use the Bullets and Numbering to automate adding them. You can create a new column in the table to hold the check boxes, or you can edit your paragraph style to make the text have a hanging indent for the check box glyph.
    Using the paragraph style with a defined bullet is, IMO, the best option for "automating" placement of a check box. Go to the Bullet and Numbering section and change the list type to bullet, click the Add. button, define the font and select the desired glyph. Don't forget to set the indents.

  • Can't reset to 32 bit, no check box

    Can't reset to 32 bit, no check box...Logic V.9.0.2....OS X running V10.6.2....on a Macbook 2.4 GHz Intel Core 2 Duo....switched to 64 bit a couple days ago...Wanted to switch back to 32 Bit..now when I open info window there is no check box for 32 bit...I have a dimmed Locked check box & Open with Rosetta checkbox but no 32 bit or 64 bit check box, even after unlocking finder at bottom of info window???
    Message was edited by: TL2010

    I have a a Macbook 2.4 GHz Intel Core 2 Duo which can run 64 bit, I've checked, Cor 2 Duo will run 64 bit, Yesterday I opened the Logic Pro V 9.0.2 info checked the 64 bit check box and Logic has been running in 64 bit, it displays it in the starup....I wanted to switch back and try it in 32 bit again, But when I open the Info pane now it does not diplay the 32 bit check box

  • ALV grid field editable/non editable at runtime

    Hi All,
    I am working on alv grid using containers. I have to make few cells in grid to editable and few othres to non editable which I did using styles by defining table type lvc_t_styl and updating my main internal table. Now once grid is displayed for first time (using set_table_for_first_display) it has required fields in editable and non editable as required. But now on triggering of data_changed event I have to change the editable cells to non editable and the non editable cells to editable. I tried doing this as same way as I have done before calling set_table_for_first_display method i.e. by  defining table of type lvc_t_styl in data_changed event and modifying my main internal table but this time the editable fields are changed to non editable and again becomes editable. Same problem with non editable cells also. They become editable and again becomes non ediatble of there own. Can anyone suggest any solution.
    <b>Note: Points awarded for helpful answers</b>
    null

    Hi,
    Check this link.I am explaining the steps for this.
    Kindly reward points by clicking the star on the left of reply,if it helps.<a href="https://wiki.sdn.sap.com/wiki/display/Snippets/ALV-Editingandsavingtheeditedvaluesin+Database(OOPS)">Editing OOPS ALV</a>

Maybe you are looking for

  • Service Desk: Upload backdated issues

    Hi All, We would like to upload our backdated data in solution manager, we are going to use soluton manager (Service Desk) for tracking our SAP related issue. Our requirement is to upload all the backdated SAP related issues in solution manager (i.e

  • I don't have phone, but the TV says I need to replace battery backup for phone?!?!?!

    Hello, For three years, we've had Verizon Fios Internet and TV.  We've never had a phone. Today, the contraption Verizon plugged in the wall (sadly, I'm not really sure what it is, and had forgotten it existed until today as it's tucked behind some f

  • Display Vendor Code in FBL3N GL Line Items

    I am working on ECC 6 Version. I have observed that in the GL Line Items list ( T code FBL3N) for GR/IR accounts, Vendor Code Field is blank for some of the line items. Mostly the document types involved are RE (MIRO) and WE (Goods Receipt) where ven

  • Hyperlink Colors

    We are experiencing a minor problem with hyperlink colors, specifically "visited" hyperlinks. The color is not changing. I have checked the browser and the settings are set to colors for the visited and unvisited links. Is this setting controlled any

  • How do I remove damaged or incomplete files from computer?

    I have had difficulty removing about a dozen files from my computer. I have tried all resources that I possess including using the original installation  procedure for Maverick (as described) to no avail. I've tried renaming, seeing if they are locke