editGroup message?

J. Landman Gay jacque at hyperactivesw.com
Wed Sep 19 02:03:25 EDT 2018


The editBackground property is global, you're either in it or not. So just 
setting editBackground to false will pop you out of it, and won't do 
anything if it's already false. Given the use case, that's probably enough.

--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 18, 2018 11:13:33 PM Brian Milby via use-livecode 
<use-livecode at lists.runrev.com> wrote:

> Now that I think about it a little more, I could figure it out as long as
> there is a control in the group...
>
> local tID, tGroup
> put the id of control 1 into tID
> stop editing
> put the long id of the owner of control id tID into tGroup
>
> later on, should be able to...
>
> start editing tGroup
>
> At least it works in the message box.
>
> Brian
>
> On Tue, Sep 18, 2018 at 10:26 PM Tom Glod via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> hmmm.... i'm sure there is some way to find out .... the engine has to know
>> which group is being edited...just have to find the engine property
>> ....could be an undocumented one.  Isn't there a stack that lists engine
>> properties?  haven't seen it in years but I think I recall something like
>> that.
>>
>> maybe someone will know offhand.
>>
>> On Tue, Sep 18, 2018 at 11:16 PM Brian Milby via use-livecode <
>> use-livecode at lists.runrev.com> wrote:
>>
>> > I ran into this with ScriptTracker. I just disable the mode there. I
>> > looked at how to preserve and restore the setting, but didn’t find it at
>> > the time. I could tell if the mode was enabled, but not which background
>> > was being edited to restore afterwards.
>> >
>> > Thanks,
>> > Brian
>> > On Sep 18, 2018, 9:30 PM -0500, Tom Glod via use-livecode <
>> > use-livecode at lists.runrev.com>, wrote:
>> > > I don't think there is a msg but
>> > >
>> > > the editbg of stack "Mystack" = true when in editing mode.
>> > >
>> > > On Tue, Sep 18, 2018 at 7:18 PM doc hawk via use-livecode <
>> > > use-livecode at lists.runrev.com> wrote:
>> > >
>> > > > When choosing "edit group" from the toolbar (or otherwise), is there
>> an
>> > > > "editGroup" or similar message sent that I can intercept?
>> > > >
>> > > > In particular, I want to set a flag that my auto-save routines can
>> > catch,
>> > > > as saving while in edit group knocks that mod out, sometimes with
>> > oddball
>> > > > effects.
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > Dr. Richard E. Hawkins, Esq.
>> > > > (702) 508-8462
>> > > > _______________________________________________
>> > > > use-livecode mailing list
>> > > > use-livecode at lists.runrev.com
>> > > > Please visit this url to subscribe, unsubscribe and manage your
>> > > > subscription preferences:
>> > > > http://lists.runrev.com/mailman/listinfo/use-livecode
>> > > >
>> > > _______________________________________________
>> > > use-livecode mailing list
>> > > use-livecode at lists.runrev.com
>> > > Please visit this url to subscribe, unsubscribe and manage your
>> > subscription preferences:
>> > > http://lists.runrev.com/mailman/listinfo/use-livecode
>> > _______________________________________________
>> > use-livecode mailing list
>> > use-livecode at lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> > subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-livecode
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode







More information about the use-livecode mailing list