Click here to Skip to main content
15,889,867 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I am working on VBA(Excel), and I have a issue about MSFlexGrid that I can't resolve it.

my issue is display radio button on column of NSFlexGrid. I can diplay check box but i can't with radio.

can you help me resolve this?

Thanks in advance
Posted

1 solution

I'm afraid it's not possible ;)

To imitate CheckBox:
VB
With MyFlex
    .Row = rowCount
    .Col = 1
    .CellFontName = "Wingdings"
    .CellFontSize = 20
    .CellAlignment = 3
    .Text = CStr(False) 'or CStr(True)
End With


To imitate RadioButton:
VB
With MyFlex
    .Row = rowCount
    .Col = 2
    .CellFontName = "Wingdings"
    .CellFontSize = 20
    .CellAlignment = 3
    .Text = Chr(162) 'or Chr(164)
End With


MS FlexGrid Control[^]

Other resources:
http://www.xtremevbtalk.com/archive/index.php/t-131600.html[^]
http://vbcity.com/forums/t/158470.aspx[^]
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=40094&lngWId=1[^]
http://www.vb-helper.com/howto_checkgrid.html[^]
http://forums.codeguru.com/showthread.php?208733-Placing-a-Checkbox-in-a-FlexGrid-Cell[^]
http://www.vbforums.com/showthread.php?443526-RESOLVED-Flexgrid-Checkbox-Wingdings[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900