Re: Tab into subform containers and GOTO OBJECT
Hi Kirk, > Does sound pretty complex. Yep! > Well two thoughts. First, you can use an object array in a listbox without > 4D WritePro or anything else - you just can't display them directly. First I implemented my original design using List box columns working with object arrays. My version very much acts like the property editor in design. http://livedoc.4d.com/4D-Language-Reference-16-R4/List-Box/Using-object-arrays-in-columns-4D-View-Pro.300-3317571.en.html Actually if you need to use them in a client-server setup you will need separate licenses for each user to utilize the behavior. I tried to get 4D to make this one feature native to 4D but they said it’s not possible. Additionally there are limits to what I can do in a cell. So to avoid the first issue and expand my UI possibilities I am rewriting months of work. Thus where I have arrived! And still trying to understand the ins and outs of multi-level deep subforms. > Second is I worked out a routine to put c-objects into an hList and allow > the user to edit the values if you prefer to look at it like a c-obj. I'll > be sharing that at my presentation in DC. I would’ve also created a session for DC but my son’s wedding redirected my time and resources. I was going to show/explain my property editor and then the panel approach as well. But alas… I love objects! They allow me to create organized messes - much like my desk - where I can get a moot done! JOhn… ** 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 **
Re: Tab into subform containers and GOTO OBJECT
John, Yep, it does make sense. Does sound pretty complex. On Thu, Nov 30, 2017 at 12:27 PM, truegold via 4D_Tech <4d_tech@lists.4d.com > wrote: > I had it all worked out (prior to last 4D world) using Object arrays. Then > I found out that I will need to have a licenses for 4D Spreadsheet (or > whatever they call it) to use them. Think 4D property editor and that’s > what I created. > Well two thoughts. First, you can use an object array in a listbox without 4D WritePro or anything else - you just can't display them directly. But so what? I use an object array frequently in listboxes. Make it the {1} column and invisible. If I understand what you want to do add two columns: one for the key and one for the value and make them both text. Now you can just loop through the rows and write the key and the value (as text). When the user changes something you just update the c-obj in the #1 column. Second is I worked out a routine to put c-objects into an hList and allow the user to edit the values if you prefer to look at it like a c-obj. I'll be sharing that at my presentation in DC. So now I am redoing it using panes=subform but there will be at least three > separate palettes which house the panes. And I like this approach because > then I can include richer UI objects like sliders and the like. > > I am trying to create something like an Inspector functionally similar to > what you will see in OmniGraffle or Curio or many other apps. > Interesting. I'd like to see it in action sometime. -- Kirk Brooks San Francisco, CA === *The only thing necessary for the triumph of evil is for good men to do nothing.* *- Edmund Burke* ** 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 **
Re: Tab into subform containers and GOTO OBJECT
Hi Kirk, Sure I have a parent form that is made up (currently) of a toolbar, an area for svg drawing, a tab control and a subform container which holds other subform containers. Within the subform container it contains a palette subform container and within this contains depending upon the page, various subforms and on those subforms they might also contain another subform of a widget. In this App I am creating templates that will be reused for my needs. Each template has hundreds of customized properties that effect the drawing of the svg image. It’s quite complicated! I had it all worked out (prior to last 4D world) using Object arrays. Then I found out that I will need to have a licenses for 4D Spreadsheet (or whatever they call it) to use them. Think 4D property editor and that’s what I created. So now I am redoing it using panes=subform but there will be at least three separate palettes which house the panes. And I like this approach because then I can include richer UI objects like sliders and the like. I am trying to create something like an Inspector functionally similar to what you will see in OmniGraffle or Curio or many other apps. Does that make sense? John... > Hi John, > I'm curious what the situation is for having multiple embedded subforms > beyond things like widgets for dates and such. Care to talk a little about > what you need to do or why stacked subforms was your choice for it? > > On Wed, Nov 29, 2017 at 5:11 PM, truegold via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >> Parent form: subform container1 -> subform container2 -> Subform (here’s >> where I want to set GOTO OBJECT) ** 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 **
Re: Tab into subform containers and GOTO OBJECT
Hi John, I'm curious what the situation is for having multiple embedded subforms beyond things like widgets for dates and such. Care to talk a little about what you need to do or why stacked subforms was your choice for it? On Wed, Nov 29, 2017 at 5:11 PM, truegold via 4D_Tech <4d_tech@lists.4d.com> wrote: > Parent form: subform container1 -> subform container2 -> Subform (here’s > where I want to set GOTO OBJECT) > -- Kirk Brooks San Francisco, CA === *The only thing necessary for the triumph of evil is for good men to do nothing.* *- Edmund Burke* ** 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 **
Re: Tab into subform containers and GOTO OBJECT
Hi Miyako, Taking a clue from your thoughts I added an On Deactivate in the form method of the Subform and it seems to work. But now I lose the tabbing out of the subform to other objects on the form. This fix has the effect of remaining inside the subform as thought it were the only object that existed on the form. In this case maybe that will still work. But there must be an event that would allow me to escape from the subform? Thanks, John... > I might have misunderstood your question, if that is the case, please ignore. > > On Getting Focus on the Container corresponds to On Activate in the Subform. > On Losing Focus on the Container corresponds to On Deactivate in the Subform. > > this is documented (Form event). > > I can get an On Getting Focus event on subform container2 but not into the > Subform. ** 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 **
Re: Tab into subform containers and GOTO OBJECT
Hi All, So… In subform container2 I have added the command: EXECUTE METHOD IN SUBFORM($sbfm_Name;"PNL_General_GOTO";*) And in the method I have a single call: GOTO OBJECT(varName) The execute method seems to be working (I can tell in trace mode) as it is called when subform container2 is in focus. But the object is not selected! In fact I can modify the value of the variable and see the change each time the subform container2 is in focus. varName:= varName +"." GOTO OBJECT(varName) Vincent de Lachaux explained something similar for someone who was replacing a Post Click command… The subform container must be set "Focusable". Then, when the container get the focus the form event "On Activate" is triggered. So when the subform get this event, just do a GOTO object. I tried this and I can update the variables contents but GOTO object does not simulate a click into the variable. Any other ideas? John... > Hi Peter, > > Yea, I can’t figure it out the correct command. It’s easy to get the focus on > the container but then I have not been able to figure out what command to use > to communicate with the subform . > > In fact I changed the form so the only object that was table and focusable > was the subform container1. But tabbing just selects the container. > > Anyway, I will persevere as there has got to be a way. > > Thanks, > John... > >> Probably not. I was able to do this by calling subform in On losing focus >> and then let subform execute GOTO OBJECT. As I need to jump from subform to >> subform, messaging need to go through parent area. I do not know if it >> would work with subforms in subforms. >> > >> On Getting Focus on the Container corresponds to On Activate in the Subform. >> On Losing Focus on the Container corresponds to On Deactivate in the >> Subform. >> >> this is documented (Form event). >> >> I can get an On Getting Focus event on subform container2 but not into the >> Subform. > >> Hi All, >>> >>> This is kind of like the thread that ran "subforms and object focus” when >>> opening the parent form. >>> >>> In my case I have a parent form open already and I am tabbing from object >>> to object. What I want to happen is when I tab to subform container1 I want >>> the first object (or some object of choice) within it to be selected and >>> ready for edit. >>> >>> That parent level subform container1 is the holder of another subform >>> container2 (because I need to swap subforms within here) which then >>> contains the subform where I want to set the goto object. >>> >>> Parent form: subform container1 -> subform container2 -> Subform (here’s >>> where I want to set GOTO OBJECT) >>> >>> I can get an On Getting Focus event on subform container2 but not into the >>> Subform. So then I need to trick the subform to respond to an event. But >>> this doesn’t work: >>> >>> EXECUTE METHOD IN SUBFORM($sbfm_Name;"PNL_General";*) >>> >>> The only way I can get it to select a field or variable is to click within >>> the subform container object. >>> >>> So… I must be missing something? >>> >>> Thanks, >>> John… >>> >> >> ** 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 **
Re: Tab into subform containers and GOTO OBJECT
Hi Peter, Yea, I can’t figure it out the correct command. It’s easy to get the focus on the container but then I have not been able to figure out what command to use to communicate with the subform . In fact I changed the form so the only object that was table and focusable was the subform container1. But tabbing just selects the container. Anyway, I will persevere as there has got to be a way. Thanks, John... > Probably not. I was able to do this by calling subform in On losing focus > and then let subform execute GOTO OBJECT. As I need to jump from subform to > subform, messaging need to go through parent area. I do not know if it > would work with subforms in subforms. > > On Getting Focus on the Container corresponds to On Activate in the Subform. > On Losing Focus on the Container corresponds to On Deactivate in the Subform. > > this is documented (Form event). > > I can get an On Getting Focus event on subform container2 but not into the > Subform. > Hi All, >> >> This is kind of like the thread that ran "subforms and object focus” when >> opening the parent form. >> >> In my case I have a parent form open already and I am tabbing from object to >> object. What I want to happen is when I tab to subform container1 I want the >> first object (or some object of choice) within it to be selected and ready >> for edit. >> >> That parent level subform container1 is the holder of another subform >> container2 (because I need to swap subforms within here) which then contains >> the subform where I want to set the goto object. >> >> Parent form: subform container1 -> subform container2 -> Subform (here’s >> where I want to set GOTO OBJECT) >> >> I can get an On Getting Focus event on subform container2 but not into the >> Subform. So then I need to trick the subform to respond to an event. But >> this doesn’t work: >> >> EXECUTE METHOD IN SUBFORM($sbfm_Name;"PNL_General";*) >> >> The only way I can get it to select a field or variable is to click within >> the subform container object. >> >> So… I must be missing something? >> >> Thanks, >> John… >> > > ** 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 **
Re: Tab into subform containers and GOTO OBJECT
I might have misunderstood your question, if that is the case, please ignore. On Getting Focus on the Container corresponds to On Activate in the Subform. On Losing Focus on the Container corresponds to On Deactivate in the Subform. this is documented (Form event). I can get an On Getting Focus event on subform container2 but not into the Subform. ** 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 **
Tab into subform containers and GOTO OBJECT
Hi All, This is kind of like the thread that ran "subforms and object focus” when opening the parent form. In my case I have a parent form open already and I am tabbing from object to object. What I want to happen is when I tab to subform container1 I want the first object (or some object of choice) within it to be selected and ready for edit. That parent level subform container1 is the holder of another subform container2 (because I need to swap subforms within here) which then contains the subform where I want to set the goto object. Parent form: subform container1 -> subform container2 -> Subform (here’s where I want to set GOTO OBJECT) I can get an On Getting Focus event on subform container2 but not into the Subform. So then I need to trick the subform to respond to an event. But this doesn’t work: EXECUTE METHOD IN SUBFORM($sbfm_Name;"PNL_General";*) The only way I can get it to select a field or variable is to click within the subform container object. So… I must be missing something? Thanks, John… ** 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 **
Re: GOTO OBJECT
Until now the unique solution that work is: Create one button with GOTO OBJECT and the command POST CLICK Thanks Ferdinando Il 02/05/2017 16:35, Chip Scheide ha scritto: how about: - call process(-1) - form method :(from event = on outside call) goto aboject(entry area) On Tue, 2 May 2017 10:18:03 +0200, stardata.info via 4D_Tech wrote: /Thanks for your suggestion, but i need to use alert because the form window is already great and full, and i need to display some informations. I have even need to open the window for show other informations, and when i close the windows have always the issue, lost focus I have this issue even if i use one pop_up. in this case the input variable remain focused but is not possible enter a values until i not click on. Not exist any other solution? Thanks Ferdinando / Il 02/05/2017 09:52, 4d_tech-requ...@lists.4d.com ha scritto: Message: 12 Date: Tue, 2 May 2017 09:50:35 +0200 From: "Flury Olivier"<o...@vtxnet.ch> To: "'4D iNug Technical'"<4d_tech@lists.4d.com> Subject: AW: GOTO OBJECT Message-ID:<000701d2c318$c8873020$59959060$@vtxnet.ch> Content-Type: text/plain; charset="utf-8" Hi Ferdinando, Instead of an Alert create a text area on your form, make it big and red and use OBJECT SET TITLE and OBJECT SET VISIBLE in case of an alert. Best, Olivier -Ursprüngliche Nachricht- Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von stardata.info via 4D_Tech Gesendet: Dienstag, 2. Mai 2017 09:11 An:4d_tech@lists.4d.com Cc: stardata.info<stard...@stardata.info> Betreff: GOTO OBJECT Hi All, I use 4D V13 on windows. I have one layout where i manage one serial readings of bar codes. In the layout there is unic input variable, after every reading i force to remain into this field, using the command GOTO OBJECT. Work well until i must open a ALERT command for one segnalation. After the command ALERT the focus is not on the input variable. Someone have idea for to solve? Thanks Ferdinando ** 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 ** --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 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 **
Re: GOTO OBJECT
I try but not work. Now i try to insert one button and use PST CLICK command Thanks Ferdinando Il 02/05/2017 16:35, Chip Scheide ha scritto: how about: - call process(-1) - form method :(from event = on outside call) goto aboject(entry area) On Tue, 2 May 2017 10:18:03 +0200, stardata.info via 4D_Tech wrote: /Thanks for your suggestion, but i need to use alert because the form window is already great and full, and i need to display some informations. I have even need to open the window for show other informations, and when i close the windows have always the issue, lost focus I have this issue even if i use one pop_up. in this case the input variable remain focused but is not possible enter a values until i not click on. Not exist any other solution? Thanks Ferdinando / Il 02/05/2017 09:52, 4d_tech-requ...@lists.4d.com ha scritto: Message: 12 Date: Tue, 2 May 2017 09:50:35 +0200 From: "Flury Olivier"<o...@vtxnet.ch> To: "'4D iNug Technical'"<4d_tech@lists.4d.com> Subject: AW: GOTO OBJECT Message-ID:<000701d2c318$c8873020$59959060$@vtxnet.ch> Content-Type: text/plain; charset="utf-8" Hi Ferdinando, Instead of an Alert create a text area on your form, make it big and red and use OBJECT SET TITLE and OBJECT SET VISIBLE in case of an alert. Best, Olivier -Ursprüngliche Nachricht- Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von stardata.info via 4D_Tech Gesendet: Dienstag, 2. Mai 2017 09:11 An:4d_tech@lists.4d.com Cc: stardata.info<stard...@stardata.info> Betreff: GOTO OBJECT Hi All, I use 4D V13 on windows. I have one layout where i manage one serial readings of bar codes. In the layout there is unic input variable, after every reading i force to remain into this field, using the command GOTO OBJECT. Work well until i must open a ALERT command for one segnalation. After the command ALERT the focus is not on the input variable. Someone have idea for to solve? Thanks Ferdinando ** 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 ** --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 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 **
AW: GOTO OBJECT
Have you the "On Timer" event still "free"? If yes: try to set a timer right after the alert and goto object in the timer event. Helps sometimes. Other idea: create your own alert msg, you may have more control on what is going on. And one last idea: create an invisible button. Goto object to this button after the alert. The button fires on on getting focus and does the goto object back to the variable where you want it to be. Or, as suggested by Vincent: on activate. But this is sometimes tricky to debug... -Ursprüngliche Nachricht- Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von stardata.info via 4D_Tech Gesendet: Dienstag, 2. Mai 2017 10:18 An: 4d_tech@lists.4d.com Cc: stardata.info <stard...@stardata.info> Betreff: GOTO OBJECT /Thanks for your suggestion, but i need to use alert because the form window is already great and full, and i need to display some informations. I have even need to open the window for show other informations, and when i close the windows have always the issue, lost focus I have this issue even if i use one pop_up. in this case the input variable remain focused but is not possible enter a values until i not click on. Not exist any other solution? Thanks Ferdinando / > Il 02/05/2017 09:52, 4d_tech-requ...@lists.4d.com ha scritto: >> Message: 12 >> Date: Tue, 2 May 2017 09:50:35 +0200 >> From: "Flury Olivier"<o...@vtxnet.ch> >> To: "'4D iNug Technical'"<4d_tech@lists.4d.com> >> Subject: AW: GOTO OBJECT >> Message-ID:<000701d2c318$c8873020$59959060$@vtxnet.ch> >> Content-Type: text/plain;charset="utf-8" >> >> Hi Ferdinando, >> >> Instead of an Alert create a text area on your form, make it big and red and >> use OBJECT SET TITLE and OBJECT SET VISIBLE in case of an alert. >> >> Best, >> >> Olivier >> >> -Ursprüngliche Nachricht- >> Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von >> stardata.info via 4D_Tech >> Gesendet: Dienstag, 2. Mai 2017 09:11 An:4d_tech@lists.4d.com >> Cc: stardata.info<stard...@stardata.info> >> Betreff: GOTO OBJECT >> >> Hi All, >> >> I use 4D V13 on windows. >> I have one layout where i manage one serial readings of bar codes. >> >> In the layout there is unic input variable, after every reading i force to >> remain into this field, using the command GOTO OBJECT. >> Work well until i must open a ALERT command for one segnalation. After the >> command ALERT the focus is not on the input variable. >> Someone have idea for to solve? >> >> Thanks >> Ferdinando > ** 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 **
GOTO OBJECT
/Thanks for your suggestion, but i need to use alert because the form window is already great and full, and i need to display some informations. I have even need to open the window for show other informations, and when i close the windows have always the issue, lost focus I have this issue even if i use one pop_up. in this case the input variable remain focused but is not possible enter a values until i not click on. Not exist any other solution? Thanks Ferdinando / Il 02/05/2017 09:52, 4d_tech-requ...@lists.4d.com ha scritto: Message: 12 Date: Tue, 2 May 2017 09:50:35 +0200 From: "Flury Olivier"<o...@vtxnet.ch> To: "'4D iNug Technical'"<4d_tech@lists.4d.com> Subject: AW: GOTO OBJECT Message-ID:<000701d2c318$c8873020$59959060$@vtxnet.ch> Content-Type: text/plain; charset="utf-8" Hi Ferdinando, Instead of an Alert create a text area on your form, make it big and red and use OBJECT SET TITLE and OBJECT SET VISIBLE in case of an alert. Best, Olivier -Ursprüngliche Nachricht- Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von stardata.info via 4D_Tech Gesendet: Dienstag, 2. Mai 2017 09:11 An:4d_tech@lists.4d.com Cc: stardata.info<stard...@stardata.info> Betreff: GOTO OBJECT Hi All, I use 4D V13 on windows. I have one layout where i manage one serial readings of bar codes. In the layout there is unic input variable, after every reading i force to remain into this field, using the command GOTO OBJECT. Work well until i must open a ALERT command for one segnalation. After the command ALERT the focus is not on the input variable. Someone have idea for to solve? Thanks Ferdinando ** 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 **
AW: GOTO OBJECT
Hi Ferdinando, Instead of an Alert create a text area on your form, make it big and red and use OBJECT SET TITLE and OBJECT SET VISIBLE in case of an alert. Best, Olivier -Ursprüngliche Nachricht- Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von stardata.info via 4D_Tech Gesendet: Dienstag, 2. Mai 2017 09:11 An: 4d_tech@lists.4d.com Cc: stardata.info <stard...@stardata.info> Betreff: GOTO OBJECT Hi All, I use 4D V13 on windows. I have one layout where i manage one serial readings of bar codes. In the layout there is unic input variable, after every reading i force to remain into this field, using the command GOTO OBJECT. Work well until i must open a ALERT command for one segnalation. After the command ALERT the focus is not on the input variable. Someone have idea for to solve? Thanks Ferdinando ** 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 **