[GiDlist] WarnWinText

Moderator: GiD Team

Post Reply
Mark Smith

[GiDlist] WarnWinText

Post by Mark Smith »

Enrique
Thank you very much. That did the trick :-)
Mark

Just out of curiosity does this mean that my GiD6.3.0b application would not
run correctly under an up to date GiD version?

-----Original Message-----
From: Enrique Escolano [mailto:escolano at cimne.upc.es]
Sent: 03 September 2003 15:01
To: gidlist at gatxan.cimne.upc.es
Subject: Re: [GiDlist] WarnWinText


For your old GiD 6.3.0b this window has another name: .gid.__warnwintext
use:

if { [winfo exists .gid.__warnwintext] } {
destroy .gid.__warnwintext
}

Enrique

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003



The information contained in this e-mail message (and any attachment
transmitted herewith) is privileged and confidential and is intended for the
exclusive use of the addressee(s). If you are not an addressee, any
disclosure, reproduction, distribution or other dissemination or use of this
communication is strictly prohibited. If you have received this
communication in error, please contact us immediately so that we can correct
the error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030903/f93a8621/attachment.htm
Enrique Escolano

[GiDlist] WarnWinText

Post by Enrique Escolano »

Some GiD changes can create incompatibilities with old problemtype version.
For example, if your problemtype access directly to the widget name .gid.__warnwintext then for latests versions
this name has changed to .gid.warning . It's dangerous for future compatibility to access directly to undocummented GiD procedures,
it's best to use some documented interface function (if exists) .
I added for example a procedure CloseWarnWinText to close this window without use the widget name (If a next GiD version change this name, the problemtype not need to be updated)

A old problemtype can require a test, and perhaps small changes, to be used in the nexts GiD versions.

Enrique
----- Original Message -----
From: Mark Smith
To: 'gidlist at gatxan.cimne.upc.es'
Sent: Wednesday, September 03, 2003 4:27 PM
Subject: RE: [GiDlist] WarnWinText


Enrique
Thank you very much. That did the trick :-)
Mark

Just out of curiosity does this mean that my GiD6.3.0b application would not run correctly under an up to date GiD version?

-----Original Message-----
From: Enrique Escolano [mailto:escolano at cimne.upc.es]
Sent: 03 September 2003 15:01
To: gidlist at gatxan.cimne.upc.es
Subject: Re: [GiDlist] WarnWinText


For your old GiD 6.3.0b this window has another name: .gid.__warnwintext
use:

if { [winfo exists .gid.__warnwintext] } {
destroy .gid.__warnwintext
}

Enrique


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003





The information contained in this e-mail message (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an addressee, any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited. If you have received this communication in error, please contact us immediately so that we can correct the error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030903/ceb20d5b/attachment.htm
Post Reply