in October 2009 i asked in old webboard about a problem with using Cut from Contextmenu of a dcget:
--- snip ---
using "Cut" from the contextmenu of a dcget "eats" the cutted chars from the get. This menas that after cutting you can insert less characters.
exp. have a dcget with length 30 from a db-field. Cut 10 characters over Contextmenu. After that you can only write 20 characters to these get. Using Strg-X doesn't show this effect.
Sample:
Code: Select all
#include "dcdialog.ch"
#include "appevent.ch"
function Appsys()
return NIL
procedure main()
local getlist := {}, getoptions := {}, lRet
local cVar1 := space(30), cVar2 := padr("Cut this to see", 30)
@3, 3 dcget cVar1
@4, 3 dcget cVar2
DCGETOPTIONS TITLE "Test"
DCREAD GUI TO lRet OPTIONS getoptions ADDBUTTONS FIT
RETURN
--- endsnip ---
Can you please have a look?