Re: Fast way to highlight a listbox entity selection

2019-04-15 Thread Justin Carr via 4D_Tech
On 16 Apr 2019, at 5:04 am, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hello, > > I'm looking for a fast way to highlight a selection of rows in an entity > selection listbox. The way I am aware of works OK unless the listbox gets a > large number of rows. > > Adding

Re: To generate events or not, that is the question

2019-04-15 Thread Sandor Szatmari via 4D_Tech
Chip, Thanks for you suggestions, I don't understand exactly how they help me yet, I may need to read/think about it more.   In the mean time… let me clarify the context in which the events/non-event occurs maybe this will help When creating a new subscription ADD RECORD is used to display

Re: From where is my form method called?

2019-04-15 Thread Sandor Szatmari via 4D_Tech
Yes, thanks, very helpful! Sandor Szatmari > On Apr 15, 2019, at 16:30, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Looks like you found it now. When you have many objects on a form, the way to > have 4D find the object, and select it is as follows: > > 1. Click on the form

Re: From where is my form method called?

2019-04-15 Thread Jody Bevan via 4D_Tech
Looks like you found it now. When you have many objects on a form, the way to have 4D find the object, and select it is as follows: 1. Click on the form window or form. 2. This brings forward the Property Listing dialog. 3. At the top of this dialog is a popup. 4. Click on this popup and it

Fast way to highlight a listbox entity selection

2019-04-15 Thread Keith Culotta via 4D_Tech
Hello, I'm looking for a fast way to highlight a selection of rows in an entity selection listbox. The way I am aware of works OK unless the listbox gets a large number of rows. Adding records to the Selected Items name in the Property list does not highlight the listbox contents. The

Re: To generate events or not, that is the question

2019-04-15 Thread Chip Scheide via 4D_Tech
Sandor, if I understand correctly, you are on the parent record entry form ([orders]) depending on how the [subscription] information is displayed may depend on how to get the code to run. 1st - place the code that needs to be run into new separate project method, so that it can be called from

Re: From where is my form method called?

2019-04-15 Thread Chip Scheide via 4D_Tech
Sandor, if you option/alt click on an object on a form.if the object is on the page you are on it opens the object method for editing; if however, you are on a different page the option/alt click will take you to the page the object lives on, and select the object clicked on. Chip On Mon, 15

Re: From where is my form method called?

2019-04-15 Thread Sandor Szatmari via 4D_Tech
Thanks Kirk! Sandor Szatmari Senior Software Developer Bristol Capital Inc. - InfoPlus 201 746 7215 www.infoplusonline.com From: Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> To: 4D iNug Technical <4d_tech@lists.4d.com> Cc: Kirk Brooks Sent: 4/15/2019 2:01 PM

To generate events or not, that is the question

2019-04-15 Thread Sandor Szatmari via 4D_Tech
So, now that I pinned down how the trigger the exact code segment I want, I am down to solving the actual problem Let me describe… there are two tables Orders and Subscriptions related as follows:    An order can have a related subscription record, making it a subscription…    Orders ->

Re: From where is my form method called?

2019-04-15 Thread Kirk Brooks via 4D_Tech
Sandor, You can open the form in the editor. At the top of the property list is a popup menu. It lists all the objects on the current page of the form. You can choose the object name from the popup and it will be selected. If there are a lot of pages you will have to go through them one at a time.

Re: From where is my form method called?

2019-04-15 Thread Sandor Szatmari via 4D_Tech
Thanks, the name was screaming button validation, but I could figure out how to select the UI item in the editor until I realized it was screen 0 of the form. Cheers, Sandor Szatmari Senior Software Developer Bristol Capital Inc. - InfoPlus 201 746 7215 www.infoplusonline.com

Re: From where is my form method called?

2019-04-15 Thread Sandor Szatmari via 4D_Tech
Thanks for the solutions, much appreciated. Sandor Szatmari Senior Software Developer Bristol Capital Inc. - InfoPlus 201 746 7215 www.infoplusonline.com From: Douglas von Roeder via 4D_Tech <4d_tech@lists.4d.com> To: 4D iNug Technical <4d_tech@lists.4d.com> Cc:

RE: v17 Print Settings in a form's Property List

2019-04-15 Thread David Ringsmuth via 4D_Tech
David, 4Dv17R4 has: Print Settings to Blob Blob to Print Settings https://doc.4d.com/4Dv17R4/4D/17-R4/Print-settings-to-BLOB.301-4055206.en.html https://doc.4d.com/4Dv17R4/4D/17-R4/BLOB-to-print-settings.301-4055236.en.html These combined with the name of the report being printed, the printer

Re: From where is my form method called?

2019-04-15 Thread Douglas von Roeder via 4D_Tech
Sandor: Yes - you can use the right mouse click and there’s also a menu item (can’t be more specific about when menu/item - not logged in to 4D at the moment). Once you get the code running in that OM, one thing to take advantage of in the debugger is the menu items in the contextual menu (the

Re: From where is my form method called?

2019-04-15 Thread cjmiller--- via 4D_Tech
Only through the name you always have a clue based upon name. As it lists form first. So you can load the form and check from there Regards Chuck Sent from my iPhone > On Apr 15, 2019, at 12:18 PM, Sandor Szatmari via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > OK, so, one of those cases

Re: From where is my form method called?

2019-04-15 Thread Douglas von Roeder via 4D_Tech
Sandor: The object method is in this object: [MyObject].MyObjectDetail.bValidate Which is [tablename].formname.objectname. Off the top of my head, I can think of three ways to find that. 1 - Find in design for object name. When 4D displays the search results, double click on an entry to open

Re: From where is my form method called?

2019-04-15 Thread Sandor Szatmari via 4D_Tech
OK, so, one of those cases where you need to send the email in order to find the solution. I had to go to page zero of the form to be able to highlight the 'accept' button and its method is the bValidate. But, in general, is there a way to say 'show me the object that calls this method?'

From where is my form method called?

2019-04-15 Thread Sandor Szatmari via 4D_Tech
I have a form method [MyObject].MyObjectDetail.bValidate How can I find what form object this method is attached to? It looks like it's a button validation from the name, but I'm guessing. Is there a way to reveal the object to which this method is attached? Thanks, Sandor Szatmari