[Solved] label not updating ... lazarus / 31-LCL ---------------------------------------------------------------------- IPguy · 2011-06-08 01:55 I've an odd issue which I have not seen before. I'm attempting to write to a label, followed by executing a SNMP get. The label is not updating. If I add the ShowMessage, the label updates, I see the Show Message and then start the SNMPGet. I suspect the form does not have a chance to update itself before the pgrm gets tied up with the SNMPGet. Any thoughts on how to force the form to update prior to starting the get? Code: [Select]note: TempStr & DUT.DevName are strings. begin   TempStr := 'Getting ... ' + DUT.DevName;   SNMPTest.Label1.Caption := TempStr;   ShowMessage('loc #1 ' + TempStr);   // at this point, I see the label update, followed by the ShowMessage  STime := Time;   // Do the snmp get for ipRouteDest & Mask   SNMPResult1 := SNMPGetTable(OIDRouteDest,DUT.ROsnmpStr,DUT.DevIP,Table);     0.9.31-30142-2.4.2, win32-Vista ---------------------------------------------------------------------- mmab · 2011-06-08 03:16 add application.processmessages; after label string change. ---------------------------------------------------------------------- IPguy · 2011-06-09 01:15 mmab, thank you - that worked.