[Gambas-user] Clearing data from TextAreas & ListBoxes

John Rose john.aaron.rose at ...626...
Mon Mar 2 19:31:52 CET 2015


I have a Click event on a Button. At runtime, clicking the button should
cause clearing of the data from a TextArea & some ListBoxes. There's no
way this 'clearance' cannot be executed as the Exec of a CL program
(which definitely happens because it populates these controls) soon
follows it. However, it doesn't seem to do so. Clearance coding:
With StopListBox
    .Clear
    .Refresh
  End With
  With SteckersListBox
    .Clear
    .Refresh
  End With
  With ReflectorListBox
    .Clear
    .Refresh
  End With
  With RotorsListBox
    .Clear
    .Refresh
  End With
  With DetailTextArea
    .Clear
    .Refresh
  End With

Is the above the correct method of causing the clearance to happen on
the screen immediately?
 
-- 

John






More information about the User mailing list