Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
SelectItem a value in ToolCombox
posted

Hello,

 I created a ToolCombo. I added the value...

I would like select a value in my list.

I try this program, but this no work !!!!!

Dim Cbo_TaillePolice As UltraWinToolbars.ComboBoxTool

Cbo_TaillePolice = Me.MenuPrincipal.Toolbars.ToolbarsManager.Tools("TaillePolice")

Cbo_TaillePolice.ValueList.SelectedItem = My.Settings.TaillePolice.ToString

My.Settings.TaillePolice.ToString" is my default value that is a font size....

What append ???

Help me.

Thank you. 

 

 

Parents
No Data
Reply
  • 44743
    Verified Answer
    posted

    Try to set the Value of the ComboBoxTool instead of the selected item on the value list:

    Cbo_TaillePolice.Value = My.Settings.TaillePolice

    or

    Cbo_TaillePolice.Value = My.Settings.TaillePolice.ToString

     

Children