ALLOWEDIT with long Cell
Posted: Sat Feb 15, 2020 6:05 am
hi,
when have a large Cell and use ALLOWEDIT it will go "outside" Browse
c:\hmg.3.4.4\SOURCE\h_browse.prg
the last Row will do the Effect so i recommend to enhance it
as i know width of WC_EDIT is independent from "Buffer" Size so "@S" is "include"
---
other Solution :
"This.Window.Width" is just a dummy. i guess _HMG_SYSDATA have it.
so who can tell me how to get "This.Window.Width"
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"