1211
Screen designer tips and tutorials / Re: 2 lines of "VB" message to show
« on: June 17, 2019, 03:36:35 AM »
don't know a possibility to Show more than one line in Standard errorlabel.
but you can run a small code in macropump and Show Messages N and N-1 in two userlabels
but you can run a small code in macropump and Show Messages N and N-1 in two userlabels
Code: [Select]
Open "C:\Mach3\Lasterrors.txt" For Input As #2 ' Open to read file.
Do While Not EOF(2)
Line Input #2, FileData ' Read a line of data.
SetUserLabel(151,GetUserlabel(150)) ' save message N-1 to userlabel151
SetUserLabel(150,FileData) ' save message N to userlabel150
Loop
Close #2