FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Multiline get
Posts: 332
Joined: Thu Nov 17, 2005 09:11 PM
Multiline get
Posted: Wed Aug 24, 2011 02: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.

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Multiline get
Posted: Wed Aug 24, 2011 08:54 AM

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

EMG

Posts: 332
Joined: Thu Nov 17, 2005 09:11 PM
Re: Multiline get
Posted: 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.

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Multiline get
Posted: Fri Aug 26, 2011 08:42 AM
Try

Code (fw): Select all Collapse
oGet03:Append( Str( x ) + CRLF )


EMG

Continue the discussion