Arraybrowser set pointer

This forum is for eXpress++ general support.
Post Reply
Message
Author
c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Arraybrowser set pointer

#1 Post by c-tec »

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
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

User avatar
Tom
Posts: 1234
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: Arraybrowser set pointer

#2 Post by Tom »

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:

Re: Arraybrowser set pointer

#3 Post by c-tec »

Hello Tom,
thank you ! works
regards
Rudolf
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

Post Reply