Hi,
What is the simplest way to make the DCsay called from the valid condition show on the active screen ?
Regards
i.e.
@ 1,1 DCsay "Code " get m->code valid { || getname(m->code) }
.....
DCREAD GUI
function getname
parameter mcode
seek mcode
....
@ 2,2 DCsay dbffile->name
return
dcsay called from a function inside the valid condition
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: dcsay called from a function inside the valid condition
Code: Select all
local myname:=space(20)
@ 1,1 DCSAY "Code " get m->code valid { || myname:=getname(m->code), dc_getrefresh(oName), .T. }
@ 2,1 DCSAY {|| myname } OBJECT oName
.....
DCREAD GUI
function getname(code)
dbffile->(dbseek(code))
....
return dbffile->name
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: dcsay called from a function inside the valid condition
Thanks for the hint, if this the simplest coding.
Regards
Regards
Re: dcsay called from a function inside the valid condition
if this the simplest coding.
In the world of GUI, object oriented, applications this is considered a simple solution.
You cannot just draw stuff on the screen the way you could in Clipper text-based applications.
In the world of GUI, object oriented, applications this is considered a simple solution.
You cannot just draw stuff on the screen the way you could in Clipper text-based applications.
The eXpress train is coming - and it has more cars.