[Gambas-user] Bugreport: control content destroyed.

Benoit Minisini gambas at ...1...
Sun May 9 22:24:54 CEST 2004


On Saturday 08 May 2004 16:11, nyarnon wrote:
> Just an observation, query for confirmation.
>
> I use a form with a textbox control to retrieve userinput.
> I made form controls public.
>
> On another form following routine is used:
>
>   'calling form to input data
>   frmInputReq.ShowModal
>
>   'Now I test if a directory exists. If it does not exist it is
>   'created. After END IF the content of frmInputReq.TextBox1.Text
>   'remains unaltered.
>   'BUT! If the dir exists a warningbox is displayed and after
>   'END IF frmInputReq.TextBox1.Text is corrupt.
>   'Is Message.Warning corrupting stack?
>
>   IF IsDir(frmMain.strRootdir &/ frmInputReq.TextBox1.Text) THEN
>     Message.Warning("a warning that dir does not exist")
>   ELSE
>     MKDIR frmMain.strRootdir &/ frmInputReq.TextBox1.Text
>   END IF

Could you send me a complete project so that I trace the interpreter to see 
what happens ?

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list