Hi,
I want to change the font for the next character in a rich edit control. This is what I have come up with, but it doesn't work:
SelectRichEditEnd(dlgMap, nLot) 'this sets the selection to the very end of the control
ControlCMD (dlgMap, nLot, @RTSETSELCOLOR, WHITE) 'this works
ControlCMD (dlgMap, nLot, @RTSETSELFONT, "Symbol", 12, 1, 0) 'this doesn't
ControlCMD (dlgMap, nLot, @EDREPLACESEL, chr$(0xE5)) 'I'm looking for sigma, but I get an å
I already had the answer ::)
http://ebasic-aurora.com/forums/index.php?topic=670.msg5753#msg5753 (http://ebasic-aurora.com/forums/index.php?topic=670.msg5753#msg5753)
ControlCMD (dlgMap, nLot, @RTSETSELFONT, "Symbol", 12, 1, 0x20000