我写了一个IE Tool,的ActiveX控件,里面有一个输入框,打英文好用,就是输入中文,自动变乱码,我把它的Font属性都设好了,结果还是一样,为什么呢??高手帮忙呀!!!iobject BandForm: TBandForm
Left = 189
Top = 105
BorderStyle = bsNone
Caption = 'Delphi Band'
ClientHeight = 66
ClientWidth = 485
Color = clBtnFace
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = #23435#20307
Font.Style = []
OldCreateOrder = False
Position = poDefault
Visible = True
PixelsPerInch = 96
TextHeight = 13
object Button1: TButton
Left = 216
Top = 0
Width = 49
Height = 21
Caption = 'Button1'
TabOrder = 0
OnClick = Button1Click
end
object Button2: TButton
Left = 264
Top = 0
Width = 49
Height = 21
Caption = 'Button2'
TabOrder = 1
end
object Edit1: TEdit
Left = 8
Top = 0
Width = 193
Height = 21
TabOrder = 2
Text = 'Edit1'
end
end
Left = 189
Top = 105
BorderStyle = bsNone
Caption = 'Delphi Band'
ClientHeight = 66
ClientWidth = 485
Color = clBtnFace
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = #23435#20307
Font.Style = []
OldCreateOrder = False
Position = poDefault
Visible = True
PixelsPerInch = 96
TextHeight = 13
object Button1: TButton
Left = 216
Top = 0
Width = 49
Height = 21
Caption = 'Button1'
TabOrder = 0
OnClick = Button1Click
end
object Button2: TButton
Left = 264
Top = 0
Width = 49
Height = 21
Caption = 'Button2'
TabOrder = 1
end
object Edit1: TEdit
Left = 8
Top = 0
Width = 193
Height = 21
TabOrder = 2
Text = 'Edit1'
end
end
解决方案 »
- 关于搜索时间段的sql语句
- 关于在dbgrid中添加记录的问题
- [求教]如何判断窗体里面是否存在某种控件
- 菜鸟向大家请教一个关于日期差的问题?在线等待!
- Paradox数据库的*.DB文件经常被破坏,why?
- 用过神龙卡BUFFER开发VOD系统的人请进!
- 在ADO实现的分布式系统中如何实现数据的刷新
- 请问大家谁接触过不用连接PC机就能连接远程服务器的POS机(能读IC卡的)..
- delphi + sql server 高手请进.
- 在Delphi中如何能做到将两个日期相减后得到天数呢?
- 我想在SQL语句在发送到数据库前的对他进行校验,检查基本的语法是否正确!!
- 请问各位高手:hHwnd := FindWindow('#32563', nil) 中的#32563是怎么得来的?
这是我的源码,我把那个IETool改了一下控件,我用Delphi7编译的
我的是win2000,各位好心人帮忙看看,为什么我的Edit1输入中文不行呢??谢谢了
也有可能是异常出错;
你将edit控件换一个试试;说不定就好了;我碰到过combobox输入显示乱码的问题;
当时是将其autocomplete属性设置为false解决了;
不过找了一下没发现edit有autocomplete属性;
呵呵;
应该没错的
我认为可能是那个控件没有定义汉字字体,所以就要你把在word文档中写好的
贴到edit中
实在不知道楼主的具体情况,抱歉了
没有定义汉字字体还是存在的比如作帮助的hm3等