Has anyone had any success forcing an edit control (editline, combobox, editbox) to uppercase programatically? I'm setting the bits for all the edit controls in a window at the Create event, but it's not working for me.
Here's the code:
fixcase:
style=get_property(object,'STYLE')
if style1,2 _eqc '0x' then
convert @lower.case to @upper.case in styleMX')
end
if then sty=0x2000 else sty=0x0008
style=bitor(style,sty)
call set_property(object,'STYLE',style)
return
Gracias!
Michael
As we discussed earlier this horrible hack worked for me
pre.code {
background-color: #E5E5E5;border: 1px solid #000000;width: 450px;padding: 5px;font-family: courier, verdana, arial, serif;margin: 0px 10px auto;}
S=.Editline_2-]Style s=iconv(s3,99,'MX') S=bitor(s, 0x8) .editline_2-]Style=SSo all I can suggest is that you abbreviate the 0x8
World leaders in all things RevSoft