gb 2.17 debian sid
==================

Hi,

I've got something strange: if I don't add a wait line between
a visible property and a call, it don't work at all:

PUBLIC SUB btnOk_Click()
  MDB.MyHost = txtbHost.Text
  MDB.MyDB = txtbDB.Text
  MDB.MyUsr = txtbLogin.Text
  MDB.MyPass = txtbPass.Text
  IF MDB.DBConnect() THEN 
    lblWait.Visible = TRUE
    WAIT 0.01   ' mandatory otherwise lblWait don't appear
    MDB.Fill_DB_Tree()
    lblWait.Visible = FALSE
    ME.Close
  ENDIF 
END

-- 
Angels we have heard on High
Tell us to go out and Buy.
                -- Tom Lehrer

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to