Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1463

Unicode OptionButton

$
0
0
Here's a Unicode Option Button. Just see small sample project. It should be self-explanatory.

One weakness: You can't paste the caption with pure unicode (without an RTF format being in the clipboard). It's best to paste into WordPad, re-copy, and then it'll paste into the Option Button's caption. I know how to paste pure unicode, but it just makes the control quite a bit heavier. You can set the caption at runtime with a string (which is unicode, of course) and it'll correctly go into the caption as unicode.

Enjoy:
UnicodeOptionButton.zip

EDIT: There's also a GroupNum property for creation Option Button groups. No need for separate frames or containers. Initially, it defaults to 0, linking them all together.
Attached Files

Viewing all articles
Browse latest Browse all 1463

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>