Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Everything should be made as simple as possible, but not simpler. -- Albert Einstein


devel / comp.lang.clipper.visual-objects / domande

SubjectAuthor
* domandeaurora baccio
+* Re: domandeRobert Pope
|`- Re: domandeaurora baccio
`- Re: domandeJamal

1
domande

<aaac5512-45e4-4179-803d-1b6998a5c67dn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1323&group=comp.lang.clipper.visual-objects#1323

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:622a:1b9e:b0:3e4:ed8e:6dd8 with SMTP id bp30-20020a05622a1b9e00b003e4ed8e6dd8mr203273qtb.6.1684435492551;
Thu, 18 May 2023 11:44:52 -0700 (PDT)
X-Received: by 2002:a25:8004:0:b0:ba8:9455:85b9 with SMTP id
m4-20020a258004000000b00ba8945585b9mr13723ybk.4.1684435492198; Thu, 18 May
2023 11:44:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Thu, 18 May 2023 11:44:51 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=93.65.243.125; posting-account=mGyhkgoAAACGngz8cxCfTmITiU5OjECD
NNTP-Posting-Host: 93.65.243.125
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <aaac5512-45e4-4179-803d-1b6998a5c67dn@googlegroups.com>
Subject: domande
From: aurorabaccio@gmail.com (aurora baccio)
Injection-Date: Thu, 18 May 2023 18:44:52 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1314
 by: aurora baccio - Thu, 18 May 2023 18:44 UTC

Good evening,
I have two questions :
First question : Is it possible to disable the mouse until an event happens (end of printing for example) and then re-enable it ?
Second question : what is the difference between endwindow() and destroy(). Basically when is it useful to use one versus the other ?
Thanks for the help
Aurora Baccio

Re: domande

<489d4510-c419-4e0f-9680-669fc5c8a5cfn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1324&group=comp.lang.clipper.visual-objects#1324

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:ac8:5894:0:b0:3f3:6708:c7cc with SMTP id t20-20020ac85894000000b003f36708c7ccmr380952qta.0.1684475564529;
Thu, 18 May 2023 22:52:44 -0700 (PDT)
X-Received: by 2002:a25:7805:0:b0:b94:6989:7fa6 with SMTP id
t5-20020a257805000000b00b9469897fa6mr509100ybc.4.1684475564175; Thu, 18 May
2023 22:52:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Thu, 18 May 2023 22:52:43 -0700 (PDT)
In-Reply-To: <aaac5512-45e4-4179-803d-1b6998a5c67dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=103.20.253.3; posting-account=zmD_sgoAAAAcgEYSDqXDAKJk2oQcCwKt
NNTP-Posting-Host: 103.20.253.3
References: <aaac5512-45e4-4179-803d-1b6998a5c67dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <489d4510-c419-4e0f-9680-669fc5c8a5cfn@googlegroups.com>
Subject: Re: domande
From: cooeee@gmail.com (Robert Pope)
Injection-Date: Fri, 19 May 2023 05:52:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2158
 by: Robert Pope - Fri, 19 May 2023 05:52 UTC

On Friday, May 19, 2023 at 4:44:53 AM UTC+10, aurora baccio wrote:
> Good evening,
> I have two questions :
> First question : Is it possible to disable the mouse until an event happens (end of printing for example) and then re-enable it ?
> Second question : what is the difference between endwindow() and destroy(). Basically when is it useful to use one versus the other ?
> Thanks for the help
> Aurora Baccio

> First question : Is it possible to disable the mouse until an event happens (end of printing for example) and then re-enable it ?
It sounds like you might be looking for Window:Disable() and Window:Enable().

> Second question : what is the difference between endwindow() and destroy(). Basically when is it useful to use one versus the other ?
EndWindow() closes the window but it remains in memory. You can still query the window object for values. Destroy() takes it out of memory, you can no longer query the window object.

Re: domande

<459425d0-f11a-4836-a3be-7b0b5c31a30fn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1326&group=comp.lang.clipper.visual-objects#1326

  copy link   Newsgroups: comp.lang.clipper.visual-objects
X-Received: by 2002:a05:622a:1890:b0:3ef:6035:465 with SMTP id v16-20020a05622a189000b003ef60350465mr1239115qtc.8.1684561304053;
Fri, 19 May 2023 22:41:44 -0700 (PDT)
X-Received: by 2002:a81:b347:0:b0:561:8e86:9818 with SMTP id
r68-20020a81b347000000b005618e869818mr2329185ywh.7.1684561303840; Fri, 19 May
2023 22:41:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper.visual-objects
Date: Fri, 19 May 2023 22:41:43 -0700 (PDT)
In-Reply-To: <489d4510-c419-4e0f-9680-669fc5c8a5cfn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=93.147.242.89; posting-account=mGyhkgoAAACGngz8cxCfTmITiU5OjECD
NNTP-Posting-Host: 93.147.242.89
References: <aaac5512-45e4-4179-803d-1b6998a5c67dn@googlegroups.com> <489d4510-c419-4e0f-9680-669fc5c8a5cfn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <459425d0-f11a-4836-a3be-7b0b5c31a30fn@googlegroups.com>
Subject: Re: domande
From: aurorabaccio@gmail.com (aurora baccio)
Injection-Date: Sat, 20 May 2023 05:41:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2736
 by: aurora baccio - Sat, 20 May 2023 05:41 UTC

Il giorno venerdì 19 maggio 2023 alle 07:52:45 UTC+2 Robert Pope ha scritto:
> On Friday, May 19, 2023 at 4:44:53 AM UTC+10, aurora baccio wrote:
> > Good evening,
> > I have two questions :
> > First question : Is it possible to disable the mouse until an event happens (end of printing for example) and then re-enable it ?
> > Second question : what is the difference between endwindow() and destroy(). Basically when is it useful to use one versus the other ?
> > Thanks for the help
> > Aurora Baccio
>
> > First question : Is it possible to disable the mouse until an event happens (end of printing for example) and then re-enable it ?
> It sounds like you might be looking for Window:Disable() and Window:Enable().
> > Second question : what is the difference between endwindow() and destroy(). Basically when is it useful to use one versus the other ?
> EndWindow() closes the window but it remains in memory. You can still query the window object for values. Destroy() takes it out of memory, you can no longer query the window object.

I thank you for your response.
I believe destroy() is to be used as many times as I have finished the reference mask.
Obviously I need to close all open archives.
hence a question:
is there any way to know if and which archive is left open ?
I currently use an unprofessional system.
I would like in the close method to insert this control, giving an error message .
thanks

Re: domande

<u4btl3$1ckef$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1329&group=comp.lang.clipper.visual-objects#1329

  copy link   Newsgroups: comp.lang.clipper.visual-objects
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vodotnet@gmail.com (Jamal)
Newsgroups: comp.lang.clipper.visual-objects
Subject: Re: domande
Date: Sat, 20 May 2023 21:54:43 -0400
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <u4btl3$1ckef$1@dont-email.me>
References: <aaac5512-45e4-4179-803d-1b6998a5c67dn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 21 May 2023 01:54:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e39f125b0723d367e01db3cc606507db";
logging-data="1462735"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190bIiVe/JxEan//K1LdW3MC1CaCCxMaAY="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.1
Cancel-Lock: sha1:Fddkwc/JOcuitrQE/pT5UoZtWnE=
In-Reply-To: <aaac5512-45e4-4179-803d-1b6998a5c67dn@googlegroups.com>
Content-Language: en-US
 by: Jamal - Sun, 21 May 2023 01:54 UTC

1. Why not just disable your print button and enable afterwards?!
Disabling the mouse is not such a good idea unless you know what you are
doing and this requires a very low level API knowledge.

2. There is a big difference. While DataWindow:Destory() will close the
Window and NULL all objects, you SHOULD use EndWindow(), otherwise your
QueryClose() and Close() DataWindow events will never be called.

If you need to reclaim memory, although the VO Garabage Collector
handles that automatically, you can call CollectForced() especially in
situations where huge variables are used.

Only use Destroy() for objects other than Windows (Data Windows and
Dialogs).

Jamal

On 5/18/2023 2:44 PM, aurora baccio wrote:
> Good evening,
> I have two questions :
> First question : Is it possible to disable the mouse until an event happens (end of printing for example) and then re-enable it ?
> Second question : what is the difference between endwindow() and destroy(). Basically when is it useful to use one versus the other ?
> Thanks for the help
> Aurora Baccio

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor