On Sat, 2012-08-11 at 13:47 +0200, Fabien Bodard wrote:
> Or simply:
> If FMain then
>
> If fmain is not used then it is not instanciate so its value must be
> null... I think...
>
> Another way can be to add a static value to fmain
>
> 'in fmain
>
> Static Private $iCnt as integer
>
> Proper
Or simply:
If FMain then
If fmain is not used then it is not instanciate so its value must be
null... I think...
Another way can be to add a static value to fmain
'in fmain
Static Private $iCnt as integer
Property Read IsOpened as boolean
PUblic sub _New()
inc $iCnt
endif
Public sub Form_
If Form.Visible is not what you need,
then you can declare Opened boolean to form and set it true in Form_Open
event.
Jussi
On 10 August 2012 03:24, rocko wrote:
> Is there a way to check if a form is opened??
>
> If Fmain.Open = True Then
> do...something
> endif
>
> I tries .Show bu
On 10/08/12 10:24, rocko wrote:
> Is there a way to check if a form is opened??
>
> If Fmain.Open = True Then
> do...something
> endif
>
> I tries .Show but got an error.
is this what you need ?
http://gambasdoc.org/help/comp/gb.qt4/window/visible?v3
time to read the docs ;-)
>
>
> --
Is there a way to check if a form is opened??
If Fmain.Open = True Then
do...something
endif
I tries .Show but got an error.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways tod