This forum is for eXpress++ general support.
c-tec
Posts: 379 Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:
#1
Post
by c-tec » Thu Mar 22, 2012 6:01 am
Hello,
I would like to start at a specific line when displaying a browser. What ist the best method ? I have tried with attached code, but does not work:
Code: Select all
DCREAD GUI FIT BUTTONS DCGUI_BUTTON_OK MODAL TITLE "dpp-appserver.log message lines" EVAL {||startatline(oBrowse1,nLine),oBrowse1:refreshall()}
return .t.
function startatline(oBrowse1,nLine)
******************************************************************
//
oBrowse1:setpointer(nLine)
return .t.
regards
Rudolf
Tom
Posts: 1234 Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany
#2
Post
by Tom » Thu Mar 22, 2012 6:30 am
Code: Select all
oBrowse:ArrayElement := nMyPointer
Try a oBrowse:RefreshAll() afterwards (or inside the EVAL clause of DCREAD).
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
c-tec
Posts: 379 Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:
#3
Post
by c-tec » Thu Mar 22, 2012 7:10 am
Hello Tom,
thank you ! works
regards
Rudolf