Am 29.10.2006 um 07:33 schrieb Mike Ott:
Vielen Dank für die Hilfe, damit geht's!
Allerdings wird die Anzeige beim Aufruf einer Msgbox im Hintergrund
nicht
weitergeführt, d.h. die Uhrzeit bleibt stehen und wenn man die Box
schliesst
kommt die nachgeführte Uhrzeit.
Ehm versuch mal ob du mit dem Aufrufen von refresh auf das Element wo
die Uhrzeit angezeigt wird was erreichen kannst.
Das Problem ist ja, das der msgBox() befehle die Box wohl als Modal
anzeigt. Und darum das Ui blockiert ist.
Wenn also Refresh nichts bringt,, bleibt dir sonst noch die
Möglichkeit eine eigene MsgBox funktion zu schreiben, die das Fenster
nur mit Show Anzeigt. Und dafür stellst du den Fenstertyp auf einen
Typ um, den man nicht einfach so verlassen kann.
gruss V
From Sun 29 Oct 2006 12:34:07 +0100
Return-Path: <realbasic-nug dot de-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
id 5AAD1F6080D; Sun, 29 Oct 2006 03:34:16 -0800 (PST)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on realxserve.local
X-Spam-Level:
X-Spam-Status: No, score=-2.5 required=4.5 tests=AWL,BAYES_00 autolearn=ham
version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
by xmail.realsoftware.com (Postfix) with ESMTP id 3C020F60802;
Sun, 29 Oct 2006 03:34:15 -0800 (PST)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
by lists.realsoftware.com (Postfix) with ESMTP
id 191A615F0F47; Sun, 29 Oct 2006 05:33:42 -0600 (CST)
X-Original-To: realbasic-nug dot de at lists dot realsoftware dot com
Delivered-To: realbasic-nug dot de at lists dot realsoftware dot com
Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de
[80.67.18.14])
by lists.realsoftware.com (Postfix) with ESMTP id B858515F0F3B
for <realbasic-nug dot de at lists dot realsoftware dot com>;
Sun, 29 Oct 2006 05:33:37 -0600 (CST)
Received: (qmail 32392 invoked from network); 29 Oct 2006 11:34:07 -0000
Received: from unknown (HELO [192.168.1.80]) (363246 at [84 dot 175 dot 99 dot
6])
(envelope-sender <support at monkeybreadsoftware dot de>)
by smtprelay02.ispgateway.de (qmail-ldap-1.03) with SMTP
for <realbasic-nug dot de at lists dot realsoftware dot com>;
29 Oct 2006 11:34:07 -0000
To: realbasic-nug dot de at lists dot realsoftware dot com (REALbasic NUG
German)
In-Reply-To: <C1692E93 dot 4C9E%realbasic at psb-info dot ch>
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Sun, 29 Oct 2006 12:34:07 +0100
Message-ID: <1hnyyvc dot 1mdxf8dyet4b6M%support at monkeybreadsoftware dot de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Organization: Monkeybread Software Germany
X-Face: nrf3>{WQ6c&r+7 at e)"]0G60`-6ND^)I2mI%>)QGYa=9"=7jhd-g2|b3!>Al0+
Ccb%xGQshhi|g at QU2$
User-Agent: MacSOUP/D-2.7 (Mac OS X version 10.4.8)
Subject: Re: Uhr mit Sekundenanzeige
X-BeenThere: realbasic-nug dot de at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic NUG German <realbasic-nug dot de at lists dot realsoftware dot
com>
Sender: realbasic-nug dot de-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug dot de-bounces at lists dot realsoftware dot com
Mike Ott <realbasic at psb-info dot ch> wrote:
Hallo allerseits
Möchte mittels Thread und Timer erreichen, dass in einem Fenster im
Hintergrund sekundengenau die Systemzeit angezeigt wird.
Wenn du einen Timer nimmst, dann mit 500ms, denn der wird sonst nicht so
genau sein. (oder vielleicht 200ms)
Ein CarbonTimer wie ich den im Plugin habe, wird öfters aufgerufen. Z.B:
auch wenn das Menü runtergedrückt wird.
Gruß
Christian
--
Around eleven thousand functions in one REALbasic plug-in.
The Monkeybread Software Realbasic Plugin v6.4. Now universal!
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
|