when have a large Cell and use ALLOWEDIT it will go "outside" Browse
c:\hmg.3.4.4\SOURCE\h_browse.prg
Code: Select all
FUNCTION _BrowseEdit
...
ElseIf ControlType == 'C'
CellData := RTRIM ( CellData )
DEFINE TEXTBOX Control_1
FONTNAME BFN
FONTSIZE BFS
ROW 0
COL 0
WIDTH This.CellWidth
Code: Select all
WIDTH MIN(This.CellWidth, This.Window.Width)
---
other Solution :
Code: Select all
If ControlType == 'M' .or, ( ControlType == 'C' .and. This.CellWidth > This.Window.Width )
so who can tell me how to get "This.Window.Width"