From: Itamar M. L. J. L. <ita...@gm...> - 2018-08-31 21:10:16
|
Hi! Fragment of code. @ 12,89 PROGRESSBAR oProgressbar1 SIZE 635,18 BARWIDTH 20 QUANTITY 100 @ 12,143 PROGRESSBAR oProgressbar2 SIZE 635,18 BARWIDTH 26 QUANTITY 100 ... FOR I:=1 TO 10 Eval( {|| oDlg:oProgressbar1:Set(, (i/10) * 100), oDlg:oProgressbar1:Refresh(), .T.} ) Eval( {|| oDlg:oProgressbar2:Set(, (i/10) * 100), oDlg:oProgressbar2:Refresh(), .T.} ) inkey(.1) NEXT ... out put console: (percentual:2502): Gtk-CRITICAL **: 18:03:01.092: IA__gtk_progress_set_percentage: assertion 'percentage >= 0 && percentage <= 1.0' failed (percentual:2502): Gtk-CRITICAL **: 18:03:01.092: IA__gtk_progress_set_percentage: assertion 'percentage >= 0 && percentage <= 1.0' failed (percentual:2502): Gtk-CRITICAL **: 18:03:01.092: IA__gtk_progress_set_percentage: assertion 'percentage >= 0 && percentage <= 1.0' failed ... Best regards, Itamar M. Lins Jr. |