Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
似乎 Janus 认为开发人员可能不需要为用户突出单个单元格的价值......
看来 SelStart 和 SelLength 属性适用于整个网格(wtf?)
我需要显示一个网格,当用户输入所需的单元格时,突出显示值以供编辑。你知道,突出显示值,开始输入替换当前值...
应该像一个简单的 txtBox.SelStart=0 & txtBox.SelLength=len(txtBox),但是不!Janus 很聪明……
有谁比 Janus 更聪明?帮助!!
谢谢...
这对我有用
GridEX1.SetFocus GridEX1.Row = 2 GridEX1.Col = 3 GridEX1.EditMode = jgexEditModeOn GridEX1.SelStart = 0 GridEX1.SelLength = 1000