On Wed, 2012-07-25 at 05:22 -0700, Bill-Lancaster wrote:
> Thanks, that did the trick.
Cool bananas!
< :-) I must admit to making the same mistake about 30 times a day. So
I've got fairly used to the error message. Perhaps I should add another
sign above my monitor, right next to "Read EVERY wor
Thanks, that did the trick.
--
View this message in context:
http://old.nabble.com/Return-Value-from-Form-tp34209406p34210058.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Live Security Virtual
On Wed, 2012-07-25 at 04:25 -0700, Bill-Lancaster wrote:
> Sorry Caveat, my lazy typing, I should have said:-
>
> If Not fPersonell.ShowModal Then
>
> it still shows the error
Bill,
It's a function. The error message is correct.
Try
If not fPersonell.ShowModal() Then
hth
Bruce
---
Sorry Caveat, my lazy typing, I should have said:-
If Not fPersonell.ShowModal Then
it still shows the error
--
View this message in context:
http://old.nabble.com/Return-Value-from-Form-tp34209406p34209856.html
Sent from the gambas-user mailing list archive at Nabble.com.
-
The property you need to check is Modal, the function to show a Modal
form is ShowModal.
So:
If Not fPersonell.Modal Then
print "No"
endif
Kind regards,
Caveat
On 25/07/12 12:02, Bill-Lancaster wrote:
> Thanks,
>
> If Not fPersonell.ShowModal Then
> print "No
Thanks,
If Not fPersonell.ShowModal Then
print "No"
endif
gets error: Type mismatch, wanted Boolean got function.
Don't understand your comment "For normal form you need to use static var "
--
View this message in context:
http://old.nabble.com/Return-Value-from-Form-tp342094
It's for modal dialog
If not myform.showmodal then
Do all if ok
Endif
For normal form you need to use static var
Le 25 juil. 2012 11:38, "Bill-Lancaster" a
écrit :
>
> When a form is closed with "Me.Close(True)", how is the True value
> captured?
> --
> View this message in context:
> http://
When a form is closed with "Me.Close(True)", how is the True value captured?
--
View this message in context:
http://old.nabble.com/Return-Value-from-Form-tp34209406p34209406.html
Sent from the gambas-user mailing list archive at Nabble.com.