Multiline get

Multiline get

Postby Wanderson » Wed Aug 24, 2011 2:46 am

Hi, i have a multiline get and in a specific funcion i add text in this get for many times, after add i do oGet01:GoBottom() to go for end o get but don't work.

Code:

REDEFINE GET oGet03 VAR LogMail MULTILINE ID 128 of oDlg COLOR CLR_WHITE,CLR_BLACK update

...

for x = 1 to 20
LogMail := LogMail + str(x)+CRLF
oGet03:Refresh()
SysRefresh()
oGet03:GoBottom()
next x

Any idea?
Thanks in advance.
Wanderson
 
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

Re: Multiline get

Postby Enrico Maria Giordano » Wed Aug 24, 2011 8:54 am

Try putting oGet03:GoBottom() in the INIT clause or in the bStart codeblock of the dialog.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8712
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Multiline get

Postby Wanderson » Thu Aug 25, 2011 10:46 pm

Hi Enrico thanks for your answer but the lines are added in a funcion after dialog display and somes gets typed.
I want the same result like somes installers show the copy files progress.
Sorry about my english.
Wanderson
 
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

Re: Multiline get

Postby Enrico Maria Giordano » Fri Aug 26, 2011 8:42 am

Try

Code: Select all  Expand view
oGet03:Append( Str( x ) + CRLF )


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8712
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 63 guests