Re: OBJECT SET EVENTS

2017-06-21 Thread Christian Sakowski via 4D_Tech
This is a very long feature request. What you actually suggest is: FORM SAVE.
--

Grüße/Regards,
[heubach-media] | Christian Sakowski
christian.sakow...@heubach-media.de
iChat/AIM: SakowskiF
Tel: +49/(0)40/52 10 59-23



> Am 21.06.2017 um 00:08 schrieb Jim Medlen via 4D_Tech <4d_tech@lists.4d.com>:
> 
> 
> Can Form Events for an object be permanently changed via a method ?
> 
> Is it possible to write a method that will loop through all forms and clear
> the
> On Clicked event for every instance of a specific variable permanently  ?
> 
> (incomplete method as an example idea)
> 
> FORM GET NAMES(atForm_Names)
> 
> For(vi1;1;Size of Array(atForm_Names))
> FORM LOAD([tableName]; atForm_Names{vi1})
> ARRAY LONGINT(MyEvents;0)
> Append to Array(MyEvents;On Clicked)
> OBJECT SET EVENTS("srKeyword";MyEvents;Disable events others unchanged)
> FORM UNLOAD
> End for
> 
> 
> 
> Thanks,
> 
> Jim Medlen
> Computer & Information Systems
> Functional Devices, Inc.
> j.med...@functionaldevices.com
> phone (765) 883-5538 x 428
> fax (765) 883-4262
> http://www.functionaldevices.com
> 
> This email was transmitted on 100 percent recycled electrons
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **


--
heubach media
Osterfeldstr. 12-14 | Haus 1 | Eingang Nord
22529 Hamburg
tel: 040 / 52 10 59 - 10 | fax: -99
mail: i...@heubach-media.de
home: www.heubach-media.de
Geschäftsführer|CEO: Matthias Heubach

Mieten Sie Ihre Computer, iPads & Drucker für Ihre Events bei:
http://www.milo-rental.com

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.
 
This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

OBJECT SET EVENTS

2017-06-20 Thread Jim Medlen via 4D_Tech

Can Form Events for an object be permanently changed via a method ?

Is it possible to write a method that will loop through all forms and clear
the
On Clicked event for every instance of a specific variable permanently  ?

(incomplete method as an example idea)

FORM GET NAMES(atForm_Names)

For(vi1;1;Size of Array(atForm_Names))
 FORM LOAD([tableName]; atForm_Names{vi1})
 ARRAY LONGINT(MyEvents;0)
 Append to Array(MyEvents;On Clicked)
 OBJECT SET EVENTS("srKeyword";MyEvents;Disable events others unchanged)
FORM UNLOAD
End for



Thanks,

Jim Medlen
Computer & Information Systems
Functional Devices, Inc.
j.med...@functionaldevices.com
phone (765) 883-5538 x 428
fax (765) 883-4262
http://www.functionaldevices.com

This email was transmitted on 100 percent recycled electrons



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**