Hi Kirk,
Thanks for your input, too.
I can explain what I have done to this point with my [UIClass] & [UIObjects]
tables.
Everything is done using ORDA. All the ‘variables’ are Form objects (i.e.
‘Form.curClassEdit.Note’ type things).
Unfortunately, iNUG still does not support anything other
Hi Chris,
I apologize for such a late response. I left on a road trip about the time
you sent this and frankly forgot to get back to you. Your enthusiasm is
infectious. And you describe some excellent applications. I haven't played
with OBJECT SET LIST BY REFERENCE yet... Thank you for the tips.
Hi Justin,
Just to let you know, that SET TIMER() trick just came in handy in another
situation.
There is a weird thing that in the Form's on Load event,
LISTBOX SORT COLUMNS(*;$LB_Name;$ColSortBy;<) // this is doing a reverse sort
on the sort column
would not sort the records in reverse,
Greetings Kirk,
I have been programming in 4D since version 2 back in the early 1990’s. Though
v14 was possibly going to become the end of my ‘career’ with 4D. And then v17
came out with ORDA. I love it.
I have a fresh enthusiasm for 4D again.
I am using 4D v17r4; getting right up-to-speed on
Chris,
Thanks for the insight. It sounds like you are working with classic 4D code
(even if you're using v17). Let me encourage you to think about re-writing
your form using v17. I think most of the issues requiring elaborate
workarounds won't be necessary.
Positioning objects on the form. You
the replies I'm trying to think of what a
> > 'custom event' would be. Can you give an example or two?
> >
> > On Tue, Apr 23, 2019 at 7:33 AM Chris Belanger via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> >> I am wondering if there is a way to configure
Chris Belanger:
> One simple instance I want to experiment on — which, of course, is trivial,
> is:
>
> I have three fields (actually object attributes)
> City
> Province (or State)
> FullCityName
>
> FullCityName is computed from City & Province
> : (City = “”) —> FullCityName := “”
>
to think of what a
> 'custom event' would be. Can you give an example or two?
>
> On Tue, Apr 23, 2019 at 7:33 AM Chris Belanger via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> I am wondering if there is a way to configure Custom Form Events. I would
>> lik
Hi Justin,
Thanks for the observations. I never thought about using a SET TIMER(-1) to
make something run immediately after On Load is done. It is true that many
objects are not ‘existent’ by the On Load cycle and that causes me some
problems in trying to make code that is as generic as
Hi Chris
We use SET TIMER(-1) a lot for this purpose. It is ideal when you want to do
something as part of On Load but you need the On Load execution cycle to finish
first before you do the next thing, e.g. you need to know the size and position
of an object on a form before you take some
Chris,
Reading through your post and the replies I'm trying to think of what a
'custom event' would be. Can you give an example or two?
On Tue, Apr 23, 2019 at 7:33 AM Chris Belanger via 4D_Tech <
4d_tech@lists.4d.com> wrote:
> I am wondering if there is a way to configure Custom Form
Chris:
IIRC, it was Olivier DesChanels who published that. You might drop him a
line - he’s on the Forum.
--
Douglas von Roeder
949-336-2902
On Tue, Apr 23, 2019 at 8:40 AM Douglas von Roeder
wrote:
> Chris:
> Could well be Set timer(-1) - that was on the 4D forum a few years back. I
>
Chris:
Could well be Set timer(-1) - that was on the 4D forum a few years back. I
haven’t tried approach, personally.
--
Douglas von Roeder
949-336-2902
On Tue, Apr 23, 2019 at 8:24 AM Chris Belanger via 4D_Tech <
4d_tech@lists.4d.com> wrote:
> Douglas, that is an ingenious way to facilitate
Douglas, that is an ingenious way to facilitate it. I suppose one could use a
Form object (Form.myEvent) to specify the ‘event’ to perform.
But it seems that SET TIMER(-1) is what needs to be done [trigger as soon as
possible] and then SET TIMER(0) disables the triggering?
— Chris
> On Apr 23,
Chris:
Set timer (0) and then catch it in On timer.
--
Douglas von Roeder
949-336-2902
On Tue, Apr 23, 2019 at 8:17 AM Chris Belanger via 4D_Tech <
4d_tech@lists.4d.com> wrote:
> I have been using New formula too.
> In the context of ORDA-based forms, I have set up Form.onSave(),
>
I have been using New formula too.
In the context of ORDA-based forms, I have set up Form.onSave(),
Form.onLoad(), Form.onNew() etc. I like it because the code for record
selection and change can be generic with these ’nubs’.
I wish that one did not have to create a project method [for other
not really have to think about it
when coding.
Hope this helps. It is how we accomplish this.
Jody Bevan
> On Apr 23, 2019, at 8:32 AM, Chris Belanger via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
>
> I am wondering if there is a way to configure Custom Form Events. I would
> li
, Chris Belanger via 4D_Tech wrote:
> I am wondering if there is a way to configure Custom Form Events. I
> would like to be able to post a form event, and have it then
> processed within the FORM METHOD as such.
> I am doing a lot of work in “Orda context” right now and can think
>
I am wondering if there is a way to configure Custom Form Events. I would like
to be able to post a form event, and have it then processed within the FORM
METHOD as such.
I am doing a lot of work in “Orda context” right now and can think of some
handy features that could be implemented
19 matches
Mail list logo