Re: Change menu title
Ferdinando: I have never changed the name, I have only ever added, or removed menus. Maybe you need to wipe out the menu and recreate it. Not sure - sorry. Jody > On Jan 20, 2020, at 3:19 PM, stardata.info via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi Jody, > > Actually I use the command: SET MENU ITEM to change the text in the item > menu, exists one command to change the text in menu name? > In manual creation, I can change it, but if I need to change it using one > command how I can this? > > Thanks > Ferdinando > > Message: 5 > Date: Mon, 20 Jan 2020 11:40:12 -0600 > From: Jody Bevan > To: 4D iNug Technical<4d_tech@lists.4d.com> > Subject: Re: Change menu title > Message-ID:<89ce21d2-6628-4567-a715-edecd24cc...@gmail.com> > Content-Type: text/plain; charset=us-ascii > > Ferdinando: > > How did you create your menus. With version 16 there are two ways to create > your menus. > > 1. Traditional graphical tool way > 2. Using a purely code way. > > Thus if #1: > Go to Menu: Design -> Toolbox -> Menus > In the graphical tool find the menu title you would like to change and change > them there. > > If using #2: > > Go to the method(s) that create the menus for the application. Change the > title in this location. Hopefully the menus are all created in 1 method so > you do not need to find all occurrences of menu changes. > > Jody Bevan > Argus Productions Inc. > > ** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Select row in entity selection listbox
Miyako, Thanks, but that’s not the issue. Listbox 1 is an entity selection of messages. One row has been clicked, and I know (from current item) what the selection is. One of the attributes of the selection is the number of the contact who sent or received the message. Listbox 2 contains an entity selection of contacts (names and numbers). When a message is selected in LB1, I want to highlight in LB2 the contact related to the message. How do I find out which row to specify in LISTBOX SELECT ROW(*;”LB2”;…)? They’re both single-select boxes. Jeremy > On 21 Jan 2020, at 11:53, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > if the listbox is single-select, you can use LISTBOX GET CELL POSITION to get > the row number, > then check that the "current item" is not Null to verify whether the current > row was selected or unselected. > (remember, you can unselect a row by shift-click or command click) > > although collection-type listboxes offer 3 automated properties (current > item, position, selection) > I find that it is often easier to use only the "current item" object and > leave the other two blank. > using the current position or selection property often defeats selection by > code, > commands such as LISTBOX SELECT ROW. > > you'd need a different setup for a multi-select listbox. > >> 2020/01/21 17:29、Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com>のメール: >> Yet again, if this is obvious, please excuse me: this is my first project >> using only ORDA. 4Dv18. > > > > > ** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Change menu title
sorry, I haven't worked on this exact scenario. maybe after updating the menu text, you need to call SET MENU BAR again? > 2020/01/21 6:19、stardata.info via 4D_Tech <4d_tech@lists.4d.com>のメール: > In manual creation, I can change it, but if I need to change it using one > command how I can this? ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Select row in entity selection listbox
if the listbox is single-select, you can use LISTBOX GET CELL POSITION to get the row number, then check that the "current item" is not Null to verify whether the current row was selected or unselected. (remember, you can unselect a row by shift-click or command click) although collection-type listboxes offer 3 automated properties (current item, position, selection) I find that it is often easier to use only the "current item" object and leave the other two blank. using the current position or selection property often defeats selection by code, commands such as LISTBOX SELECT ROW. you'd need a different setup for a multi-select listbox. > 2020/01/21 17:29、Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com>のメール: > Yet again, if this is obvious, please excuse me: this is my first project > using only ORDA. 4Dv18. ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Select row in entity selection listbox
I have a form with two entity selection listboxes. One shows all messages ever sent from or to an account; the other, a list of that account’s contacts. When a message is selected, I want to highlight the appropriate contact. I can find the contact, of course; how do I find the row number so I can call LISTBOX SELECT ROW in the contacts listbox? Yet again, if this is obvious, please excuse me: this is my first project using only ORDA. 4Dv18. Thanks. Jeremy ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **